/* --- VIDEO BACKGROUND --- */
/* Fixed Video Background */
/* Fixed Video Background (Shared Class) */
/* --- STATIC BACKGROUND (CINEMA MODE) --- */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    animation: slowZoom 30s infinite alternate ease-in-out;
}

/* Dark Vignette Overlay */
.video-background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Above video, below text */
    /* TRICK 2: Radial Gradient to bury the watermark in the corner */
    /* UPDATED: Center is fully clear (bright), only corners are dark */
    /* LIGHTER OVERLAY for brighter background */
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    /* Let clicks pass through */
}

/* --- TERMS Refined --- */
.terms-section {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.term-card {
    background: rgba(20, 20, 23, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.term-card:hover {
    background: rgba(176, 38, 255, 0.05);
    border-color: rgba(176, 38, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.term-icon {
    font-size: 2.5rem;
    min-width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-glass);
}

.term-content {
    display: flex;
    flex-direction: column;
}

.term-head {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.term-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- FOOTER Professional --- */
footer#socials-footer {
    border-top: 1px solid var(--border-glass);
    background: #08080a;
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    /* Brand | Links | Socials */
    gap: 60px;
}

.footer-col h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
}

.footer-title {
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 300px;
}

.links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-col li {
    margin-bottom: 12px;
}

.links-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.2s;
    font-size: 1rem;
}

.links-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
    text-align: center;
}

.btn-footer.btn-discord {
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.btn-footer.btn-discord:hover {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.btn-footer.btn-funpay {
    background: rgba(0, 242, 255, 0.1);
    color: #00f2ff;
    border: 1px solid rgba(0, 242, 255, 0.3);
}

.btn-footer.btn-funpay:hover {
    background: #00f2ff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 40px;
        text-align: center;
    }

    .footer-brand,
    .links-col ul,
    .items-center {
        justify-content: center;
    }
}

/* 1. БАЗА И ШРИФТЫ */
html {
    background-color: #050505;
    /* Fallback if image fails */
}

:root {
    --bg-dark: #050505;
    --card-glass: rgba(20, 20, 23, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    --accent: #b026ff;
    /* Neon Purple */
    --accent-sec: #00f2ff;
    /* Neon Cyan */
    --text-main: #ffffff;
    --text-muted: #a1a1aa;

    --shadow-neon: 0 0 20px rgba(176, 38, 255, 0.4);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body {
    margin: 0;
    padding: 0;
    background-color: transparent;
    /* Changed from var(--bg-dark) to show bg image */
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    overflow-x: hidden;
    /* STICKY FOOTER FIX */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Канвас для фона */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Above video (-2), below content (0+) */
    pointer-events: none;
    background: transparent !important;
    /* Force transparent */
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    /* Более современный шрифт, если подключишь. Или fallback на sans-serif */
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

/* GLASSMORPHISM CARD BASE */
.manga-block {
    background: var(--card-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: var(--shadow-glass);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.manga-block:hover {
    transform: translateY(-5px);
    border-color: rgba(176, 38, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(176, 38, 255, 0.2);
}

/* --- 3. ШАПКА --- */
.anime-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    /* Wider spread (Round 3) */
    height: 96px;
    /* Taller header */
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Логотип увеличить */
/* Логотип увеличить (Round 4) */
.header-waifu {
    height: 75px;
    /* Even larger */
    filter: drop-shadow(0 0 15px rgba(176, 38, 255, 0.6));
    transition: 0.3s;
}

.header-waifu:hover {
    transform: scale(1.1) rotate(-5deg);
}

.site-title {
    font-size: 2.2rem;
    /* Much larger font */
    margin: 0;
    line-height: 1;
    /* Tighten line height */
    color: #fff;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, #e0aaff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.nav-center {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.2s;
    position: relative;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: 0.3s;
    box-shadow: 0 0 10px var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Кнопки языка */
.lang-switcher {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    display: flex;
}

.lang-btn {
    background: transparent;
    color: var(--text-muted);
    border: none;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Кнопка Support */
/* --- NEW HEADER BUTTONS (Standardized) --- */
/* --- NEW HEADER BUTTONS (Standardized & Larger Round 3) --- */
.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 54px;
    /* Taller */
    padding: 0 28px;
    /* Wider */
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    cursor: pointer;
}

.header-btn:hover {
    transform: translateY(-3px);
}

.header-btn img,
.header-btn svg {
    height: 24px;
    width: auto;
    object-fit: contain;
}

/* Specific fix for Support button image size */
.btn-support img {
    height: 38px;
    /* Larger image as requested */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

/* Style: Support (Glass) */
.btn-support {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-support:hover {
    background: rgba(176, 38, 255, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.3);
}

/* Style: Login (Discord Blue) */
.btn-login {
    background: rgba(88, 101, 242, 0.1);
    border-color: #5865F2;
    color: #5865F2;
}

.btn-login:hover {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

/* Style: Profile (Premium Glass - Matches Support) */
.btn-profile-trigger {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0 16px 0 8px;
    gap: 12px;
    height: 54px;
    border-radius: 14px;
    /* Matches Support Button */
    transition: all 0.3s ease;
}

.btn-profile-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Avatar Styling */
.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    /* Slight rounding to match button vibe */
    border: 1px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    transition: 0.3s;
}

.btn-profile-trigger:hover .profile-avatar {
    border-color: var(--accent);
}

.profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    text-align: left;
}

.p-name {
    font-size: 0.95rem;
    /* Slightly larger */
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}

/* --- 3.1 HEADER LAYOUT TWEAKS --- */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- МОДАЛЬНОЕ ОКНО (SUPPORT) --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-window {
    background: #1a1a1d;
    border: 1px solid var(--accent);
    box-shadow: 0 0 40px rgba(176, 38, 255, 0.2);
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: left;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 24px;
}

.modal-overlay.open .modal-window {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 0.8;
    transition: 0.2s;
}

.close-modal:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 20px;
}

.modal-icon {
    height: 120px;
    /* Much larger as requested (was 60px) */
    filter: drop-shadow(0 0 25px var(--accent));
    transition: transform 0.3s ease;
}

.modal-icon:hover {
    transform: scale(1.1) rotate(-5deg);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #fff;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    margin-bottom: 15px;
    transition: 0.2s;
}

.step-item:hover {
    background: rgba(176, 38, 255, 0.1);
    border-color: var(--accent);
}

.step-num {
    background: var(--accent);
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    flex-shrink: 0;
}

.step-text strong {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 2px;
}

.step-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.channel-tag {
    background: #5865F2;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.modal-btn {
    display: block;
    width: 100%;
    background: var(--accent);
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smoother animation */
    margin-top: 20px;
}

.modal-btn:hover {
    background: #fff;
    color: var(--accent);
    box-shadow: 0 0 30px #fff;
    transform: translateY(-3px);
    /* Jump effect */
}

.modal-btn:active {
    transform: translateY(-1px) scale(0.98);
}


/* --- ПРОФИЛЬ (ВЫПАДАЮЩЕЕ МЕНЮ) --- */
.profile-wrapper {
    position: relative;
    margin-left: 15px;
    z-index: 999;
}

.btn-profile-trigger {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent);
    color: #fff;
    padding-right: 20px;
    padding-left: 8px;
    box-shadow: 0 0 10px rgba(176, 38, 255, 0.2);
    gap: 12px;
}

.btn-profile-trigger:hover {
    background: rgba(176, 38, 255, 0.15);
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.3);
}

.profile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 240px;
    background: #0f0f11;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    z-index: 1000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    padding: 8px;
    animation: menuSlideCheck 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.profile-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 35px;
    width: 12px;
    height: 12px;
    background: #0f0f11;
    border-top: 1px solid var(--border-glass);
    border-left: 1px solid var(--border-glass);
    transform: rotate(45deg);
    z-index: 1;
}

.profile-dropdown.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    border-bottom: none;
    transition: all 0.2s;
    position: relative;
    z-index: 2;
}

.dropdown-item span {
    font-size: 1.2rem;
    /* Emoji size */
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    /* Removed translateX to keep it even */
}

.dropdown-item.logout {
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Optional separator look */
    border-radius: 12px;
    /* Fix corner radius to be symmetrical */
    color: #ff5f5f;
}

.dropdown-item.logout:hover {
    background: rgba(248, 113, 113, 0.15);
    color: #ff8888;
}

.dropdown-item.logout:hover {
    background: rgba(248, 113, 113, 0.15);
    color: #ff8888;
}

/* --- FORM INPUTS (Modern) --- */
.input-group {
    margin-bottom: 20px;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid var(--accent);
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 0 0 10px rgba(176, 38, 255, 0.3);
    padding: 20px 30px;
    z-index: 99999;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    bottom: 30px;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
}

#btn-cookie {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.4);
    transition: 0.2s;
    white-space: nowrap;
}

#btn-cookie:hover {
    background: #fff;
    color: var(--accent);
    box-shadow: 0 0 25px #fff;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
    }
}

.input-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.custom-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    /* Fix padding issues */
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.custom-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.2);
}

