/* ==========================================
   DEVIALET STYLE - PREMIUM MATTE DARK THEME
   ========================================== */
:root {
    --bg-main: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --green-neon: #00e676;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Orqa fondagi abstraktsion to'lqin effekti (Devialet Wave) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, #1a1a1a 0%, #080808 70%);
    opacity: 0.8;
    z-index: -2;
}

/* Fon effekti - Yengil shaffof Robux zarralari */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.robux-particle {
    position: absolute;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 14px;
    user-select: none;
    animation: fall linear infinite;
}

@keyframes fall {
    0% { transform: translateY(-50px) rotate(0deg); opacity: 0; }
    20% { opacity: 0.3; }
    80% { opacity: 0.3; }
    100% { transform: translateY(105vh) rotate(180deg); opacity: 0; }
}

/* ==========================================
   INTRO ANIMATSIYA
   ========================================== */
#intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050505;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#intro-screen.hide {
    opacity: 0;
    transform: scale(1.05);
    visibility: hidden;
    pointer-events: none;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.intro-logo-box {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.3);
    animation: logoPop 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

.intro-logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: invert(1);
}

@keyframes logoPop {
    to { opacity: 1; transform: scale(1); }
}

.intro-line {
    width: 2px;
    height: 0px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
    animation: lineGrow 0.5s ease forwards 0.9s;
}

@keyframes lineGrow {
    to { height: 70px; }
}

.intro-text-wrapper {
    overflow: hidden;
}

.intro-text {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    transform: translateX(-100%);
    opacity: 0;
    animation: textSlideOut 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.4s;
}

@keyframes textSlideOut {
    to { transform: translateX(0); opacity: 1; }
}

/* ==========================================
   NAVBAR (DEVIALET STYLE)
   ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(10,10,10,0.8), transparent);
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.buy-pill-btn {
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 22px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.buy-pill-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* ==========================================
   HERO SECTION (DEVIALET STYLE)
   ========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 60px;
    text-align: center;
}

.hero-bg-title {
    font-size: 11vw;
    font-weight: 900;
    letter-spacing: 12px;
    color: #ffffff;
    opacity: 0.95;
    line-height: 1;
    margin-top: -40px;
    text-transform: uppercase;
    user-select: none;
}

.hero-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-top: 10px;
    font-weight: 400;
}

/* PODIUM VA SUZIB TURUVCHI LOGO */
.podium-wrapper {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -40%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.floating-product-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: invert(1) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.9));
    animation: floatDevialet 4s ease-in-out infinite alternate;
    margin-bottom: -35px;
    z-index: 2;
}

@keyframes floatDevialet {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-18px); }
}

/* Tsilindr Podium */
.podium-stand {
    width: 240px;
    height: 180px;
    background: linear-gradient(180deg, #1c1c1c 0%, #0d0d0d 100%);
    border-radius: 120px / 30px;
    position: relative;
    box-shadow: 0 30px 50px rgba(0,0,0,0.9), inset 0 2px 4px rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 25px;
}

.podium-top {
    position: absolute;
    top: 0;
    width: 100%;
    height: 60px;
    background: #252525;
    border-radius: 50%;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.podium-icon {
    font-size: 12px;
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px;
    border-radius: 50%;
}

/* HERO LEFT DESC */
.hero-left-desc {
    position: absolute;
    bottom: 50px;
    left: 60px;
    max-width: 280px;
    text-align: left;
}

.hero-left-desc p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* HERO RIGHT SOCIALS */
.hero-socials {
    position: absolute;
    bottom: 50px;
    right: 60px;
    display: flex;
    gap: 20px;
}

.hero-socials a {
    color: var(--text-secondary);
    font-size: 16px;
    transition: color 0.3s ease;
}

.hero-socials a:hover {
    color: var(--text-primary);
}

/* ABOUT SECTION */
.about-section {
    min-height: 60vh;
    background: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
}

.section-title {
    font-size: 24px;
    letter-spacing: 6px;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 2px;
}
/* ==========================================
   SAHIFADAN SAHIFAGA O'TGANDAGI ANIQ VA CHIROYLI ANIMATSIYA
   ========================================== */
main, section.store-section, main.rating-section, main.payments-section {
    animation: pageSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: center;
}

@keyframes pageSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98); /* Pastdan chiqib, biroz kattalashadi */
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* ==========================================
   DEVIALET STYLE - LUXURY HERO CTA BUTTON
   ========================================== */

.devialet-store-btn,
.MAIN-BUTTON {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    padding: 14px 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 10;
}

.devialet-store-btn .btn-text {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.devialet-store-btn .btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover: Devialet signature stark white inversion */
.devialet-store-btn:hover,
.MAIN-BUTTON:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(255, 255, 255, 0.25),
        0 0 25px rgba(255, 255, 255, 0.15);
}

.devialet-store-btn:hover .btn-arrow {
    transform: translateX(6px);
}

.devialet-store-btn:active,
.MAIN-BUTTON:active {
    transform: translateY(0) scale(0.98);
}

/* MOBILE MENU DEFAULT */
.mobile-nav,
.menu-btn,
.mobile-menu,
#menu-toggle {
    display: none;
}

