@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Jost", sans-serif;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fullscreen Intro Video */
.intro-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: #000;
    display: block;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.intro-video-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.skip-intro-btn {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 100001;
}

.skip-intro-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.skip-intro-btn:active {
    transform: translateX(-50%) translateY(-1px);
}

.skip-intro-btn svg {
    transition: transform 0.3s ease;
}

.skip-intro-btn:hover svg {
    transform: translateX(2px);
}

.intro-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: white;
    z-index: 100001;
}

.intro-loading.hidden {
    display: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.intro-loading p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* iOS 11 and Safari mobile fixes */
@media screen and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) {
    .fullscreen-section {
        min-height: 100vh;
        min-height: calc(100vh - env(safe-area-inset-bottom));
    }
    
    .main-content {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .countdown-display {
        -webkit-overflow-scrolling: touch;
    }
    
    .time-block {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Touch-friendly interactions */
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button, a, .download-btn, .thumbnail {
    touch-action: manipulation;
}

.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-menu .logo {
    background: url("./assets/logo_dark-2.png") no-repeat;
    width: 97px;
    height: 38px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.top-menu-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.top-menu-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.ease-down {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.top-menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.social-link svg {
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.aion-classic-logo {
    background: url("./assets/sec-1-logo.png") no-repeat 100%;
    width: 0.3vw;
    height: 293px;
    z-index: 5;
}


.sidebar {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    z-index: 1000;
    padding: 1rem;
}

.ledger-regular {
    font-weight: 400;
    font-style: normal;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.nav-menu li {
    margin: 0;
    position: relative;
    padding-left: 2rem;
    display: flex;
    align-items: center;
    min-height: 32px;
}

.nav-menu li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M12 2L15.09 8.26L22 9L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9L8.91 8.26L12 2Z"/><circle cx="12" cy="12" r="3" fill="%23f0f0f0"/></svg>') no-repeat center;
    background-size: 16px 16px !important;
    transition: none;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
    transform: none !important;
}

.nav-menu li:hover::before {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) brightness(1.3);
}

.nav-menu li.active::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffd700"><path d="M12 2L15.09 8.26L22 9L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9L8.91 8.26L12 2Z"/><circle cx="12" cy="12" r="3" fill="%23ffed4e"/></svg>');
    background-size: 16px 16px !important;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    transform: none !important;
}


.nav-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 0.4rem 0;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.nav-link:hover {
    color: #f0f0f0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.nav-link.active {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.main-content {
    margin-left: 0;
    height: 100vh;
    overflow-y: scroll;

}

/* Hide main content initially when intro is playing */
body.intro-active .main-content {
    visibility: hidden;
}

body.intro-active .top-menu,
body.intro-active .sidebar {
    visibility: hidden;
}

.fullscreen-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section-content {
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.section-content h1 {
    font-size: 3.5rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.section-content p {
    font-size: 1.3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
    line-height: 1.6;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-1 {
    position: relative;
    color: white;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.section-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.section-2 {
    background: url("./assets/sec-4-bg.jpg") no-repeat;
    background-size: cover;
    color: white;
}

.section-3 {
    background: url("./assets/sec-2-bg.jpg") no-repeat;
    background-size: cover;
    color: white;
}

.section-4 {
    background: url("./assets/dbback.jpg") no-repeat;
    background-size: cover;
    color: white;
}

.section-5 {
    background: url("./assets/sec-3-bg.jpg") no-repeat;
    background-size: cover;
    color: white;
}

.section-6 {
    background: url("./assets/sec-5-bg.jpg") no-repeat;
    background-size: cover;
    color: white;
    position: relative;
}

.legal {

}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

.countdown-timer {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.countdown-title {
    font-size: 2rem;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}
.countdown-title-p {
    text-align: center;
    margin-bottom: 1rem;
}

.section3-content {
    max-width: 100%;
    width: 100%;
    padding: 2rem 2rem 2rem 220px;
    display: flex;
    flex-direction: column;
}

.section3-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section3-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.roadmap-container {
    display: flex;
    flex: 1;
    gap: 1rem;
    min-height: 0;
    margin-top: 50px;
}

.roadmap-left {
    flex: 1;
    display: flex;
    align-items: center;
    width:60%;
}

.roadmap-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.roadmap-description {
    width: 100%;
    text-align: left;
}

.roadmap-controls {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.roadmap-left .swiper {
    width: 100%;
    min-height: 50%;
}

.countdown-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    width: 100px;
    backdrop-filter: blur(3px);
    transition: all 0.3s ease;
}

.time-block:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.time-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.time-label {
    font-size: 0.9rem;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.time-separator {
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin: 0 0.5rem;
    animation: pulse 2s infinite;
}



.music-player {
    margin: 2rem auto;
    text-align: center;
    width: 300px !important;
}

.track-info {
    margin-bottom: 15px;
    font-size: 16px;
    color: #ccc;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#playPauseBtn {
    background: none;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

#playPauseBtn:hover {
    background: rgba(255, 255, 255, 0.1);
}

#playPauseBtn .icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

/* Play icon (▶) */
#playPauseBtn.play .icon {
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* Pause icon (❚❚) */
#playPauseBtn.pause .icon {
    width: 14px;
    height: 14px;
}

#playPauseBtn.pause .icon::before,
#playPauseBtn.pause .icon::after {
    content: "";
    display: block;
    background: white;
    width: 4px;
    height: 14px;
    position: absolute;
    top: 0;
}

#playPauseBtn.pause .icon::before {
    left: 0;
}

#playPauseBtn.pause .icon::after {
    right: 0;
}

#volumeSlider {
    width: 100px;
    cursor: pointer;
}


@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.letter-notification {
    margin-top: 1.5rem;
    opacity: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.letter-notification.show {
    opacity: 1;
    animation: jiggle 0.8s ease-in-out 2s, shine 2s ease-in-out 2.5s;
}

.letter-notification:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
}

.letter-icon {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes jiggle {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-3deg) scale(1.05); }
    20% { transform: rotate(3deg) scale(1.05); }
    30% { transform: rotate(-3deg) scale(1.05); }
    40% { transform: rotate(3deg) scale(1.05); }
    50% { transform: rotate(-2deg) scale(1.02); }
    60% { transform: rotate(2deg) scale(1.02); }
    70% { transform: rotate(-1deg) scale(1.01); }
    80% { transform: rotate(1deg) scale(1.01); }
    90% { transform: rotate(0deg) scale(1); }
}

@keyframes shine {
    0% { opacity: 0; }
    20% { opacity: 1; }
    40% { opacity: 0; }
    60% { opacity: 1; }
    100% { opacity: 0; }
}

.shine-overlay {
    animation: shineSlide 2s ease-in-out 2.5s;
}

@keyframes shineSlide {
    0% { opacity: 0; }
    20% { opacity: 1; }
    40% { opacity: 0; }
    60% { opacity: 1; }
    100% { opacity: 0; }
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #6598ae 0%, #b170b1 100%);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
    text-align: center;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #000;
}

.modal-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.modal-image {
    margin-bottom: 1.5rem;
}

.modal-image img {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.modal-text {
    text-align: left;
    line-height: 1.6;
}

.modal-text p {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.modal-text strong {
    color: #fff;
}

.about-content {
    max-width: 100%;
    width: 100%;
    padding: 2rem;
    padding-left: 220px; /* Adjust based on your sidebar width */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, minmax(120px, 1fr)); /* FIXED: Proportional scaling with minimum height */
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
    height: 60vh;
    min-height: 500px;
}

.feature-block {
    background-color: rgba(0, 0, 0, 0.5);
    background-repeat: no-repeat;
    background-blend-mode: darken;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(3px);
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* ADDED: Contain scrolling content */
    position: relative; /* ADDED: For proper positioning */
}


/*.feature-block:hover {*/
/*    background: rgba(255, 255, 255, 0.15);*/
/*    border-color: rgba(255, 255, 255, 0.5);*/
/*    transform: translateY(-2px);*/
/*    box-shadow: */
/*        0 12px 40px rgba(0, 0, 0, 0.4),*/
/*        inset 0 1px 0 rgba(255, 255, 255, 0.2);*/
/*}*/

.feature-block h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    flex-shrink: 0; /* ADDED: Prevent title from shrinking */
}

.feature-block p {
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    opacity: 0.9;
    margin: 0;
    padding: 1rem;
    /* INVISIBLE SCROLLING IMPLEMENTATION */
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
    scroll-behavior: smooth;
    /* Hide scrollbars across all browsers */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer and Edge */
}

/* Hide scrollbars for WebKit browsers (Chrome, Safari, Edge) */
.feature-block p::-webkit-scrollbar {
    display: none;
}

.feature-block.large {
    grid-column: span 3;
    grid-row: span 2;
}

.feature-block.medium {
    grid-column: span 2;
    grid-row: span 2;
}

.feature-block.small {
    grid-column: span 1;
    grid-row: span 2;
}

/* Specific positioning for 7-card tile layout */
.feature-block:nth-child(1) { /* Classic Gameplay - large */
    grid-column: 1 / 4;
    grid-row: 1 / 3;
}

.feature-block:nth-child(2) { /* Siel Energy - medium */
    grid-column: 4 / 6;
    grid-row: 1 / 3;
}

.feature-block:nth-child(3) { /* Path of Daeva - small */
    grid-column: 6 / 7;
    grid-row: 1 / 3;
}

.feature-block:nth-child(4) { /* PvPvE - large */
    grid-column: 4 / 7;
    grid-row: 3 / 5;
}

.feature-block:nth-child(5) { /* Rifts - medium */
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

.feature-block:nth-child(6) { /* Craft - medium */
    grid-column: 1 / 3;
    grid-row: 4 / 5;
}

.feature-block:nth-child(7) { /* Classes - large */
    grid-column: 3 / 4;
    grid-row: 3 / 5;
}


/* Medium screens (tablets) - 1024px and below */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, minmax(140px, 1fr)); /* FIXED: Proportional scaling */
        height: 50vh;
        min-height: 420px;
    }

    /* Repositioned layout for medium screens */
    .feature-block:nth-child(1) { /* Classic Gameplay */
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .feature-block:nth-child(2) { /* Siel Energy */
        grid-column: 3 / 5;
        grid-row: 1 / 2;
    }

    .feature-block:nth-child(3) { /* Path of Daeva */
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .feature-block:nth-child(4) { /* PvPvE */
        grid-column: 2 / 4;
        grid-row: 2 / 3;
    }

    .feature-block:nth-child(5) { /* Rifts */
        grid-column: 4 / 5;
        grid-row: 2 / 3;
    }

    .feature-block:nth-child(6) { /* Craft */
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }

    .feature-block:nth-child(7) { /* Classes */
        grid-column: 3 / 5;
        grid-row: 3 / 4;
    }
}

/* Mobile screens - 768px and below */
@media (max-width: 768px) {
    .about-content {
        padding: 1rem; /* Remove left padding on mobile */
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(5, minmax(100px, auto)); /* FIXED: Consistent minimum heights */
        gap: 0.8rem;
        margin-top: 1.5rem;
        height: auto; /* ADDED: Auto height on mobile */
        min-height: auto; /* ADDED: Remove min-height constraint */
    }

    .feature-block {
        padding: 1rem;
    }

    .feature-block h3 {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .feature-block p {
        font-size: 0.75rem;
        line-height: 1.3;
        padding: 0.8rem;
        /* Enable smooth touch scrolling on mobile */
        -webkit-overflow-scrolling: touch;
    }

    /* Reset grid positioning for mobile */
    .feature-block.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .feature-block.medium {
        grid-column: span 1;
        grid-row: span 1;
    }

    .feature-block.small {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Mobile-specific background adjustments */
    .feature-block.wings,
    .feature-block.gameplay {
        background-size: cover;
        background-position: center;
    }

    /* Hide last two feature blocks on very small screens if needed */
    .feature-block:nth-last-child(1),
    .feature-block:nth-last-child(2) {
        /* Uncomment to hide on mobile if space is tight */
        /* display: none; */
    }
}



.wings {
    background-image: url("./assets/run-gameforge.gif");
    background-size: cover;
    padding: 0;
}

.gameplay {
    background-image: url("./assets/ezgif-6ab9ec2637a7d9.gif");
    background-size: cover;
    padding: 0;
}

.siel {
    background-image: url("./assets/siel_paint.jpg");
    background-size: cover;
    padding: 0;
}

.craft {
    background-image: url("./assets/craft.jpg");
    background-size: cover;
    padding: 0;
}

.rifts {
    background-image: url("./assets/rifts.jpg");
    background-size: cover;
    padding: 0;
}

.pvpve {
    background-image: url("./assets/pvpve.jpg");
    background-size: cover;
    padding: 0;
}

.builds {
    background-image: url("./assets/builds.jpg");
    background-size: cover;
    padding: 0;
}

.portfolio-content {
    max-width: 100%;
    width: 100%;
    padding: 2rem;
    padding-left: 220px;
}

.database-content {
    max-width: 100%;
    width: 100%;
    padding: 2rem;
    padding-left: 220px;
}

.database-link-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.database-link-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(3px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2.5rem;
    text-align: left;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.4);
}

.database-link-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.database-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.database-link-info h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.database-link-info p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.database-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.database-image img {
    width: 30rem;
}

.database-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    width: 100%;
    height: 50vh;
    min-height: 400px;
}

.database-block {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(3px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.database-block:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.database-block h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.database-block p {
    font-size: 0.9rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    opacity: 0.9;
    margin: 0;
}

.database-block.large {
    grid-column: span 3;
    grid-row: span 1;
}

.database-block.medium {
    grid-column: span 2;
    grid-row: span 1;
}

.database-block.small {
    grid-column: span 1;
    grid-row: span 1;
}


/* Modern Carousel Styles */
.modern-carousel {
    margin: 3rem auto;
    width: 80%;
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.carousel-viewport {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slider {
    display: flex;
    width: 500%; /* 5 slides × 100% */
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
    width: 20%; /* 100% / 5 slides */
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.slide.active .slide-image {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 2;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    color: white;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateX(0);
}

.slide-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.slide-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.slide-features {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

/* Navigation Styles */
.carousel-navigation {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.nav-arrow:active {
    transform: scale(0.95);
}

.carousel-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.progress-dots {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.progress-bar {
    width: 100px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9));
    border-radius: 2px;
    width: 20%;
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Counter Styles */
.carousel-counter {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 500;
    z-index: 10;
}

.current-slide {
    font-size: 1.2rem;
    font-weight: 600;
}

.counter-separator {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.total-slides {
    opacity: 0.7;
    font-size: 1rem;
}


.download-launcher-btn {
    background: linear-gradient(135deg,
    rgba(100, 149, 237, 0.9) 0%,
    rgba(70, 130, 180, 0.9) 35%,
    rgba(65, 105, 225, 0.9) 70%,
    rgba(72, 61, 139, 0.9) 100%);
    border: 2px solid rgba(100, 149, 237, 0.6);
    border-radius: 15px;
    padding: 12px 20px;
    cursor: pointer;
    color: white;
    font-family: "Jost", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow:
            0 8px 32px rgba(100, 149, 237, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    min-width: 180px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin-left: 2rem; /* Adjust spacing as needed */
}

/* Shine effect on hover */
.download-launcher-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.download-launcher-btn:hover::before {
    left: 100%;
}

/* Hover state */
.download-launcher-btn:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(100, 149, 237, 0.8);
    box-shadow:
            0 15px 40px rgba(100, 149, 237, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg,
    rgba(100, 149, 237, 1) 0%,
    rgba(70, 130, 180, 1) 35%,
    rgba(65, 105, 225, 1) 70%,
    rgba(72, 61, 139, 1) 100%);
}

/* Active state */
.download-launcher-btn:active {
    transform: translateY(-1px) scale(1.02);
    border-color: rgba(100, 149, 237, 0.7);
    box-shadow:
            0 8px 25px rgba(100, 149, 237, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Button content container */
.launcher-btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

/* Icon container */
.launcher-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.download-launcher-btn:hover .launcher-btn-icon {
    background: rgba(0, 0, 0, 0.3);
    transform: rotate(5deg);
}

/* Icon SVG */
.launcher-btn-icon svg {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.download-launcher-btn:hover .launcher-btn-icon svg {
    transform: translateY(-2px);
}

/* Text container */
.launcher-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

/* Main title */
.launcher-btn-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

/* Subtitle */
.launcher-btn-subtitle {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    text-transform: none;
    letter-spacing: 0.5px;
}

/* Glow effect */
.launcher-btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
    rgba(100, 149, 237, 0.8),
    rgba(70, 130, 180, 0.8),
    rgba(65, 105, 225, 0.8));
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    filter: blur(4px);
    transition: opacity 0.3s ease;
}

.download-launcher-btn:hover .launcher-btn-glow {
    opacity: 1;
    animation: pulse-glow 2s infinite;
}

/* Pulsing glow animation */
@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .download-launcher-btn {
        display: none; /* Hide on mobile or adjust as needed */
    }
}

/* Responsive Design for Modern Carousel */
@media (max-width: 768px) {
    .modern-carousel {
        height: 400px;
        border-radius: 15px;
        margin-top: 2rem;
    }

    .slide-content {
        padding: 2rem 1.5rem;
        text-align: center;
        align-items: center;
    }

    .slide-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin-bottom: 0.8rem;
    }

    .slide-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }

    .slide-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        text-align: center;
    }

    .slide-features {
        justify-content: center;
        gap: 0.5rem;
    }

    .feature-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .carousel-navigation {
        bottom: 1.5rem;
        gap: 1.5rem;
        padding: 0.8rem 1.5rem;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
    }

    .nav-arrow svg {
        width: 20px;
        height: 20px;
    }

    .carousel-progress {
        gap: 0.6rem;
    }

    .progress-dots {
        gap: 0.6rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .progress-bar {
        width: 80px;
        height: 2px;
    }

    .carousel-counter {
        top: 1.5rem;
        right: 1.5rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .current-slide {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modern-carousel {
        height: 350px;
        border-radius: 12px;
        margin-top: 1.5rem;
    }

    .slide-content {
        padding: 1.5rem 1rem;
        justify-content: center;
    }

    .slide-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 0.6rem;
    }

    .slide-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }

    .slide-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .slide-features {
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    .feature-tag {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
        border-radius: 10px;
    }

    .carousel-navigation {
        bottom: 1rem;
        gap: 1rem;
        padding: 0.6rem 1rem;
        border-radius: 30px;
    }

    .nav-arrow {
        width: 35px;
        height: 35px;
    }

    .nav-arrow svg {
        width: 18px;
        height: 18px;
    }

    .carousel-progress {
        gap: 0.5rem;
    }

    .progress-dots {
        gap: 0.5rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .progress-bar {
        width: 60px;
        height: 2px;
    }

    .carousel-counter {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }

    .current-slide {
        font-size: 0.9rem;
    }

    .counter-separator {
        margin: 0 0.3rem;
    }

    .total-slides {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .modern-carousel {
        height: 300px;
        margin-top: 1rem;
    }

    .slide-content {
        padding: 1rem 0.8rem;
    }

    .slide-title {
        font-size: 1.3rem;
    }

    .slide-description {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .carousel-navigation {
        bottom: 0.8rem;
        gap: 0.8rem;
        padding: 0.5rem 0.8rem;
    }

    .carousel-counter {
        top: 0.8rem;
        right: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}


.downloads-content {
    max-width: 100%;
    width: 100%;
    padding: 2rem;
    padding-left: 180px;
    padding-bottom: 150px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.downloads-container {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-download {
    width: 100%;
    max-width: 600px;
}

.launcher-preview {
    width: 100%;
    max-width: 600px;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.launcher-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.launcher-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.download-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(3px);
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    width: 100%;
    text-align: left;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow:
            0 12px 40px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.main-launcher {
    justify-content: center;
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.4);
}

.main-launcher:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.6);
}

.download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.download-icon.small {
    width: 40px;
    height: 40px;
}

.download-info h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.download-info p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.download-info span {
    font-size: 1rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.2rem;
}

.download-info small {
    opacity: 0.7;
    font-size: 0.8rem;
}

.system-requirements {
    width: 100%;
    max-width: 600px;
    margin-top: 1rem;
}

.requirements-title {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.requirements-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.requirement-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.requirement-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.req-icon {
    font-size: 0.85rem;
}

.req-arrow {
    font-size: 0.8rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.requirement-link:hover .req-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.site-footer {
    width: 100%;
    padding: 1.5rem 0;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.footer-copyright {
    color: white;
    opacity: 0.8;
}

.footer-copyright p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.footer-copyright p:first-child {
    font-weight: 600;
    opacity: 1;
}

.roadmap-mobile {
    display: none;
}

@media (max-width: 768px) {
    .roadmap-container {
        display: none;
    }
    .roadmap-mobile {
        display: block;
    }
    .mobile-off {
        display: none;
    }

    .top-menu {
        height: 60px;
        padding: 0 1rem;
        justify-content: center;
    }
    .database-link-btn {
        padding: 0.5rem;
    }

    .database-image {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 2rem;
    }

    .database-image img {
        width: 100%;
    }

    .top-menu .logo {
        width: 80px;
        height: 32px;
        background-size: contain;
    }

    .top-menu-links {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }

    .section-content {
        padding: 1rem;
        text-align: center;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }

    .section-content h1 {
        font-size: 2.5rem;
    }

    .section-content p {
        font-size: 1.1rem;
    }

    .countdown-timer {
        margin-top: 2rem;
    }

    .countdown-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .countdown-display {
        gap: 0.5rem;
    }

    .time-block {
        padding: 1rem 0.8rem;
        width: 80px;
    }

    .time-value {
        font-size: 2rem;
    }

    .time-separator {
        font-size: 1.5rem;
        margin: 0 0.3rem;
    }

    .letter-notification {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .top-menu {
        height: 50px;
        padding: 0 1rem;
        justify-content: center;
    }

    .top-menu .logo {
        width: 60px;
        height: 24px;
        background-size: contain;
    }

    .top-menu-links {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .fullscreen-section {
        min-height: 100vh;
        padding: 60px 0 20px 0;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .section-content {
        padding: 1rem;
        max-width: 100%;
    }

    .section-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .section-content p {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .section-content img {
        height: auto;
    }

    .countdown-timer {
        margin-top: 1.5rem;
    }

    .countdown-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .countdown-display {
        gap: 0.3rem;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        overflow-x: auto;
        padding: 0 1rem;
    }

    .countdown-display .time-separator {
        display: flex;
        align-items: center;
        font-size: 1rem;
        margin: 0 0.1rem;
        flex-shrink: 0;
    }

    .time-block {
        padding: 0.6rem 0.4rem;
        width: 60px;
        min-width: 60px;
        flex-shrink: 0;
    }

    .time-value {
        font-size: 1.4rem;
        line-height: 1;
    }

    .time-label {
        font-size: 0.6rem;
        margin-top: 0.2rem;
    }

    .letter-notification {
        display: none;
    }

    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 24px;
    }

    .modal-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .modal-image {
        margin-bottom: 1rem;
    }

    .modal-image img {
        max-width: 100px;
        height: auto;
    }

    .modal-text p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }

    .about-content {
        padding: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .feature-block {
        padding: 1rem;
    }

    .feature-block h3 {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .feature-block p {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .feature-block.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .feature-block.medium {
        grid-column: span 1;
        grid-row: span 1;
    }

    .feature-block.small {
        grid-column: span 1;
        grid-row: span 1;
    }

    .feature-block.wings,
    .feature-block.gameplay {
        background-size: cover;
        background-position: center;
    }

    .feature-block:nth-last-child(1),
    .feature-block:nth-last-child(2) {
        display: none;
    }

    .portfolio-content {
        padding: 1rem;
    }

    .carousel-container {
        grid-template-columns: 1fr;
        grid-template-rows: 250px auto auto;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .carousel-main {
        grid-column: 1;
        grid-row: 1;
        padding: 0.5rem;
    }

    .carousel-info {
        grid-column: 1;
        grid-row: 2;
        padding: 1rem;
    }

    .carousel-thumbnails {
        grid-column: 1;
        grid-row: 3;
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .carousel-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .carousel-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .thumbnail {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }

    .downloads-content {
        padding: 1rem;
        padding-bottom: 100px;
    }

    .downloads-container {
        margin-top: 1.5rem;
        gap: 1.5rem;
    }

    .download-btn {
        padding: 1rem;
        gap: 1rem;
    }

    .main-launcher {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .download-info h3 {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .download-info p {
        font-size: 0.8rem;
    }

    .requirements-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    .m-logo {
        max-width: 180px;
        width: 100%;
        height: auto;
        margin: 1rem 0;
    }

    .downloads-content {
        padding: 1rem;
    }

    .requirements-buttons {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .requirement-btn {
        padding: 1rem;
        flex-direction: row;
        gap: 0.8rem;
        text-align: left;
    }

    .download-icon {
        width: 40px;
        height: 40px;
    }

    .download-icon.small {
        width: 35px;
        height: 35px;
    }

    .system-requirements {
        display: none;
    }

    .site-footer {
        padding: 1rem 0;
    }

    .footer-content {
        gap: 1.5rem;
        padding: 0 2rem;
    }

    .footer-social {
        gap: 1rem;
    }

    .footer-social-link {
        width: 45px;
        height: 45px;
    }

    .footer-copyright p {
        font-size: 0.8rem;
    }
    
    /* Additional mobile optimizations */
    .fullscreen-section {
        min-height: 100vh;
        padding: 80px 0 20px 0;
    }
    
    .section-content {
        padding: 1rem;
        margin: 0 auto;
    }
    
    /* Better touch targets */
    .time-block {
        min-height: 60px;
        touch-action: manipulation;
    }
    
    .thumbnail {
        min-height: 50px;
        min-width: 50px;
    }
}

.swiper {
    width: 100%;
    overflow: hidden;
}

.map-scroll-container {
    width: 900px;
    height: 580px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    touch-action: none;
}

.map-container {
    position: relative;
    /*width: 5312px;*/
    display: inline-block;
}

.map-image {
    display: block;
    width: auto;
    height: 600px;
    /*transform: scale(1.4);*/
}

.checkpoint {
    position: absolute;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 64px;
    height: 64px;
    background-size: contain;
}

.checkpoint.num-1 {
    background-image: url('assets/map/1.png');
}

.checkpoint.num-1.active {
    background-image: url('assets/map/1_active.png');
    transform: scale(1.5);
}

.checkpoint.num-2 {
    background-image: url('assets/map/2.png');
}

.checkpoint.num-2.active {
    background-image: url('assets/map/2_active.png');
    transform: scale(1.5);
}

.checkpoint.num-3 {
    background-image: url('assets/map/3.png');
}

.checkpoint.num-3.active {
    background-image: url('assets/map/3_active.png');
    transform: scale(1.5);
}

.checkpoint.num-4 {
    background-image: url('assets/map/4.png');
}

.checkpoint.num-4.active {
    background-image: url('assets/map/4_active.png');
    transform: scale(1.5);
}

.checkpoint.num-5 {
    background-image: url('assets/map/5.png');
}

.checkpoint.num-5.active {
    background-image: url('assets/map/5_active.png');
    transform: scale(1.5);
}

.swiper-slide {
    display: flex !important;
    justify-content: flex-end;
}

.extra {
    font-weight: 600 !important;
}

#stage_details {
    margin-left: 20px;
    margin-top: 20px;
    font-size: 1.3rem;
}

#language-picker {
    position: relative;
}

#language-list {
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    margin: 0 auto;
}

#language-list.hover {
    display: block;
}

#language-picker img {
    width: 18px;
    display: inline-block;
    transition: .5s all;
}

#language-picker.hover img {
    transform: rotateZ(-180deg);
}

#language-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#language-list ul li a {
    display: block;
    min-width: 75px;
    text-align: center;
    padding: 10px;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
}

#language-list ul li:first-child a {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#language-list ul li:last-child a {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

#language-list ul li a:hover {
    background-color: rgba(0, 0, 0, .5);
}