.custom-input.error {
    border-color: #f87171;
    box-shadow: 0 0 10px rgba(248, 113, 113, 0.2);
}

.custom-input.success {
    border-color: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

@keyframes menuSlideCheck {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 4. ГЛАВНЫЙ ЭКРАН --- */
.hero-section {
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
}

.hero-slogan {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #ccc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(176, 38, 255, 0.3));
}

.hero-sub {
    color: #d8b4fe;
    /* Soft Purple (was accent-sec/cyan) */
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(176, 38, 255, 0.4);
    /* Purple glow */
}

/* --- 5. СТАТИСТИКА (Horizontal Spread) --- */
/* --- 5. СТАТИСТИКА (Horizontal Spread Round 3) --- */
.stats-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 120px;
    padding: 0 40px;
    display: flex;
    justify-content: center;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.stat-text {
    text-align: center;
    position: relative;
    flex: 1;
    /* Distribute evenly */
}

/* Add separator lines between stats */
.stat-text:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat-text h3 {
    margin: 0;
    font-size: 3.5rem;
    /* Bigger numbers */
    color: #fff;
    text-shadow: 0 0 30px rgba(176, 38, 255, 0.3);
    line-height: 1;
}

.stat-text p {
    margin: 10px 0 0;
    color: #d8b4fe;
    /* Soft Purple (was accent-sec/cyan) */
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(176, 38, 255, 0.3);
}

.chibi-reviews {
    display: none;
    /* Убираем чибика из статистики для строгости стиля, или можно оставить */
}

/* --- 6. ТОВАРЫ --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 15px var(--accent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.product-card {
    padding: 0;
    /* Убираем паддинг контейнера, чтобы картинка была в край */
    overflow: hidden;
    background: rgba(30, 30, 35, 0.6);
}

.product-image {
    height: 260px;
    width: 100%;
    margin: 0;
    padding: 20px;
    /* Add padding to force content inward */
    box-sizing: border-box;
    /* Include padding in width */
    background: radial-gradient(circle at center, rgba(176, 38, 255, 0.08) 0%, transparent 65%);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    /* STRICT CENTER */
    position: relative;
    overflow: hidden;
}

.prod-glow {
    max-height: 80%;
    /* Reduce slightly to fit better (Round 4) */
    max-width: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* PERFECT FIT */
    transition: transform 0.4s ease;
    filter: drop-shadow(0 0 15px rgba(176, 38, 255, 0.15));
    display: block;
    /* Ensure it behaves as block for margin-auto if needed */
    margin: 0 auto;
    /* Extra centering safety */
}

.product-card:hover .prod-glow {
    transform: scale(1.1) translateY(-10px);
    filter: drop-shadow(0 20px 30px rgba(176, 38, 255, 0.3));
}

.product-info {
    padding: 25px;
    text-align: left;
}

.product-info h3 {
    font-size: 1.4rem;
    margin: 0 0 10px;
    font-weight: 600;
}

.index-price-dual {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.index-price-usd {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* BALANCED PREMIUM BUTTON STYLE (Clean & Classy) */
.buy-btn {
    display: block;
    width: 100%;
    /* Smooth Purple Gradient */
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    padding: 14px 0;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle border */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;

    /* Soft, non-aggressive shadow */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.buy-btn:hover {
    transform: translateY(-2px);
    /* Brighten and add soft glow on hover */
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.buy-btn:active {
    transform: translateY(0);
}

.buy-btn.disabled {
    background: #1f2937;
    color: #6b7280;
    pointer-events: none;
    border-color: transparent;
    box-shadow: none;
}

/* БЕЙДЖИ */
.prod-badge,
.stock-badge {
    position: absolute;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prod-badge {
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #4ade80;
    display: flex;
    gap: 6px;
    align-items: center;
}

.stock-badge {
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.stock-high {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
}

.stock-low {
    color: #facc15;
    border-color: rgba(250, 204, 21, 0.3);
}

.stock-out {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.3);
}

/* --- 7. ПРЕИМУЩЕСТВА --- */
.info-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 100px;
}

.benefit-card {
    padding: 30px;
    text-align: left;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.benefit-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

/* --- 8. FAQ --- */
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #fff;
    transition: 0.2s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- TERMS Refined (CYBER-TECH) --- */
.terms-section {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Strict 3 columns */
    gap: 30px;
}

.term-card {
    background: rgba(20, 20, 23, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Minimal border */
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.term-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(176, 38, 255, 0.03) 100%);
    opacity: 0;
    transition: 0.3s;
}

.term-card:hover {
    border-color: rgba(176, 38, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(176, 38, 255, 0.15);
}

.term-card:hover::before {
    opacity: 1;
}

.term-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    /* Subtle default */
    min-width: 50px;
    text-align: right;
    transition: 0.3s;
    line-height: 1;
}

.term-card:hover .term-num {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent);
    transform: scale(1.1);
}

.term-content {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.term-head {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.term-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- FOOTER Professional (Structured Grid / Dashboard Style) --- */
footer#socials-footer {
    border-top: 1px solid var(--border-glass);
    background: #020203;
    /* Deep dark background */
    padding: 0;
    /* Remove padding, grid handles it */
    margin-top: auto;
}

.footer-container {
    max-width: 100%;
    /* Full Width */
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* Strict 3 Equal Columns */
    gap: 0;
    /* No gaps, borders handle separation */
    align-items: stretch;
    /* Full height columns */
}

/* Common Column Styles */
.footer-col {
    padding: 30px 40px;
    /* Reduced internal padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertical Center */
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle Divider */
}

.footer-col:last-child {
    border-right: none;
    /* No border on last column */
}

/* Column 1: Brand (Left) */
.footer-col.brand-col {
    align-items: flex-start;
    text-align: left;
    padding-left: 80px;
    /* Extra padding for left edge */
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 45px;
    width: auto;
}

.footer-title {
    font-size: 1.6rem;
    margin: 0;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 420px;
    margin-top: 10px;
}

/* Column 2: Menu (Center) */
.footer-col.links-col {
    align-items: center;
    text-align: center;
}

.footer-col h4 {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 4px;
    /* Wider spacing for 'system' look */
    font-weight: 900;
}

.links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.links-col a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    opacity: 0.5;
}

.links-col a:hover {
    opacity: 1;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

/* Column 3: Socials (Right) */
.footer-col.social-col {
    align-items: flex-end;
    text-align: right;
    padding-right: 80px;
    /* Extra padding for right edge */
}

.footer-btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 200px;
    /* Reduced width */
}

/* BUTTONS (Standardized) */
.btn-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

/* Discord */
.btn-footer.btn-discord {
    background: rgba(88, 101, 242, 0.1);
    border-color: #5865F2;
    color: #5865F2;
}

.btn-footer.btn-discord:hover {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.6);
    transform: translateY(-2px) scale(1.02);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* FunPay */
.btn-footer.btn-funpay {
    background: rgba(0, 242, 255, 0.1);
    border-color: #00f2ff;
    color: #00f2ff;
}

.btn-footer.btn-funpay:hover {
    background: #00f2ff;
    color: #000;
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.6);
    transform: translateY(-2px) scale(1.02);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    margin-top: 0;
    /* Removed margin since grid handles it */
    padding-bottom: 20px;
    /* Add bottom padding */
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    background: #020203;
}

@media (max-width: 900px) {
    .terms-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 50px;
    }

    .footer-col.brand-col,
    .footer-col.links-col,
    .footer-col.social-col {
        flex: auto;
        width: 100%;
        align-items: center;
    }

    .footer-brand {
        justify-content: center;
    }
}

/* --- LOGIN BUTTON NEON --- */
.btn-discord-login {
    background: rgba(88, 101, 242, 0.1);
    border-color: #5865F2;
    color: #5865F2;
    margin-left: 20px;
}

.btn-discord-login:hover {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

/* --- ADAPTIVE --- */
@media (max-width: 900px) {

    .benefits-grid,
    .terms-grid {
        grid-template-columns: 1fr;
    }

    .hero-slogan {
        font-size: 2.5rem;
    }

    .anime-header {
        padding: 15px 20px;
    }

    .nav-center {
        display: none;
    }

    /* Скрыть меню на мобилках или сделать бургер */
    .header-waifu {
        height: 40px;
    }
}

/* --- ANIMATIONS --- */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}

/* --- 10. PRODUCT PAGE STYLES (Redesigned) --- */



/* --- PREMIUM CUSTOM SELECT BOX --- */
.custom-select-box {
    position: relative;
    width: 100%;
    min-height: 54px;
    background: linear-gradient(145deg, rgba(25, 25, 30, 0.8), rgba(15, 15, 20, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    user-select: none;
    font-family: 'Outfit', sans-serif;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-select-box:hover {
    background: linear-gradient(145deg, rgba(35, 35, 42, 0.9), rgba(20, 20, 25, 0.95));
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.custom-select-box.active {
    border-color: rgba(168, 85, 247, 0.6);
    background: linear-gradient(145deg, rgba(30, 20, 45, 0.9), rgba(20, 15, 30, 0.95));
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2), 0 0 0 1px rgba(168, 85, 247, 0.2);
    z-index: 100;
}

.select-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px;
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 500;
}

.arrow-icon {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s;
}

.custom-select-box.active .arrow-icon {
    transform: rotate(180deg);
    color: #a855f7;
}

.select-items {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(18, 18, 22, 0.98);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    z-index: 999;
    display: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transform-origin: top;
    animation: dropdownAnim 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.05) forwards;
    padding: 8px;
}

@keyframes dropdownAnim {
    from {
        opacity: 0;
        transform: scaleY(0.8) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scaleY(1) translateY(0);
    }
}

.select-items>div {
    padding: 12px 16px !important;
    border-radius: 10px;
    margin-bottom: 4px;
    color: #cbd5e1;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
}

.select-items>div>* {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.select-items>div:last-child {
    margin-bottom: 0;
}

.select-items>div:hover {
    background: rgba(168, 85, 247, 0.08);
    /* slight purple glow */
    border-color: rgba(168, 85, 247, 0.15);
    color: #fff;
}

.select-items>div:hover>* {
    transform: translateX(4px);
}

/* Page Wrapper */
.product-page-container {
    max-width: 1400px;
    /* Strict Max Width */
    width: 95%;
    /* Consistent width */
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.back-btn {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 25px;
    transition: 0.2s;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

.back-btn:hover {
    color: #fff;
    transform: translateX(-5px);
    opacity: 1;
}

/* Main Container (Glass Panel) */
.manga-block-product {
    background: rgba(15, 15, 20, 0.7);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: visible;
    height: 85vh;
    min-height: 750px;
    max-height: 1050px;
    width: 100%;
    box-sizing: border-box;
    /* Fix for padding overflowing width */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.manga-block-product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Flex Layout */
.product-detail-wrapper {
    display: flex;
    gap: 40px;
    /* Reduced gap to fit wider columns */
    align-items: stretch;
    height: 100%;
    /* Force equal height for columns */
}

/* -- LEFT COLUMN (Image & Promo) -- */
.prod-left {
    flex: 0 0 40%;
    /* Increased to 40% for bigger image */
    max-width: 40%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    /* Stack vertically to push promo down */
}

.prod-img-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1/1;
    /* Forced Square */
    height: auto;
    /* Allow auto height based on width */
}

.prod-main-img {
    width: 80%;
    /* Slightly constrained within box */
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.2));
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.prod-main-img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Promo Code Section */
.promo-container {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    /* Stronger compaction */
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    /* Push to bottom */
}

.promo-title {
    color: var(--accent) !important;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 700;
}

.promo-flex {
    display: flex;
    gap: 10px;
}

.promo-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 18px;
    /* Slightly tighter */
    border-radius: 12px;
    outline: none;
    transition: 0.2s;
    font-family: inherit;
    font-size: 0.95rem;
}

.promo-input:focus {
    border-color: var(--accent);
    background: rgba(168, 85, 247, 0.05);
}

.promo-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.promo-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}

/* Discord Community Button in Product Description */
.prod-discord-btn {
    background: #5865F2;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.prod-discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.prod-discord-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.6);
    background: #4752c4;
}

.prod-discord-btn:hover::before {
    left: 100%;
}

/* --- TRUST BADGES (Left Col) --- */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.trust-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: 0.3s;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.trust-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.trust-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.2;
}

.trust-item:hover .trust-text {
    color: #fff;
}

/* -- RIGHT COLUMN (Info) -- */
.prod-right {
    flex: 0 0 55%;
    /* Reduced to 55% to fit left column */
    max-width: 55%;

    padding-top: 10px;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Fill parent */
    /* Stack vertically to push payment down */
}

.prod-title {
    font-size: 4.5rem;
    /* Large and impactful */
    font-weight: 800;
    margin: 0 0 15px;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.2);
    letter-spacing: -2px;
}

.price-stock-row {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.prod-price-dual {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    color: #fff;
    font-weight: 800;
}

/* Neon Price Styling */
.prod-price-dual {
    background: linear-gradient(90deg, #4ade80, #22c55e);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(74, 222, 128, 0.4));
}

.price-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 2rem;
    margin: 0 5px;
    font-weight: 300;
}

.prod-price-sub {
    color: #fff;
    opacity: 0.5;
    font-size: 1.6rem;
    font-weight: 600;
    -webkit-text-fill-color: initial;
}

/* Stock Badge */
.stock-badge-product {
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stock-badge-product.stock-high {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.05);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.1);
}

.stock-badge-product.stock-low {
    color: #facc15;
    border-color: rgba(250, 204, 21, 0.3);
    background: rgba(250, 204, 21, 0.05);
}

.stock-badge-product.stock-out {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.3);
    background: rgba(248, 113, 113, 0.05);
}

/* Description */
.prod-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    /* FLEX HEIGHT STRATEGY */
    flex: 1;
    /* ALLOW SCROLLING */
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 100%;
    padding-right: 15px;
    /* Prevent scrollbar overlap */
}

