:root {
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
}

* {
    font-family: 'Inter', sans-serif;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

.inline-code {
    font-family: 'JetBrains Mono', monospace;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 0.25rem;
    padding: 0.125rem 0.375rem;
    font-size: 0.9em;
    color: #22d3ee;
    font-weight: 500;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(14, 165, 233, 0.1);
}

[class*="icon"], 
.feature-icon,
.capability-icon,
.telegram-icon,
.telegram-link-icon,
.logo-nav,
.logo-hero,
.logo-footer {
    cursor: pointer;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0f172a;
    z-index: 0;
}

.animated-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(15, 23, 42, 0.4) 70%);
    z-index: 1;
}

/* Scroll content area (below hero) */
.main-content-bg-wrap {
    position: relative;
    z-index: 5;
    min-height: 100vh;
}

.blurred-kingrat-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-color: #0f172a;
    min-height: 100%;
}

.blurred-kingrat-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(15, 23, 42, 0.4) 70%);
    z-index: 1;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(20, 184, 166, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.8;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #14b8a6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.nav-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-bar {
    background: rgba(15, 23, 42, 0.85);
}

.nav-brand-text {
    background: linear-gradient(135deg, #38bdf8, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.nav-link {
    position: relative;
    color: rgba(226, 232, 240, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #22d3ee;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #14b8a6);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hero-section {
    padding-top: 7rem;
    padding-bottom: 6rem;
    position: relative;
    z-index: 20;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(15, 23, 42, 0.4) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title-text {
    font-weight: 700;
}

.hero-body {
    line-height: 1.5;
}

.hero-badge {
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.35);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 1.75rem;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: pointer;
}

.feature-badge:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.2);
}

.feature-badge-icon {
    font-size: 1.25rem;
    cursor: pointer;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.08), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 0 16px 32px rgba(14, 165, 233, 0.15);
}

.feature-icon {
    font-size: 3.25rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.architecture-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.35s ease;
}

.architecture-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.12);
}

.tech-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: rgba(14, 165, 233, 0.45);
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.1);
}

.capability-item {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.35s ease;
}

.capability-item:hover {
    transform: translateX(8px);
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.12);
}

.capability-icon {
    font-size: 3rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.capability-item:hover .capability-icon {
    transform: scale(1.15) rotate(-5deg);
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(20, 184, 166, 0.12));
    border-radius: 50%;
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-slide-up {
    animation: slide-up 1s ease-out 0.3s both;
}

.animate-fade-in-delay {
    animation: fade-in 1s ease-out 0.6s both;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    scroll-padding-top: 0;
}

#features,
#architecture,
#technical,
#capabilities,
#compatibility {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video section — appears after hero */
.video-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.97) 0%, rgba(15, 23, 42, 0.99) 100%);
    min-height: 0;
}

.video-wrapper {
    max-width: 960px;
    margin: 0 auto;
}

.video-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0b1220;
    border: 3px solid #1e3a5f;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.2),
                0 0 0 1px rgba(30, 58, 95, 0.8),
                0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 48px -8px rgba(14, 165, 233, 0.25);
    padding: 12px;
    min-height: 340px;
}

.video-frame .video-embed {
    width: 100%;
    display: block;
    min-height: 280px;
    background: #0b1220;
    border-radius: 8px 8px 0 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    cursor: pointer;
}

.video-frame .video-embed::-webkit-media-controls {
    opacity: 1;
}

/* Control bar at bottom only — no full-size blue; avoid gradient over video */
.video-frame .video-embed::-webkit-media-controls-panel {
    background: rgba(15, 23, 42, 0.95) !important;
    background-image: none !important;
}

/* Enclosure: do not paint a full-size blue layer over the video */
.video-frame .video-embed::-webkit-media-controls-enclosure {
    background: transparent !important;
    overflow: visible !important;
}

