/* ========================================
   Nuetskavalkad 2026 - Premium Design
   High-End Professional Style
   ======================================== */

:root {
    --primary: #00E5FF;
    --primary-dark: #00B8CC;
    --primary-glow: rgba(0, 229, 255, 0.15);
    --bg-dark: #0D0D0D;
    --bg-darker: #080808;
    --bg-card: #141414;
    --bg-card-hover: #1A1A1A;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 229, 255, 0.3);
    --text-white: #FFFFFF;
    --text-gray: #9CA3AF;
    --text-light-gray: #6B7280;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--primary-glow);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: var(--primary);
    color: var(--bg-darker);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(0, 229, 255, 0.05), transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(0, 229, 255, 0.05), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   Navigation
   ======================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1.5rem 0;
    background: transparent;
    transition: all 0.4s var(--ease);
}

.main-nav.scrolled {
    padding: 1rem 0;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .brand-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s var(--ease);
}

.main-nav.scrolled .brand-logo {
    height: 55px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
    position: relative;
    padding: 0.5rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s var(--ease);
}

.nav-item:hover,
.nav-item.active {
    color: var(--text-white);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.nav-social {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: all 0.3s var(--ease);
    background: rgba(255, 255, 255, 0.02);
}

.nav-social:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-darker);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.3);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-swiper {
    height: 100%;
    width: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    background: url('img/s.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1000px;
}

.hero-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -0.03em;
    color: var(--text-white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--primary);
    color: var(--bg-darker);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.4s var(--ease);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.25);
}

.hero-btn:hover {
    background: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 229, 255, 0.4);
}

.hero-btn i {
    transition: transform 0.3s var(--ease);
}

.hero-btn:hover i {
    transform: translateX(4px);
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s var(--ease);
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 32px;
    border-radius: 5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.scroll-indicator a {
    color: var(--text-white);
    font-size: 2rem;
    opacity: 0.6;
    transition: all 0.3s var(--ease);
}

.scroll-indicator a:hover {
    opacity: 1;
    color: var(--primary);
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-12px); }
}

/* ========================================
   Sections
   ======================================== */
section {
    padding: 120px 0;
    position: relative;
}

.section {
    background: var(--bg-dark);
}

.section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.3;
}

.container-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.section-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse, var(--primary-glow), transparent);
    z-index: -1;
}

.section-line.white {
    background: linear-gradient(90deg, var(--primary), var(--text-white));
}

/* ========================================
   Info Cards Section
   ======================================== */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.link-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.link-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--primary-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    z-index: 0;
}

.link-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.link-card:hover::before {
    transform: scaleX(1);
}

.link-card:hover::after {
    opacity: 1;
}

.card-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-darker);
    transition: all 0.4s var(--ease);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.card-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-white);
    position: relative;
    z-index: 1;
}

.card-description {
    color: var(--text-gray);
    line-height: 1.4;
    margin: 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.card-arrow {
    color: var(--primary);
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s var(--ease);
    position: relative;
    z-index: 1;
}

.link-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   Countdown Section
   ======================================== */
.countdown-section {
    padding: 120px 0;
    background: var(--bg-darker);
    position: relative;
}

.weather-widget {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.weather-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.weather-date {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.weather-icon {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

.weather-temp {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}

.weather-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-transform: capitalize;
}

.weather-main {
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.weather-main-temp {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--text-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.weather-main-desc {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.weather-location {
    color: var(--text-gray);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.countdown-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.countdown-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    z-index: -1;
}

.countdown-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--primary-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.countdown-card:hover::before {
    opacity: 0.15;
}

.countdown-card:hover::after {
    opacity: 1;
}

.countdown-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.countdown-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--text-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================
   Partners Section
   ======================================== */
.partners-section {
    background: var(--text-white);
    padding: 100px 0;
}

.partners-section .section-title {
    color: var(--bg-darker);
}

.partners-section .section-line {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.partner-item {
    padding: 1rem;
}

.partner-item img {
    max-width: 220px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: 120px 0;
    background: var(--bg-darker);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info-title,
.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-white);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: all 0.3s var(--ease);
}

.contact-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 12px;
}

.contact-item span {
    color: var(--text-white);
    font-size: 1.1rem;
}

.qr-wrapper {
    margin-top: 2rem;
}

.qr-image {
    max-width: 220px;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 1rem;
    background: var(--bg-card);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.3s var(--ease);
}

.contact-form:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1.25rem;
    transition: all 0.3s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light-gray);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    width: 100%;
    padding: 1.25rem;
    background: var(--primary);
    color: var(--bg-darker);
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.form-submit:hover {
    background: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 229, 255, 0.4);
}

.form-submit i {
    transition: transform 0.3s var(--ease);
}

.form-submit:hover i {
    transform: translateX(4px);
}

.form-message {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    display: block;
}

.form-message.error {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid #ff6b35;
    color: #ff6b35;
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-text {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

.footer-link {
    color: var(--primary);
    transition: all 0.3s var(--ease);
}

.footer-link:hover {
    color: var(--text-white);
}

/* ========================================
   Scroll to Top
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--bg-darker);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
    z-index: 9998;
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--text-white);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 229, 255, 0.5);
}

/* ========================================
   Modal
   ======================================== */
.custom-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
}

.custom-modal .modal-header {
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
}

.custom-modal .modal-title {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.5rem;
}

.custom-modal .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.custom-modal .btn-close:hover {
    opacity: 1;
}

.custom-modal .modal-body {
    padding: 2rem;
}

.modal-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.modal-btn:last-child {
    margin-bottom: 0;
}

.modal-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-darker);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.3);
}

.modal-btn i {
    color: var(--primary);
    transition: color 0.3s var(--ease);
}

.modal-btn:hover i {
    color: var(--bg-darker);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .container-custom {
        padding: 0 1.5rem;
    }
    
    .links-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        border-left: 1px solid var(--border);
        transition: right 0.4s var(--ease);
        align-items: flex-start;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        font-size: 1.25rem;
    }

    .lang-switcher {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 80px 0;
    }

    .countdown-section,
    .contact-section {
        padding: 80px 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .countdown-section,
    .contact-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .countdown-card {
        padding: 2rem 1rem;
    }

    .countdown-value {
        font-size: 3.5rem;
    }

    .brand-logo {
        height: 45px !important;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .countdown-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .scroll-top-btn {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ========================================
   Accessibility
   ======================================== */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.nav-item:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 6px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   Language Switcher
   ======================================== */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.lang-btn {
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.lang-btn:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
}

.lang-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ========================================
   Cookie Consent Banner
   ======================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 1.25rem 2rem;
    z-index: 9997;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 0 0 0.5rem 0;
}

.cookie-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}

.cookie-btn.accept {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-darker);
}

.cookie-btn.accept:hover {
    background: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

.cookie-btn.decline {
    background: transparent;
    border-color: var(--border);
    color: var(--text-gray);
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-gray);
    color: var(--text-white);
}

/* ========================================
   Skip to Content (Accessibility)
   ======================================== */
.skip-to-content {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-darker);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s var(--ease);
}