/* Custom Scrollbar for Description */
.prod-desc::-webkit-scrollbar {
    width: 6px;
}

.prod-desc::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.prod-desc::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.prod-desc::-webkit-scrollbar-thumb:hover {
    background: #d946ef;
}

.prod-desc h3,
.features-header {
    color: #fff;
    font-size: 1.4rem;
    margin: 30px 0 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.prod-desc ul {
    padding-left: 30px;
    margin-bottom: 25px;
}

.prod-desc li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}




/* Large Buy Button */
.buy-btn-large {
    display: block;
    width: 100%;
    padding: 25px 0;
    border-radius: 18px;
    background: #202025;
    color: #555;
    font-weight: 900;
    font-size: 1.4rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
}

.buy-btn-large.enabled {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.buy-btn-large.enabled:hover {
    transform: translateY(-4px) scale(1.01);
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .product-page-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .manga-block-product {
        padding: 30px 20px;
    }

    .product-detail-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .prod-left,
    .prod-right {
        flex: auto;
        max-width: 100%;
        width: 100%;
    }

    .prod-img-container {
        height: 300px;
    }

    .prod-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .price-stock-row {
        justify-content: center;
        gap: 15px;
    }

    .prod-price-dual {
        font-size: 2.2rem;
    }

    /* Reset fixed height on mobile */
    .manga-block-product {
        height: auto;
        min-height: auto;
        max-height: none;
    }

    .prod-desc {
        flex: none;
        height: auto;
        max-height: 400px;
        /* Optional cap */
    }
}

/* --- PROFESSIONAL BUTTONS (Footer Style) --- */
.btn-primary {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 35px;
    border-radius: 14px;
    /* Footer style radius */
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none;
    z-index: 1;
}

.btn-primary:hover {
    background: #4ade80;
    color: #000;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Red Variant for Fail Page */
.btn-primary.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-primary.btn-danger:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

/* Secondary Button (Neutral) */
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ccc;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-text-link {
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    margin-top: 15px;
    display: inline-block;
    transition: 0.3s;
}

.btn-text-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- STAR RATING --- */
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;
    border: none;
    margin-bottom: 20px;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 3rem;
    color: #666;
    /* Brighter default */
    cursor: pointer;
    transition: color 0.2s, text-shadow 0.2s;
    text-shadow: none;
}

.rating input:checked~label,
.rating label:hover,
.rating label:hover~label {
    color: #facc15 !important;
    text-shadow: 0 0 20px rgba(250, 204, 21, 0.8) !important;
}

/* ========================================= */
/* === MOBILE OPTIMIZATION (RESPONSIVE) === */
/* ========================================= */

@media (max-width: 768px) {

    /* --- GLOBAL LAYOUT --- */
    html {
        font-size: 14px;
        /* Slightly smaller base font */
    }

    body {
        overflow-x: hidden;
        /* Prevent horizontal scroll */
    }

    /* Container Padding */
    .product-page-container,
    .footer-container,
    .terms-section,
    .products-section,
    .hero-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    /* --- TYPOGRAPHY --- */
    h1,
    .hero-slogan {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        text-align: center;
    }

    h2,
    .section-title {
        font-size: 1.8rem !important;
        text-align: center;
    }

    p,
    .hero-sub {
        font-size: 1rem !important;
        text-align: center;
    }

    /* --- HEADER (Mobile) --- */
    .anime-header {
        height: auto !important;
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px !important;
        background: rgba(10, 10, 12, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        gap: 15px;
        box-sizing: border-box;
        width: 100%;
        position: relative;
        /* For absolute positioning of lang-switcher */
    }

    .logo-container {
        width: 100%;
        justify-content: flex-start;
        display: flex;
        align-items: center;
        margin-bottom: 0;
        order: 1;
    }

    .logo-link {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .header-waifu {
        height: 38px;
        display: block;
    }

    .site-title {
        font-size: 1.8rem;
        margin: 0;
        line-height: 1;
        display: flex;
        align-items: center;
        transform: translateY(2px);
        /* Tweak vertical alignment with the logo */
    }

    /* Pull language switcher out of normal flow and to the top right */
    .lang-switcher {
        position: absolute;
        top: 15px;
        right: 15px;
        display: flex;
        z-index: 10;
        background: rgba(0, 0, 0, 0.4);
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    /* Wrap buttons nicely acting as an independent row */
    .header-controls {
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        order: 2;
        box-sizing: border-box;
    }

    .btn-support {
        flex: 1;
        margin: 0;
    }

    .btn-login,
    .profile-wrapper {
        flex: 1;
        margin: 0;
    }

    /* Give buttons consistent sizing */
    .header-btn,
    .btn-profile-trigger {
        height: 42px;
        width: 100%;
        max-width: none;
        padding: 0 5px;
        font-size: 0.85rem;
        justify-content: center;
        border-radius: 12px;
        box-sizing: border-box;
    }

    /* Center the contents of the profile button */
    .btn-profile-trigger {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .btn-support img,
    .btn-icon-svg {
        height: 20px;
        width: auto;
    }

    /* Smaller avatar for mobile profile button */
    .profile-avatar {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    /* Navigation links below buttons */
    .nav-center {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 25px;
        order: 3;
        margin-top: 5px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 5px;
    }

    .profile-info {
        display: none;
    }

    /* Hide name, show only avatar */

    /* --- HOME PAGE HERO --- */
    .hero-section {
        margin-top: 20px !important;
        min-height: auto !important;
        padding-bottom: 40px;
        padding-top: 100px;
        /* Compensate for fixed header if used, otherwise auto */
    }

    .stats-section {
        flex-direction: column;
        gap: 30px;
        margin-top: 20px;
    }

    .chibi-reviews {
        display: none;
        /* Hide decorative image on mobile */
    }

    .stats-container {
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        gap: 10px;
        flex-wrap: wrap;
        /* Allow wrapping on very small screens */
    }

    .stat-text h3 {
        font-size: 1.5rem;
    }

    /* --- PRODUCT GRID --- */
    .products-grid {
        grid-template-columns: 1fr !important;
        /* Single Column */
        gap: 30px;
        padding: 0 10px;
    }

    .product-card {
        max-width: 100%;
        /* Full width */
        margin: 0 auto;
    }

    .product-image img {
        height: 200px;
        /* Fixed height for consistency */
        object-fit: cover;
    }

    /* --- BENEFITS & FAQ --- */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .faq-section {
        padding: 0 10px;
    }

    /* --- FOOTER --- */
    .footer-container {
        grid-template-columns: 1fr;
        padding-bottom: 80px;
        text-align: center;
        gap: 40px;
    }

    .footer-brand,
    .links-col ul,
    .items-center {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .footer-btn-group {
        width: 100%;
    }

    /* --- PRODUCT PAGE SPECIFIC --- */
    .product-page-container {
        margin-top: 20px !important;
    }

    .product-detail-wrapper {
        flex-direction: column !important;
    }

    .prod-left,
    .prod-right,
    .manga-block-product {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .product-page-container {
        padding: 0 10px !important;
        box-sizing: border-box;
    }

    .manga-block-product {
        padding: 20px !important;
    }

    .prod-img-container {
        height: auto;
        max-height: 300px;
        /* Limit height */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .prod-big-waifu {
        object-fit: contain;
        height: auto;
        max-height: 280px;
        width: auto;
        max-width: 100%;
    }

    .prod-price-dual {
        font-size: 2rem;
        text-align: center;
        margin: 20px 0;
    }

    .buy-btn-large {
        font-size: 1.2rem;
        padding: 20px 0;
    }

    /* Terms Grid */
    .terms-grid {
        grid-template-columns: 1fr;
    }

    /* Socials */
    .socials-grid {
        flex-direction: column;
        align-items: center;
    }

    .social-card {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* MODAL FIXED */
    .modal-window {
        width: 90%;
        padding: 20px;
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
        /* Scroll if too tall */
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .modal-icon {
        height: 80px;
    }
}

/* --- 4. MOBILE LAYOUT FIXES & INTERACTIVE BUTTONS --- */

/* Global Overflow Fix */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100vw;
}

/* Header Padding Fix for Mobile */
@media (max-width: 768px) {
    .anime-header {
        padding: 10px 15px;
        /* Reduced padding */
    }

    .logo-container {
        gap: 10px;
    }

    .header-waifu {
        height: 50px;
        /* Smaller logo on mobile */
    }

    .site-title {
        font-size: 1.5rem;
    }

    /* Footer Mobile Grid */
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 40px;
        text-align: center;
    }
}

/* Social Cards (Discord / FunPay) Layout Default (Desktop) */
.socials-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

/* Social Cards (Discord / FunPay) */
.social-card {
    padding: 40px 30px;
    width: 450px;
    min-width: 320px;
    max-width: 100%;
    flex: 0 0 auto;
    box-sizing: border-box;
    /* Fixed width for desktop, responsive max-width */
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    /* Ensure rounded corners */
}

/* Specific hover effect for card background only */
.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Interactive Buttons */
.btn-social-action {
    padding: 12px 35px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    margin-top: auto;
    /* Push to bottom if needed */
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.btn-social-action:hover {
    transform: scale(1.05);
    /* Grow effect */
    filter: brightness(1.2);
    /* Brighten */
}

.btn-social-action:active {
    transform: scale(0.95);
}

/* Discord Specifics */
.social-card:has(.discord-btn) {
    border: 1px solid rgba(88, 101, 242, 0.3);
    background: rgba(88, 101, 242, 0.05);
}

.social-card:hover:has(.discord-btn) {
    border-color: rgba(88, 101, 242, 0.6);
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.2);
}

.discord-btn {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.discord-btn:hover {
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.8);
}

/* FunPay Specifics */
.social-card:has(.funpay-btn) {
    border: 1px solid rgba(0, 242, 255, 0.3);
    background: rgba(0, 242, 255, 0.05);
}

.social-card:hover:has(.funpay-btn) {
    border-color: rgba(0, 242, 255, 0.6);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

.funpay-btn {
    background: #00f2ff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.funpay-btn:hover {
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.8);
}

/* Text and Icons */
.social-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.social-card:hover .social-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.social-svg {
    width: 100%;
    height: 100%;
}

.discord-svg {
    fill: #5865F2;
    filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.8));
}

.funpay-svg {
    fill: #00f2ff;
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.8));
}

.social-title {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 900;
    margin-top: 0;
}

.discord-title {
    color: #5865F2;
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}

.funpay-title {
    color: #00f2ff;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.social-text {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

/* Responsive Text for Mobile */
@media (max-width: 480px) {
    .social-title {
        font-size: 1.5rem;
    }

    .social-text {
        font-size: 0.9rem;
    }

    .btn-social-action {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .social-card {
        padding: 25px;
    }

    /* Ensure no side scroll */
    .header-controls {
        gap: 8px;
    }

    .header-btn {
        padding: 0 15px;
        font-size: 0.9rem;
    }
}

/* --- 5. COMPREHENSIVE MOBILE OVERHAUL (PROFESSIONAL MINIATURE LOOK) --- */
@media (max-width: 768px) {

    /* 1. TYPOGRAPHY SCALING (Miniaturize) */
    html {
        font-size: 14px;
        /* Base scale down */
    }

    h1,
    .hero-title,
    .glitch-hero {
        font-size: 1.8rem !important;
        /* Was ~3-4rem */
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }

    h2,
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 15px !important;
    }

    h3,
    .feature-title,
    .product-title {
        font-size: 1.2rem !important;
    }

    p,
    .hero-subtitle,
    .feature-text {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    /* 2. LAYOUT & SPACING (Compact) */
    /* .anime-header overrides removed to allow flex height and padding */

    .logo-container {
        gap: 8px !important;
    }

    .header-waifu {
        height: 40px !important;
        /* Small logo */
    }

    .site-title {
        font-size: 1.2rem !important;
    }

    .hero-section {
        min-height: auto !important;
        /* Stop forcing full screen height */
        padding-top: 100px !important;
        /* Just enough to clear header */
        padding-bottom: 40px !important;
        height: auto !important;
    }

    .hero-content {
        max-width: 100% !important;
        padding: 0 20px !important;
    }

    /* 3. GRIDS & CARDS (Tighter) */
    .features-grid,
    .products-grid,
    .terms-grid,
    .socials-grid {
        gap: 15px !important;
        /* Tighter gaps */
        padding: 0 15px !important;
    }

    .manga-block,
    .feature-card,
    .social-card,
    .term-card {
        padding: 20px !important;
        /* Reduced padding */
        border-radius: 16px !important;
    }

    /* Social Icons Scale Down */
    .social-icon-wrapper {
        width: 50px !important;
        /* Smaller icons */
        height: 50px !important;
        margin-bottom: 15px !important;
    }

    .social-title {
        font-size: 1.4rem !important;
        margin-bottom: 10px !important;
    }

    /* 4. BUTTONS (Compact) */
    .btn-hero,
    .btn-social-action,
    .btn-buy,
    .header-btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        height: auto !important;
        min-height: 40px !important;
    }

    /* Header buttons specific */
    .header-controls .header-btn {
        padding: 0 10px !important;
        height: 36px !important;
        /* Compact header buttons */
        font-size: 0.8rem !important;
    }

    .header-btn img {
        height: 20px !important;
    }

    /* 5. FOOTER (Compact) */
    footer#socials-footer {
        padding: 40px 0 20px !important;
    }

    .footer-container {
        gap: 30px !important;
    }

    .footer-col h4 {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
    }

    .footer-bottom {
        margin-top: 30px !important;
        padding-top: 20px !important;
    }
}

/* --- 6. AGGRESSIVE MOBILE PERFECTION (MINIATURE & CLEAN) --- */
@media (max-width: 768px) {

    /* 1. AGGRESSIVE SCALING */
    html {
        font-size: 12px !important;
        /* Forces everything smaller */
    }

    /* 2. FOOTER FIXES (Vertical Stack & Centered) */
    .footer-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center !important;
        padding: 0 15px !important;
    }

    .footer-col {
        width: 100% !important;
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .footer-brand,
    .links-col ul,
    .items-center {
        justify-content: center !important;
    }

    .footer-desc {
        max-width: 80% !important;
        margin: 0 auto !important;
    }

    /* FIX EMAIL OVERFLOW */
    .footer-col a[href^="mailto"] {
        word-break: break-all !important;
        font-size: 1.1rem !important;
        display: inline-block !important;
        /* Wraps properly */
    }

    /* 3. GLOBAL SPACING REDUCTION */
    .terms-section,
    #products,
    .hero-section {
        margin-bottom: 40px !important;
        /* Huge reduction from 100px */
    }

    .socials-grid {
        gap: 15px !important;
    }

    /* 4. HEADER COMPACTNESS */
    /* .anime-header overrides removed */

    .logo-container {
        gap: 5px !important;
    }

    .header-waifu {
        height: 35px !important;
    }

    /* 5. HERO TEXT TWEAK */
    .hero-title br {
        display: none !important;
        /* Try to keep title on one line if possible or wrap naturally */
    }

    .hero-title {
        font-size: 1.6rem !important;
        /* Even smaller */
    }
}

/* --- 8. VERTICAL STACK MODE (V10: USER REQUEST) --- */
@media (max-width: 768px) {

    /* 1. RESET BASE SCALING */
    html {
        font-size: 14px !important;
    }

    body {
        min-width: 320px;
        overflow-x: hidden;
    }

    /* 2. PRODUCT GRID: FLEX COLUMN (Absolute Centering) */
    .products-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        /* Forces center alignment */
        gap: 25px !important;
        padding: 0 !important;
        /* Remove container padding */
        margin: 0 auto 50px !important;
        width: 100% !important;
    }

    /* Card Adjustments */
    .product-card {
        min-height: 420px !important;
        height: auto !important;
        width: calc(100% - 40px) !important;
        /* Explicit width with margins included */
        max-width: 400px !important;
        margin: 0 auto !important;
        /* Strict Center */
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .product-image {
        height: 180px !important;
        padding: 20px !important;
    }

    .product-info {
        padding: 20px !important;
        flex-grow: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .product-info h3 {
        font-size: 1.3rem !important;
        min-height: 0 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }

    .index-price-dual {
        font-size: 1.2rem !important;
        margin-bottom: 20px !important;
        justify-content: center !important;
    }

    .buy-btn {
        padding: 15px 0 !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
    }

    /* 3. TERMS (Left Aligned) */
    .terms-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 20px !important;
        justify-items: stretch !important;
    }

    .term-card {
        max-width: none !important;
        margin: 0 !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        padding: 20px !important;
    }

    /* STATS FIX - PURE SYMMETRY (All Center, No Borders) */
    .stats-section {
        padding: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    .stats-container {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 0 !important;
        padding: 0 5px !important;
        margin: 0 auto !important;
        align-items: center !important;
        justify-items: center !important;
        /* Forces all to center of their 1/3 slot */
    }

    .stat-text {
        width: 100% !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        border: none !important;
        /* CLEANER LOOK */
    }

    /* Reset Individual Positioning overrides */
    .stats-container .stat-text:nth-child(n) {
        justify-self: center !important;
        margin: 0 !important;
        align-items: center !important;
        text-align: center !important;
    }

    .stat-text h3 {
        font-size: 1.25rem !important;
        margin-bottom: 5px !important;
        line-height: 1 !important;
    }

    .stat-text p {
        font-size: 0.6rem !important;
        /* Fit text safely */
        letter-spacing: 0 !important;
        white-space: nowrap !important;
        opacity: 0.8 !important;
    }

    /* 4. BENEFITS (Center Aligned) */
    .benefits-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 20px !important;
        justify-items: center !important;
    }

    .benefit-card {
        max-width: none !important;
        margin: 0 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 30px !important;
    }

    .benefit-card div {
        text-align: center !important;
    }

    .term-num {
        text-align: left !important;
        min-width: 40px !important;
        /* Fixed width for alignment */
        margin-right: 15px !important;
    }

    .term-content,
    .term-head,
    .term-card p {
        text-align: left !important;
        /* Strict Left Align */
    }

    /* 4. FOOTER: COMPACT STACK */
    footer#socials-footer {
        padding: 20px 15px !important;
        /* Reduced padding */
    }

    .footer-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        /* Reduced gap */
        text-align: center !important;
        padding: 0 !important;
        align-items: center !important;
    }

    .footer-brand {
        margin-bottom: 5px !important;
    }

    .footer-col {
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
        align-items: center !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        /* Tighter internal spacing */
    }

    .footer-col h4 {
        margin-bottom: 5px !important;
        /* Tighter headers */
    }

    .footer-brand,
    .links-col ul,
    .items-center {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .footer-desc {
        text-align: center !important;
        margin: 5px auto 15px !important;
        /* Tighter margins */
        font-size: 0.85rem !important;
    }

    /* Email Fix */
    .footer-col a[href^="mailto"] {
        text-align: center !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* 5. HEADER & GENERAL */
    /* Mobile header overrides are now cleanly handled earlier */

    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
    }

    /* Slightly smaller to fit */
    .stat-text p {
        font-size: 0.75rem !important;
    }

    /* Socials Grid */
    .socials-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        max-width: 380px !important;
        margin: 0 auto !important;
    }

    /* Fix Button Size */
    .btn-social-action {
        width: auto !important;
        max-width: fit-content !important;
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
        min-height: auto !important;
        height: auto !important;
    }
}

/* --- COOKIE BANNER FIX (FORCE) --- */
#cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(15, 15, 20, 0.98);
    border: 1px solid #8b5cf6;
    padding: 20px;
    border-radius: 12px;
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: bottom 0.5s ease-out;
    /* Keep transition */
}

/* High specificity visual state */
#cookie-banner.show {
    bottom: 30px;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

.cookie-content p {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
    text-align: left;
    padding-right: 10px;
}

#btn-cookie {
    background: #8b5cf6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* MOBILE OVERRIDE */
@media (max-width: 768px) {
    #cookie-banner.show {
        bottom: 180px !important;
        /* Extremely high to force visibility */
        bottom: calc(180px + env(safe-area-inset-bottom)) !important;
        /* iOS Safe Area */
        width: 85% !important;
    }
}