[data-theme=dark] {
    --bs-secondary-bg: #151515;
    --bs-secondary-bg-rgb: 21, 21, 21;
}

:root {
    --bs-primary: var(--primary-color, #FE9B40);
    --bs-primary-rgb: 255, 165, 0;
    --bs-body-bg: var(--primary-color, #FE9B40);
    --bs-body-bg-rgb: 254, 155, 64;
}

body[data-theme=dark] {
    background-color: var(--primary-color, #FE9B40) !important;
}

body {
    background-color: var(--primary-color, #FE9B40) !important;
}

html {
    background-color: var(--primary-color, #FE9B40) !important;
}

.sticky-footer html,
.sticky-footer body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#app {
    flex: 1 0 auto;
}

.header {
    position: relative;
}

.header::after {
    content: none;
    display: none;
}

.content {
    margin-top: 15rem;
    margin-bottom: 5rem;
    position: static;
    z-index: auto;
}

a {
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.home-header {
    position: relative;
    height: calc(100vh - 140px);
    min-height: 450px;
    overflow: hidden;
}

.home-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit; 
    filter: blur(8px);
    -webkit-filter: blur(8px);
    transform: scale(1.03);
    z-index: 1;
    pointer-events: none;
}

.home-banner-logo {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    transform: scale(2);
    transform-origin: center;
}

.home-banner-wrap {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 84px;
}

.home-banner-wrap::before {
    content: "";
    position: absolute;
    inset: -10% -12%;
    background: rgba(255,255,255,0.08);
    filter: blur(60px);
    -webkit-filter: blur(60px);
    border-radius: 32px;
    z-index: 0;
}

.home-banner-wrap img {
    position: relative;
    z-index: 1;
}

/* Decorative elements */
.deco { position: absolute; pointer-events: none; user-select: none; }
.deco-folia-top { right: -18px; top: -18px; width: 64px; transform: rotate(6deg) scaleX(-1); opacity: 0.9; }
.deco-folia-bottom { left: -16px; bottom: -16px; width: 58px; transform: rotate(-8deg); opacity: 0.85; }
.deco-folia-mini { right: -22px; bottom: -22px; width: 50px; transform: rotate(14deg) scaleX(-1); opacity: 0.9; }
.deco-discord-bfly-left { left: 110px; top: 22px; width: 50px; transform: scaleX(-1) rotate(-10deg); z-index: 2; }
.deco-discord-bfly-right { right: 110px; top: 68px; width: 46px; transform: rotate(14deg); z-index: 2; }
.deco-footer-bfly-left { position: absolute; left: 20px; bottom: 8px; width: 64px; transform: scaleX(-1) rotate(-10deg); pointer-events: none; z-index: 1; }
.deco-footer-bfly-right { position: absolute; right: 20px; top: -30px; bottom: auto; width: 60px; transform: rotate(8deg); pointer-events: none; z-index: 1; }
.deco-folia-news { right: -30px; top: -36px; width: 72px; transform: rotate(10deg); opacity: 0.9; }

.home-header-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1300px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 1; 
    pointer-events: none;
}

.home-header-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 2;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #14AF97;
    background: rgba(20, 175, 151, 0.12);
    border: 1px solid rgba(20, 175, 151, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-indicator:hover { color: #0f8e7b; }

@keyframes scroll-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* START FOOTER */
.footer {
    --bs-footer-bg: var(--bs-dark-bg-subtle);
}

.footer h3 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer .footer-site-title {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer .social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer .social-links a {
    color: var(--bs-body-color);
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: #14AF97;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: var(--bs-body-color);
    transition: color 0.3s ease;
}

.footer .list-unstyled a {
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.footer .footer-links-title {
    text-transform: uppercase;
    font-size: 2rem;
    letter-spacing: 1px;
}

.footer ul li a:hover {
    color: #14AF97;
} 

.footer[data-bs-theme="dark"] .text-body {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(44px);
    -webkit-backdrop-filter: blur(44px);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer .container {
    position: relative;
}

.footer .brand-accent {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: var(--primary-color, #FE9B40);
    border-radius: 6px;
}

.footer .footer-logo {
    max-height: 140px;
    width: auto;
    margin-top: 12px;
}

.footer a {
    color: rgba(255,255,255,0.85);
}

.footer a:hover {
    color: #14AF97;
}

.footer .list-unstyled li + li {
    margin-top: 8px;
}

.footer .copyright {
    color: rgba(255,255,255,0.7);
}

.footer .footer-description {
    color: rgba(255,255,255,0.82);
    max-width: 520px;
    margin: 8px auto 0 auto;
    line-height: 1.5;
}
/* END FOOTER */

/* START BUTTONS */
.btn,
.btn-primary {
    background: #14AF97 !important;
    border-color: #14AF97 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 0 #119f8a;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover,
.btn-primary:hover {
    background: #119f8a !important;
    border-color: #119f8a !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 0 #0d7e6d;
}

.btn:active,
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 0 #0f8e7b;
}

.btn:focus,
.btn-primary:focus {
    box-shadow: 0 4px 0 #119f8a, 0 0 0 0.15rem rgba(20, 175, 151, 0.25);
}

.btn-outline-primary {
    background: transparent !important;
    color: #14AF97 !important;
    border-color: #14AF97 !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.btn-outline-primary:hover {
    background: #14AF97 !important;
    color: #ffffff !important;
    border-color: #14AF97 !important;
}
/* END BUTTONS */

/* START DISCORD BLOCK */
.discord-section {
    margin-bottom: 6rem !important;
    margin-top: 120px;
}

.discord-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 16px;
    padding: 28px 32px;
}

.discord-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.discord-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.discord-join-btn {
    padding: 14px 22px;
    font-size: 1rem;
    letter-spacing: 0.6px;
    margin-top: 12px;
}

.ip-cta-btn { padding: 14px 22px; font-size: 1rem; letter-spacing: 0.6px; }
/* END DISCORD BLOCK */

/* START IP BLOCK */
.ip-section { 
    margin-top: -100px !important; 
}

.ip-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 24px 26px;
    position: relative;
}
.ip-left {
    display: flex;
    flex-direction: column;
    padding-bottom: 4px; 
    align-items: center;
    text-align: center;
}

.ip-left .ip-cta-btn {
    margin-top: auto; 
    align-self: center; 
}

.ip-card .row { align-items: stretch !important; }

.ip-mini {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ip-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 2rem;
    text-transform: uppercase;
}

.ip-desc { color: rgba(255,255,255,0.85); }

.ip-mini {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 12px;
    padding: 16px;
}

.ip-line { color: rgba(255,255,255,0.9); }

.ip-label {
    display: block;
    color: rgba(255,255,255,0.9);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.ip-field {
    background: rgba(254,155,64,0.35); 
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 700;
}
/* END IP BLOCK */

/* START NEWS */
.news-section {
    margin-top: calc(2rem + 120px);
}

.news-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1rem;
}

.news-line {
    flex: 1 1 auto;
    height: 4px;
    background: #14AF97;
    border-radius: 4px;
    align-self: center;
    transform: translateY(-8px);
}

.news-title {
    flex: 0 0 auto;
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px;
    overflow: hidden;
    transform: translateZ(0);
    transition: none;
}

.news-card:hover { transform: none; box-shadow: none; }

.news-card-image {
    position: relative;
}

.news-card-image .stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.news-image {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.news-card-fallback {
    position: relative;
    height: 320px;
    background: rgba(0,0,0,0.2);
}

.news-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 18px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    z-index: 2;
}

.news-overlay-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0;
}

.news-card:active { transform: none; }
/* END NEWS */

/* START SHOP CARDS */
.shop-price-bar {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 10px 12px;
}
/* END SHOP CARDS */

/* START NAVBAR */
.navbar img[alt*="user"],
.navbar img[alt*="Joueur"],
.navbar img[alt*="avatar"] {
    height: 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    display: block !important;
    flex-shrink: 0 !important;
    aspect-ratio: 1/1 !important;
}
.navbar,
.navbar.bg-dark-subtle,
.navbar.navbar-expand-md {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.navbar {
    position: fixed !important;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 8px !important;
    z-index: 1000;
    padding: 12px 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.navbar-brand img {
    max-height: 75px;
    max-width: 150px;
}

.navbar .nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.navbar .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 10px 15px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.navbar .nav-item .nav-link.active {
    color: #14AF97;
}

.navbar .nav-item .dropdown-toggle::after {
    border-top: 0.3em solid #14AF97;
    margin-left: 8px;
}
.navbar .nav-item .nav-link:hover {
    color: #14AF97;
}

.navbar .dropdown-menu {
    background: var(--primary-color, #FE9B40) !important;
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 6px !important;
    margin-top: 8px;
    padding: 8px 0;
}

.navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 3px;
    margin: 2px 8px;
    background: transparent !important;
}

.navbar .dropdown-item:hover {
    color: #14AF97;
    background: transparent !important;
}

.navbar .dropdown-item.active {
    color: #14AF97;
    background: transparent !important;
}

.navbar #userDropdown ~ .dropdown-menu .dropdown-item:hover,
.navbar #userDropdown ~ .dropdown-menu .dropdown-item:focus,
.navbar #userDropdown ~ .dropdown-menu .dropdown-item.active {
    color: #14AF97 !important;
    background: transparent !important;
}

.user-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    padding: 0;
    border-radius: 4px;
    width: 36px;
    height: 36px;
}

.user-nav-link img {
    height: 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 6px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.guest-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    padding: 0;
    border-radius: 4px;
    width: 36px;
    height: 36px;
}

.guest-nav-link img {
    height: 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 6px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

.navbar-toggler {
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    background: rgba(20, 175, 151, 0.15);
    order: -1;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(20, 175, 151, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2314AF97' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-user-mobile {
    margin-left: auto;
    margin-right: 0;
}

.navbar > .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        top: 10px;
        padding: 12px 20px;
    }
    
    .navbar .nav-item .nav-link {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .content {
        margin-top: 8.5rem;
    }

    .navbar-user-mobile {
        display: flex !important;
    }

    .navbar > .container {
        justify-content: space-between;
    }
}
/* END NAVBAR */

/* START GLOBAL COMPONENTS */
.card {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    color: #ffffff;
}

.card .card-header,
.card .card-footer {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff;
}

.card .card-title,
.card-title {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.6px;
    margin-bottom: 0.75rem;
}

.card .card-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.card .card-text, .card p {
    color: rgba(255, 255, 255, 0.9);
}

h1, h2, h3, .h1, .h2, .h3 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.8px;
}

h4, h5, h6, .h4, .h5, .h6 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.4px;
}

a:hover {
    color: #14AF97;
}

.divider-glass {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0) 100%);
}
/* END GLOBAL COMPONENTS */

/* START FORMS */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="url"],
input[type="tel"],
textarea,
select {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 10px 14px;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] input[type="text"],
[data-bs-theme="dark"] input[type="email"],
[data-bs-theme="dark"] input[type="password"],
[data-bs-theme="dark"] input[type="search"],
[data-bs-theme="dark"] input[type="number"],
[data-bs-theme="dark"] input[type="url"],
[data-bs-theme="dark"] input[type="tel"],
[data-bs-theme="dark"] textarea,
[data-bs-theme="dark"] select {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}
::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.55) !important; }
:-ms-input-placeholder { color: rgba(255, 255, 255, 0.55) !important; }
::-ms-input-placeholder { color: rgba(255, 255, 255, 0.55) !important; }

