:root {
    --bg-color: #0a0f18;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-color: #ff6d00;
    --secondary-color: #00e5ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-orange: #ff6d00;
    --esport-gold: #ffd700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary-color);
}

.section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

/* Nav */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(10, 15, 24, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 109, 0, 0.4));
    margin-right: 10px;
}

.nex { color: #fff; }
.arena { color: var(--primary-color); font-style: italic; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border-radius: 8px;
    transition: 0.3s;
    gap: 10px;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px rgba(255, 109, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 109, 0, 0.6);
}

.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-large { padding: 18px 40px; font-size: 1.2rem; }
.btn-full { width: 100%; padding: 20px; border-radius: 0; }

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(circle at 10% 30%, rgba(255, 109, 0, 0.05) 0%, transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
}

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.esport-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255, 109, 0, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(255, 109, 0, 0.2);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
}

.download-info {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border: 8px solid #1a1a1a;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(255, 109, 0, 0.2);
}

.screen-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats */
.stats {
    background: rgba(255, 255, 255, 0.02);
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stat-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--primary-color);
}

.stat-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Games Section */
.games-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.game-item {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
    cursor: default;
}

.game-item:hover {
    background: rgba(255, 109, 0, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    position: relative;
    padding-top: 50px;
}

.step-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.step p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

/* Tutorial Section */
.tutorial-section {
    background: radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.03) 0%, transparent 40%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tutorial-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(255, 109, 0, 0.15);
}

.video-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s;
    filter: brightness(0.85);
}

.video-card:hover .thumbnail-img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.play-btn-glow {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    filter: blur(15px);
    transition: all 0.4s ease;
    z-index: 1;
}

.video-card:hover .play-btn-glow {
    opacity: 0.6;
    transform: scale(1.2);
}

.play-btn {
    position: absolute;
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 109, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-icon {
    width: 28px;
    height: 28px;
    color: white;
    margin-left: 4px;
}

.video-card:hover .play-btn {
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.video-card:hover .play-icon {
    color: var(--primary-color);
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    border: 1px solid rgba(255, 109, 0, 0.3);
    z-index: 2;
}

.video-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.video-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    line-height: 1.3;
    transition: color 0.3s;
}

.video-card:hover .video-info h3 {
    color: var(--primary-color);
}

.video-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.btn-watch-now {
    margin-top: 10px;
    background: rgba(255, 109, 0, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 12px 25px;
    border-radius: 8px;
    align-self: flex-start;
    font-size: 0.95rem;
    transition: 0.3s;
}

.yt-icon {
    width: 20px;
    height: 20px;
}

.video-card:hover .btn-watch-now {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 109, 0, 0.4);
}

/* Sticky Download */
.sticky-download {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    z-index: 2000;
}

@media (max-width: 768px) {
    .nav-links, .btn-small { display: none; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 3rem; }
    .hero-image { display: none; }
    .hero { height: auto; padding: 150px 0 100px; }
    .stats-grid, .features-grid, .steps-grid { grid-template-columns: 1fr; gap: 40px; }
    .video-card { grid-template-columns: 1fr; }
    .video-info { padding: 30px 20px; }
    .video-info h3 { font-size: 1.3rem; }
    .sticky-download { display: block; }
    .section-title { font-size: 2rem; }
}

/* ===== THREE DOT SECRET MENU ===== */
.secret-menu-wrapper {
    position: relative;
    margin-left: 10px;
}

.three-dot-btn {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.three-dot-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

.three-dot-btn span {
    display: block;
    width: 4px;
    height: 4px;
    background: #a0a0a0;
    border-radius: 50%;
    transition: background 0.3s;
}

.three-dot-btn:hover span {
    background: #8b5cf6;
}

.secret-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(15, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    min-width: 160px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(139, 92, 246, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 9999;
}

.secret-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.secret-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c4b5fd;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.secret-dropdown-item:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #fff;
}

/* ===== NOTEX FULL PAGE OVERLAY ===== */
.notex-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(5, 3, 15, 0.97);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto;
}

.notex-overlay.open {
    opacity: 1;
    visibility: visible;
}

.notex-page {
    background: linear-gradient(135deg, rgba(30, 10, 60, 0.95) 0%, rgba(15, 5, 35, 0.98) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 28px;
    max-width: 560px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(139, 92, 246, 0.1), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: none;
}

.notex-overlay.open .notex-page {
    transform: translateY(0) scale(1);
}

.notex-close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: #a0a0a0;
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.notex-close-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #fff;
    border-color: #8b5cf6;
}

.notex-header {
    margin-bottom: 36px;
}

.notex-logo-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.4), 0 0 80px rgba(124, 58, 237, 0.15);
    animation: notexPulse 3s ease-in-out infinite;
}