.skip-to-content:focus {
    top: 1rem;
    outline: 2px solid var(--text-white);
    outline-offset: 4px;
}

/* ========================================
   Visually Hidden (Accessibility)
   ======================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Utilities
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--text-white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   LOADING SCREEN
   ======================================== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-ring {
    position: absolute;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    width: 150px;
    height: 150px;
    animation-duration: 1.5s;
}

.spinner-ring:nth-child(2) {
    width: 120px;
    height: 120px;
    animation-duration: 2s;
    animation-direction: reverse;
    border-top-color: rgba(0, 229, 255, 0.5);
}

.spinner-ring:nth-child(3) {
    width: 90px;
    height: 90px;
    animation-duration: 2.5s;
    border-top-color: rgba(0, 229, 255, 0.3);
}

.loading-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

/* ========================================
   FADE-IN ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s var(--ease) forwards;
}

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

/* Staggered animations for sections */
.section {
    animation-delay: 0.1s;
}

/* ========================================
   LAZY LOADING IMAGES
   ======================================== */
.lazy-image {
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.lazy-image.loaded {
    opacity: 1;
}


/* ========================================
   ENHANCED MICRO-INTERACTIONS
   ======================================== */

/* Card hover with glow effect */
.link-card,
.countdown-card,
.contact-item {
    position: relative;
    overflow: hidden;
}

.link-card::after,
.countdown-card::after {
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.link-card:hover::after {
    transform: scale(1.1);
}

/* Enhanced button interactions */
.hero-btn,
.form-submit,
.cookie-btn.accept,
.modal-btn {
    position: relative;
    overflow: hidden;
}

.hero-btn::before,
.form-submit::before,
.cookie-btn.accept::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s var(--ease), height 0.6s var(--ease);
}

.hero-btn:hover::before,
.form-submit:hover::before,
.cookie-btn.accept:hover::before {
    width: 300px;
    height: 300px;
}

/* Scroll-triggered animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Icon rotation on hover */
.card-icon-wrapper {
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.link-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.4);
}

/* Enhanced scroll indicator */
.scroll-indicator a {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Countdown card pulse effect */
.countdown-card:hover .countdown-value {
    animation: countPulse 0.5s ease-in-out;
}

@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Form input focus glow */
.contact-form input:focus,
.contact-form textarea:focus {
    animation: inputGlow 1s ease-in-out infinite alternate;
}

@keyframes inputGlow {
    from {
        box-shadow: 0 0 0 3px var(--primary-glow);
    }
    to {
        box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.25), 0 0 20px rgba(0, 229, 255, 0.1);
    }
}

/* Weather widget animation */
.weather-widget {
    animation: slideDown 0.6s var(--ease);
}

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

/* Enhanced navigation active state */
.nav-item.active {
    animation: navPulse 2s ease-in-out infinite;
}

@keyframes navPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Ripple effect on buttons */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    z-index: 10000;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 10px rgba(0, 229, 255, 0.5);
}

/* Enhanced cookie banner entrance */
.cookie-consent.show {
    animation: slideUp 0.5s var(--ease);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Performance optimization */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .loading-screen {
        animation: none;
    }
}

/* ========================================
   RESPONSIVE ENHANCEMENTS
   ======================================== */
@media (max-width: 768px) {
    .loading-spinner {
        width: 120px;
        height: 120px;
    }
    
    .spinner-ring:nth-child(1) {
        width: 120px;
        height: 120px;
    }
    
    .spinner-ring:nth-child(2) {
        width: 95px;
        height: 95px;
    }
    
    .spinner-ring:nth-child(3) {
        width: 70px;
        height: 70px;
    }
    
    .loading-logo {
        width: 45px;
        height: 45px;
    }
}