/* Chrome: hide native overlay play button and any overlay enclosure (source of blue overlay) */
.video-frame .video-embed::-webkit-media-controls-overlay-play-button,
.video-embed::-webkit-media-controls-overlay-play-button {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}
.video-frame .video-embed::-webkit-media-controls-overlay-enclosure,
.video-embed::-webkit-media-controls-overlay-enclosure {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* Our play button only — small centered circle, no full-cover layer */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    background: transparent;
    border: none;
    padding: 0;
}
.video-frame.video-playing .video-play-overlay {
    display: none !important;
}

/* Custom controls (no native controls = no Chrome overlay) */
.video-custom-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.98);
    border-top: 1px solid rgba(30, 58, 95, 0.8);
    border-radius: 0 0 8px 8px;
}
.video-ctrl-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 14px;
    line-height: 1;
}
.video-ctrl-btn:hover {
    color: #e2e8f0;
}
.video-ctrl-time {
    font-size: 12px;
    color: #94a3b8;
    min-width: 80px;
}
.video-ctrl-volume-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100px;
    min-width: 100px;
}
.video-ctrl-volume {
    flex: 1;
    min-width: 0;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(30, 58, 95, 0.6);
    border-radius: 3px;
}
.video-ctrl-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0ea5e9;
    cursor: pointer;
}
.video-ctrl-volume::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0ea5e9;
    cursor: pointer;
    border: none;
}
.video-ctrl-progress-wrap {
    flex: 1;
    min-width: 0;
}
.video-ctrl-progress {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(30, 58, 95, 0.6);
    border-radius: 3px;
}
.video-ctrl-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0ea5e9;
    cursor: pointer;
}
.video-ctrl-progress::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0ea5e9;
    cursor: pointer;
    border: none;
}

.video-play-overlay .video-play-icon {
    position: relative;
    z-index: 1;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-style: solid;
    border-width: 18px 0 18px 32px;
    border-color: transparent transparent transparent #fff;
}

.video-play-overlay .video-play-btn-circle {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    transition: background 0.2s, transform 0.2s;
}

.video-play-overlay:hover .video-play-btn-circle {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}

.video-play-overlay:focus {
    outline: none;
}

.video-play-overlay:focus .video-play-btn-circle {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.text-glow {
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.4),
                 0 0 40px rgba(14, 165, 233, 0.25),
                 0 0 60px rgba(6, 182, 212, 0.15);
}

@media (max-width: 768px) {
    .feature-card,
    .architecture-card,
    .tech-card,
    .capability-item {
        padding: 1.5rem;
    }
    
    .floating-element {
        width: 60px;
        height: 60px;
    }
}

::selection {
    background: rgba(14, 165, 233, 0.25);
    color: white;
}

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

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #9333ea, #2563eb);
}

.contact-btn {
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.45);
    background: linear-gradient(135deg, #0284c7, #0d9488);
}

.contact-btn:active {
    transform: translateY(0);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-container {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 1.5rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: rgba(14, 165, 233, 0.15);
    color: #22d3ee;
    transform: rotate(90deg);
}

.modal-content {
    padding: 2rem;
}

.telegram-contact {
    text-align: center;
}

.telegram-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0088cc, #229ED9);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
    cursor: pointer;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 158, 217, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(34, 158, 217, 0);
    }
}

.telegram-link-container {
    margin: 2rem 0;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0088cc, #229ED9);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 158, 217, 0.3);
}

.telegram-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 158, 217, 0.5);
    background: linear-gradient(135deg, #0077b5, #1a8cd8);
}

.telegram-link-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    cursor: pointer;
}

.telegram-link-text {
    font-family: 'JetBrains Mono', monospace;
}

.logo-wrapper-nav {
    display: inline-block;
    background: white;
    border-radius: 50%;
    padding: 2px;
}

.logo-nav {
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.25));
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.logo-nav:hover {
    filter: drop-shadow(0 0 16px rgba(14, 165, 233, 0.6)) 
            drop-shadow(0 0 32px rgba(6, 182, 212, 0.4))
            brightness(1.2);
    transform: scale(1.05);
}