.form-control-plaintext {
    color: #ffffff !important;
}

.form-control:hover,
input:hover,
textarea:hover,
select:hover {
    border-color: rgba(255, 255, 255, 0.32) !important;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: #14AF97 !important;
    box-shadow: 0 0 0 0.25rem rgba(20, 175, 151, 0.25) !important;
    outline: none !important;
}

.form-control:disabled,
input:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-check-input {
    border-color: rgba(255, 255, 255, 0.35) !important;
    background-color: rgba(0,0,0,0.1) !important;
}

.form-check-input:checked {
    background-color: #14AF97 !important;
    border-color: #14AF97 !important;
}

.form-select {
    background-color: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

.input-group-text {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.input-group { overflow: hidden; border-radius: 12px; }
.input-group .form-control {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: 0 !important;
}
.input-group .btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    padding: 10px 14px; 
    display: inline-flex;
    align-items: center;
    box-shadow: none !important; 
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
}
/* END FORMS */

/* START SCROLLBAR */
:root {
    --scrollbar-bg: rgba(255, 255, 255, 0.06);
    --scrollbar-thumb: #14AF97;
    --scrollbar-thumb-hover: #119f8a;
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-bg);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover);
}

::-webkit-scrollbar-corner {
    background: transparent;
}
/* END SCROLLBAR */