/* =================================
   MOBILE RESPONSIVE ONLY
================================= */

@media screen and (max-width: 768px) {

    .navbar {
        padding: 18px 15px;
        height: 75px;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
    }

    .logo {
        font-size: 14px;
        letter-spacing: 2px;
    }

    /* Desktop menyuni yashirish */
    .desktop-menu,
    .buy-pill-btn {
        display: none;
    }

    /* Telefon headeri */
    .mobile-nav {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-nav a {
        color: #888;
        text-decoration: none;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .mobile-nav a:hover {
        color: white;
    }

    /* Hamburger */
    #menu-toggle {
        display: none;
    }

    .menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 25px;
        cursor: pointer;
        z-index: 102;
    }

    .menu-btn span {
        width: 22px;
        height: 2px;
        background: white;
        border-radius: 5px;
        transition: 0.3s ease;
    }

    #menu-toggle:checked + .menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    #menu-toggle:checked + .menu-btn span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hamburger menyu */
    .mobile-menu {
        display: flex;
        position: absolute;
        top: 75px;
        right: 12px;
        width: 180px;
        padding: 12px;
        flex-direction: column;
        gap: 5px;
        background: rgba(20, 20, 20, 0.97);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 15px;
        backdrop-filter: blur(20px);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px) scale(0.95);
        transition: 0.3s ease;
        z-index: 101;
    }

    #menu-toggle:checked ~ .mobile-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .mobile-menu a {
        color: white;
        text-decoration: none;
        padding: 13px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    /* HERO */
    .hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-bg-title {
        font-size: 10vw;
        letter-spacing: 2px;
    }

    .hero-tagline {
        font-size: 11px;
    }

    /* Mobile Devialet CTA button */
    .devialet-store-btn,
    .MAIN-BUTTON {
        font-size: 12px;
        letter-spacing: 2px;
        padding: 12px 30px;
        margin-top: 24px;
    }

    .hero-left-desc {
        left: 15px;
        max-width: 180px;
    }

    .hero-left-desc p {
        font-size: 10px;
    }

    .hero-socials {
        right: 15px;
        gap: 12px;
    }

    /* ORIGINAL INTRO ANIMATSIYASI
       Faqat razmeri kichrayadi */

    .intro-content {
        transform: scale(0.65);
    }

    .intro-logo-box {
        flex-shrink: 0;
    }

    .intro-text {
        font-size: 42px;
        white-space: nowrap;
    }

    /* FLOATING ELEMENTS */
    .podium-wrapper {
        transform: translate(-50%, -40%) scale(0.75);
    }

}

/* KICHIK TELEFONLAR */
@media screen and (max-width: 380px) {

    .navbar {
        padding: 15px 10px;
    }

    .logo {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .mobile-nav {
        gap: 8px;
    }

    .mobile-nav a {
        font-size: 9px;
    }

    .menu-btn span {
        width: 19px;
    }

    .intro-content {
        transform: scale(0.52);
    }

    .hero-bg-title {
        font-size: 9vw;
    }
}