@keyframes notexPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.4), 0 0 80px rgba(124, 58, 237, 0.15); }
    50% { box-shadow: 0 0 60px rgba(124, 58, 237, 0.6), 0 0 100px rgba(124, 58, 237, 0.25); }
}

.notex-logo-inner {
    font-size: 2.8rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

.notex-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, #c4b5fd, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 6px;
    margin-bottom: 8px;
}

.notex-subtitle {
    color: #a0a0a0;
    font-size: 1.05rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.notex-badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

.notex-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
    text-align: left;
}

.notex-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 14px;
    transition: all 0.3s;
}

.notex-feature-item:hover {
    background: rgba(139, 92, 246, 0.07);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(4px);
}

.nf-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.notex-feature-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #e2d9f3;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.notex-feature-item p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.4;
}

.notex-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 14px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
    width: 100%;
}

.notex-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.6);
    background: linear-gradient(135deg, #6d28d9, #4338ca);
}

.notex-version {
    margin-top: 14px;
    font-size: 0.82rem;
    color: #4b5563;
    letter-spacing: 0.5px;
}

/* ===== PASSWORD MODAL ===== */
.pass-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 11000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.pass-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.pass-modal {
    background: linear-gradient(135deg, rgba(20, 8, 50, 0.98) 0%, rgba(10, 5, 25, 0.99) 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
    padding: 44px 36px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 40px rgba(124, 58, 237, 0.12);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pass-modal-overlay.open .pass-modal {
    transform: scale(1);
}

.pass-modal-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 12px rgba(255,200,50,0.4));
}

.pass-modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #e2d9f3;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.pass-modal-desc {
    color: #6b7280;
    font-size: 0.92rem;
    margin-bottom: 28px;
    line-height: 1.5;
}

.pass-input-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.pass-input {
    width: 100%;
    padding: 14px 50px 14px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    color: #e2d9f3;
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 2px;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.pass-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.pass-input::placeholder {
    letter-spacing: 1px;
    color: #4b5563;
}

.pass-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.pass-toggle:hover { opacity: 1; }

.pass-error {
    font-size: 0.85rem;
    color: #f87171;
    margin-bottom: 18px;
    height: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.pass-error.show { opacity: 1; }

.pass-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
    margin-bottom: 12px;
}

.pass-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.5);
}

.pass-cancel-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    color: #6b7280;
    padding: 10px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.pass-cancel-btn:hover {
    border-color: rgba(255,255,255,0.2);
    color: #a0a0a0;
}

/* ===== FINAL DOWNLOAD MODAL ===== */
.final-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 11000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.final-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.final-modal {
    background: linear-gradient(135deg, rgba(5, 25, 15, 0.98) 0%, rgba(3, 12, 8, 0.99) 100%);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
    padding: 44px 36px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 40px rgba(52, 211, 153, 0.08);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.final-modal-overlay.open .final-modal {
    transform: scale(1);
}

.final-success-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.1);
    border: 2px solid rgba(52, 211, 153, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.2rem;
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.2);
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.final-modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #6ee7b7;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.final-modal-desc {
    color: #6b7280;
    font-size: 0.92rem;
    margin-bottom: 28px;
    line-height: 1.5;
}

.final-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35);
    margin-bottom: 4px;
}

.final-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(5, 150, 105, 0.5);
    background: linear-gradient(135deg, #10b981, #059669);
}

@media (max-width: 480px) {
    .notex-page { padding: 36px 24px; }
    .notex-title { font-size: 2.2rem; }
    .pass-modal { padding: 36px 24px; }
    .final-modal { padding: 36px 24px; }
    .three-dot-btn { margin-left: 6px; }
}

/* Shake animation for wrong password */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    15%       { transform: translateX(-8px); }
    30%       { transform: translateX(8px); }
    45%       { transform: translateX(-6px); }
    60%       { transform: translateX(6px); }
    75%       { transform: translateX(-4px); }
    90%       { transform: translateX(4px); }
}

.pass-input.shake {
    animation: shake 0.5s ease;
    border-color: #f87171 !important;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2) !important;
}