.logo-hero {
    filter: drop-shadow(0 0 16px rgba(14, 165, 233, 0.35));
    border-radius: 50%;
    padding: 8px;
    border: 2px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.2),
                inset 0 0 20px rgba(14, 165, 233, 0.08);
    mix-blend-mode: darken;
    animation: logoFloat 3s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.logo-hero:hover {
    filter: drop-shadow(0 0 40px rgba(14, 165, 233, 0.7)) 
            drop-shadow(0 0 80px rgba(6, 182, 212, 0.5))
            drop-shadow(0 0 120px rgba(20, 184, 166, 0.3))
            brightness(1.4)
            contrast(1.1);
    transform: scale(1.08);
    animation-play-state: paused;
    border-color: rgba(14, 165, 233, 0.6);
    box-shadow: 0 0 32px rgba(14, 165, 233, 0.35),
                inset 0 0 24px rgba(6, 182, 212, 0.15);
}

.logo-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(6, 182, 212, 0.15) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease, width 0.4s ease, height 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.logo-hero:hover::before {
    opacity: 1;
    width: 300%;
    height: 300%;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.logo-wrapper-footer {
    display: inline-block;
    border-radius: 50%;
    padding: 2px;
    position: relative;
    isolation: isolate;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.logo-footer {
    filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.25)) brightness(1.5) contrast(1.3);
    mix-blend-mode: multiply;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    position: relative;
    z-index: 1;
}

.logo-footer:hover {
    filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.6)) 
            drop-shadow(0 0 30px rgba(6, 182, 212, 0.4))
            brightness(1.3);
    opacity: 1;
    transform: scale(1.05);
}

.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.windows-version-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.windows-version-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.08), transparent);
    transition: left 0.5s ease;
}

.windows-version-card:hover::before {
    left: 100%;
}

.windows-version-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15);
}

.windows-icon {
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.35));
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.windows-icon svg,
.windows-icon img {
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
    object-fit: contain;
}

.windows-xp .windows-icon img {
    filter: none;
}

.windows-vista .windows-icon img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(95%) saturate(5000%) hue-rotate(200deg) brightness(0.9) contrast(1.2);
}

.windows-7 .windows-icon img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(95%) saturate(5000%) hue-rotate(200deg) brightness(0.9) contrast(1.2);
}

.windows-version-card:hover .windows-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.5));
}

.windows-version-card:hover .windows-icon svg {
    filter: brightness(1.2);
}

.windows-version-info {
    flex: 1;
    margin-bottom: 1rem;
}

.windows-version-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.windows-version-year {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}

.windows-check {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.windows-version-card:hover .windows-check {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.donate-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.faq-item {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 10;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.faq-item * {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

#faq-section {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
}

#faq-section * {
    filter: none !important;
    opacity: 1 !important;
    color: inherit !important;
}

#faq-section .text-gray-300 {
    color: rgb(209, 213, 219) !important;
    opacity: 1 !important;
}

#faq-section .text-gray-400 {
    color: rgb(156, 163, 175) !important;
    opacity: 1 !important;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15);
}

.donate-link {
    display: inline-block;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.donate-link:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.25));
}

.donate-link img {
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .telegram-link {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .logo-hero {
        height: 6rem !important;
    }
    
    .compatibility-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .windows-version-card {
        padding: 1.25rem;
    }
    
    .windows-icon {
        font-size: 2.5rem;
    }
    
    .windows-version-name {
        font-size: 1.25rem;
    }
    
    .donate-link img {
        width: 180px;
        height: auto;
    }
}

/* Blur effects for scroll */
.blur-on-scroll {
    filter: blur(8px);
    transition: filter 0.3s ease-in-out;
    pointer-events: none;
}

.blur-on-scroll-nav {
    filter: blur(4px);
    transition: filter 0.3s ease-in-out;
}