/* START ANIMATIONS */
.animate-header {
    animation: fadeIn 1s ease-out forwards;
}

.animate-logo {
    animation: zoomIn 1.2s ease-out 0.3s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll[data-animation="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.animated .deco {
    animation: floatIn 1s ease-out 0.3s backwards;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(-20px) rotate(0deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(var(--rotate, 0deg));
    }
}

.news-card {
    transition: transform 0.3s ease;
}

@keyframes butterfly-float-left {
    0%, 100% {
        transform: translateY(0) rotate(-12deg) scaleX(-1);
    }
    50% {
        transform: translateY(-10px) rotate(-12deg) scaleX(-1);
    }
}

@keyframes butterfly-float-right {
    0%, 100% {
        transform: translateY(0) rotate(12deg);
    }
    50% {
        transform: translateY(-10px) rotate(12deg);
    }
}

@keyframes butterfly-float-footer-left {
    0%, 100% {
        transform: translateY(0) scaleX(-1) rotate(-10deg);
    }
    50% {
        transform: translateY(-8px) scaleX(-1) rotate(-10deg);
    }
}

@keyframes butterfly-float-footer-right {
    0%, 100% {
        transform: translateY(0) rotate(8deg);
    }
    50% {
        transform: translateY(-8px) rotate(8deg);
    }
}

.deco-discord-bfly-left {
    animation: butterfly-float-left 3s ease-in-out infinite;
}

.deco-discord-bfly-right {
    animation: butterfly-float-right 3s ease-in-out infinite 0.5s;
}

.deco-footer-bfly-left {
    animation: butterfly-float-footer-left 3.5s ease-in-out infinite 1s;
}

.deco-footer-bfly-right {
    animation: butterfly-float-footer-right 3.5s ease-in-out infinite 1.5s;
}

@keyframes folia-sway {
    0%, 100% {
        transform: rotate(var(--rotate, 0deg)) scaleX(var(--scaleX, 1));
    }
    50% {
        transform: rotate(calc(var(--rotate, 0deg) + 5deg)) scaleX(var(--scaleX, 1));
    }
}

.deco-folia-top,
.deco-folia-bottom {
    animation: folia-sway 4s ease-in-out infinite;
}

.deco-folia-top {
    --rotate: 6deg;
    --scaleX: -1;
}

.deco-folia-bottom {
    --rotate: -8deg;
    --scaleX: 1;
}
/* END ANIMATIONS */

/* START HOME RESPONSIVE */
@media (max-width: 768px) {
    .home-header {
        min-height: 400px !important;
    }

    .home-banner-wrap {
        max-width: 280px;
        margin: 0 auto;
    }

    .home-banner-logo {
        max-width: 100%;
    }

    .home-header-wave-top {
        height: 800px;
    }

    .home-header-gradient {
        height: 60px;
    }

    .ip-section {
        margin-bottom: 3rem !important;
    }

    .ip-card {
        padding: 20px 18px;
    }

    .ip-left {
        margin-bottom: 1.5rem;
    }

    .ip-title {
        font-size: 1.5rem;
    }

    .ip-desc {
        font-size: 0.9rem;
        margin-bottom: 1rem !important;
    }

    .ip-cta-btn {
        width: 100%;
        padding: 14px 20px;
    }

    .ip-mini {
        background: rgba(255, 255, 255, 0.08);
        padding: 16px;
        border-radius: 12px;
    }

    .ip-label {
        font-size: 0.75rem;
    }

    .ip-field {
        font-size: 0.95rem;
    }

    .discord-section {
        margin-top: 80px !important;
        margin-bottom: 4rem !important;
    }

    .discord-card {
        padding: 24px 20px;
    }

    .discord-title {
        font-size: 1.5rem;
    }

    .discord-desc {
        font-size: 0.9rem;
        margin-bottom: 1rem !important;
    }

    .discord-join-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .news-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .news-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem !important;
    }

    .news-line {
        width: 100%;
        height: 3px;
        transform: translateY(0);
    }

    .news-card {
        margin-bottom: 1.5rem !important;
    }

    .news-overlay-title {
        font-size: 1.1rem;
    }

    .news-overlay .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .cart-actions { width: 100%; }
    .cart-actions .btn { width: 100%; }
    .cart-actions input[type="email"] { width: 100% !important; }

    .deco-folia-top,
    .deco-folia-bottom {
        width: 48px !important;
    }

    .deco-folia-top {
        right: -10px;
        top: -10px;
    }

    .deco-folia-bottom {
        left: -10px;
        bottom: -10px;
    }

    .deco-discord-bfly-left {
        left: 20px !important;
        top: 20px !important;
        width: 36px !important;
    }

    .deco-discord-bfly-right {
        right: 20px !important;
        top: 40px !important;
        width: 36px !important;
    }

    .footer .footer-site-title,
    .footer .footer-links-title {
        font-size: 1.5rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .footer .list-unstyled a {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .home-banner-wrap {
        max-width: 220px;
    }

    .ip-title,
    .discord-title,
    .news-title {
        font-size: 1.3rem;
    }

    .ip-desc,
    .discord-desc {
        font-size: 0.85rem;
    }

    .ip-card,
    .discord-card {
        padding: 16px 14px;
    }

    .ip-left,
    .ip-mini {
        width: 100%;
    }

    .content {
        margin-top: 7rem !important;
    }
}
/* END HOME RESPONSIVE */

/* START VOTE PAGE */
.vote-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: block;
    margin: 0 auto 1.25rem auto;
    text-align: center;
    color: #ffffff;
}

.vote-title::after {
    content: "";
    display: block;
    height: 5px;
    width: 140px;
    background: #14AF97;
    border-radius: 4px;
    margin: 10px auto 0 auto;
}
/* END VOTE PAGE */

/* START TABLES */
.table {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    background-color: transparent;
    box-shadow: none;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.table thead th {
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 800;
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.18) !important;
}

.table-dark {
    --bs-table-bg: rgba(255, 255, 255, 0.06);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.08);
    --bs-table-striped-color: #ffffff;
    --bs-table-hover-bg: rgba(20, 175, 151, 0.14);
    --bs-table-hover-color: #ffffff;
    color: #ffffff;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

.table-hover > tbody > tr:hover > * {
    background-color: rgba(20, 175, 151, 0.12) !important;
}

.table td, .table th {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.table .badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
/* END TABLES */

/* START MODALS */
.modal-backdrop.show {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

[data-bs-theme="dark"] .modal-content {
    background: rgba(255, 255, 255, 0.06) !important;
}

.modal-header,
.modal-footer {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.modal-title {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.modal-body,
.modal-body p {
    color: rgba(255, 255, 255, 0.92);
}

.modal .form-control,
.modal input,
.modal textarea,
.modal select {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.85;
}

.btn-close:hover { opacity: 1; }
/* END MODALS */

/* START POPUPS (Toasts, Tooltips, Popovers, Offcanvas, Alerts) */
.toast {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 12px;
}
.toast-header {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}
.toast .btn-close, .toast-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.tooltip .tooltip-inner {
    background: rgba(20, 20, 20, 0.85);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}
.tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before,
.tooltip.bs-tooltip-top .tooltip-arrow::before { border-top-color: rgba(20, 20, 20, 0.85); }
.tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before,
.tooltip.bs-tooltip-bottom .tooltip-arrow::before { border-bottom-color: rgba(20, 20, 20, 0.85); }
.tooltip.bs-tooltip-auto[data-popper-placement^="start"] .tooltip-arrow::before,
.tooltip.bs-tooltip-start .tooltip-arrow::before { border-left-color: rgba(20, 20, 20, 0.85); }
.tooltip.bs-tooltip-auto[data-popper-placement^="end"] .tooltip-arrow::before,
.tooltip.bs-tooltip-end .tooltip-arrow::before { border-right-color: rgba(20, 20, 20, 0.85); }

.popover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 12px;
}
.popover-header {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.12);
    font-weight: 700;
    text-transform: uppercase;
}
.popover-body { color: rgba(255, 255, 255, 0.92); }

.offcanvas,
.offcanvas.show {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    border-left: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
.offcanvas-header { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.offcanvas .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }

.alert {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}
.alert-primary { border-color: #14AF97; background: rgba(20, 175, 151, 0.15); color: #ffffff; }
.alert-success { border-color: #14AF97; background: rgba(20, 175, 151, 0.15); color: #ffffff; }
.alert-danger { border-color: var(--primary-color, #FE9B40); background: rgba(254, 155, 64, 0.15); color: #ffffff; }
.alert-warning { border-color: var(--primary-color, #FE9B40); background: rgba(254, 155, 64, 0.15); color: #ffffff; }
.alert-info { border-color: #14AF97; background: rgba(20, 175, 151, 0.15); color: #ffffff; }
/* END POPUPS */

