/* =============================
   Custom Scrollbar Styling
   ============================= */

/* Webkit-based browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

::-webkit-scrollbar-track {
	background: rgba(17, 3, 2, 0.8);
	border-radius: 6px;
	border: 1px solid rgba(243, 205, 118, 0.2);
}

::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, 
		rgba(243, 205, 118, 0.8) 0%, 
		rgba(243, 205, 118, 0.6) 50%, 
		rgba(243, 205, 118, 0.4) 100%);
	border-radius: 6px;
	border: 1px solid rgba(243, 205, 118, 0.3);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, 
		rgba(243, 205, 118, 1) 0%, 
		rgba(243, 205, 118, 0.8) 50%, 
		rgba(243, 205, 118, 0.6) 100%);
	border-color: rgba(243, 205, 118, 0.6);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
				0 0 8px rgba(243, 205, 118, 0.4);
}

::-webkit-scrollbar-thumb:active {
	background: linear-gradient(180deg, 
		rgba(210, 78, 61, 0.8) 0%, 
		rgba(243, 205, 118, 0.8) 100%);
	border-color: rgba(210, 78, 61, 0.6);
}

::-webkit-scrollbar-corner {
	background: rgba(17, 3, 2, 0.8);
}

/* =============================
   CSS Variables
   ============================= */
:root {
    --color-title: #f3cd76;
    --color-bg: #110302;
    --color-text: #f2e8e7;
    --color-muted: #c7b7b5;
    --color-primary: #d24e3d;
    --color-primary-hover: #be4536;
    --color-header-bg: rgba(17, 3, 2, 0.9);
    --color-secondary: #f3cd76;
    --container-width: 1200px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --radius: 8px;
    --font-heading: 'TrajanSansPro', serif;
    --font-body: 'Manrope', sans-serif;
}

/* Mobile-specific variables */
@media (max-width: 768px) {
    :root {
        --space-1: 2px;
        --space-2: 4px;
        --space-3: 6px;
        --space-4: 8px;
        --space-5: 12px;
        --space-6: 16px;
    }
}

@media (max-width: 576px) {
    :root {
        --space-1: 1px;
        --space-2: 2px;
        --space-3: 4px;
        --space-4: 6px;
        --space-5: 8px;
        --space-6: 12px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    :root {
        --space-1: 1px;
        --space-2: 2px;
        --space-3: 3px;
        --space-4: 4px;
        --space-5: 6px;
        --space-6: 8px;
    }
}

/* =============================
   Preloader
   ============================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 150px;
    height: auto;
    animation: pulse 2s infinite;
}

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

/* =============================
   Social Navigation Menu
   ============================= */
.social-nav {
	position: fixed;
	right: 32px;
	top: 50%;
	transform: translateY(-50%) translateX(20px);
	z-index: 1000;
	padding: 16px 8px;
	transition: all 0.3s ease;
	opacity: 0;
	visibility: hidden;
}

.social-nav--visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0);
}

.social-nav__container {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}

.social-nav__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--color-text);
	font-size: 14px;
	font-weight: 500;
	font-family: var(--font-body);
	transition: all 0.3s ease;
	position: relative;
	white-space: nowrap;
	opacity: 0.7;
	min-width: 140px;
}

.social-nav__item:hover {
	background: rgba(243, 205, 118, 0.1);
	color: #f3cd76;
	opacity: 1;
	transform: translateX(-2px);
}

.social-nav__icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.social-nav__label {
	font-size: 13px;
	letter-spacing: 0.02em;
}

/* Hide social navigation on small screens */
@media (max-width: 1024px) {
	.social-nav {
		display: none;
	}
}

/* Style for custom SVG icons */
.social-nav__svg {
	color: #f2e8e7;
	fill: currentColor;
}

.social-nav__svg path {
	fill: inherit;
}

/* =============================
   Parallax Starfield Background
   ============================= */
.parallax-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	overflow: hidden;
}

.stars {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 200%;
	background-image: 
		radial-gradient(2px 2px at 20px 30px, #fff, transparent),
		radial-gradient(2px 2px at 40px 70px, #fff, transparent),
		radial-gradient(1px 1px at 90px 40px, #fff, transparent),
		radial-gradient(1px 1px at 130px 80px, #fff, transparent),
		radial-gradient(2px 2px at 160px 30px, #fff, transparent);
	background-repeat: repeat;
	background-size: 200px 100px;
	animation: twinkle 3s ease-in-out infinite alternate;
}

.stars-1 {
	background-image: 
		radial-gradient(1px 1px at 20px 30px, #fff, transparent),
		radial-gradient(1px 1px at 40px 70px, #fff, transparent),
		radial-gradient(1px 1px at 90px 40px, #fff, transparent),
		radial-gradient(1px 1px at 130px 80px, #fff, transparent),
		radial-gradient(1px 1px at 160px 30px, #fff, transparent);
	background-size: 200px 100px;
	opacity: 0.8;
}

.stars-2 {
	background-image: 
		radial-gradient(2px 2px at 60px 20px, #fff, transparent),
		radial-gradient(1px 1px at 100px 60px, #fff, transparent),
		radial-gradient(1px 1px at 150px 10px, #fff, transparent),
		radial-gradient(2px 2px at 180px 50px, #fff, transparent),
		radial-gradient(1px 1px at 30px 90px, #fff, transparent);
	background-size: 300px 150px;
	opacity: 0.6;
}

.stars-3 {
	background-image: 
		radial-gradient(1px 1px at 50px 40px, #fff, transparent),
		radial-gradient(2px 2px at 120px 20px, #fff, transparent),
		radial-gradient(1px 1px at 170px 70px, #fff, transparent),
		radial-gradient(1px 1px at 80px 100px, #fff, transparent),
		radial-gradient(2px 2px at 10px 50px, #fff, transparent);
	background-size: 400px 200px;
	opacity: 0.4;
}

@keyframes twinkle {
	0% { opacity: 0.3; }
	100% { opacity: 1; }
}

body {
	margin: 0;
	font-family: var(--font-body);
	line-height: 1.5;
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* Falling Stars Effect */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
	background-image:
		/* Star 1 */
		radial-gradient(1px 1px at 0px 0px, rgba(243, 205, 118, 0.9), transparent 2px),
		/* Star 2 */
		radial-gradient(1px 1px at 0px 0px, rgba(255, 255, 255, 0.8), transparent 2px),
		/* Star 3 */
		radial-gradient(1px 1px at 0px 0px, rgba(243, 205, 118, 0.7), transparent 2px),
		/* Star 4 */
		radial-gradient(1px 1px at 0px 0px, rgba(255, 255, 255, 0.6), transparent 2px),
		/* Star 5 */
		radial-gradient(1px 1px at 0px 0px, rgba(243, 205, 118, 0.8), transparent 2px);
	background-size: 2px 2px;
	background-position:
		15% -10px,
		35% -10px,
		55% -10px,
		75% -10px,
		85% -10px;
	background-repeat: no-repeat;
	animation: fallingStar1 3s linear infinite, fallingStar2 4s linear infinite 1s, fallingStar3 5s linear infinite 2s, fallingStar4 3.5s linear infinite 2.5s, fallingStar5 6s linear infinite 0.5s;
}

@keyframes fallingStar1 {
	0% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0;
	}
	5% {
		background-position: 13% 5vh, 35% -10px, 55% -10px, 75% -10px, 85% -10px;
		opacity: 1;
	}
	35% {
		background-position: 8% 30vh, 35% -10px, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0.8;
	}
	70% {
		background-position: 3% 60vh, 35% -10px, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0.3;
	}
	85% {
		background-position: 0% 80vh, 35% -10px, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0.1;
	}
	100% {
		background-position: -2% 100vh, 35% -10px, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0;
	}
}

@keyframes fallingStar2 {
	0% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0;
	}
	8% {
		background-position: 15% -10px, 33% 8vh, 55% -10px, 75% -10px, 85% -10px;
		opacity: 1;
	}
	35% {
		background-position: 15% -10px, 28% 35vh, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0.9;
	}
	65% {
		background-position: 15% -10px, 22% 65vh, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0.4;
	}
	85% {
		background-position: 15% -10px, 18% 85vh, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0.1;
	}
	100% {
		background-position: 15% -10px, 15% 100vh, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0;
	}
}

@keyframes fallingStar3 {
	0% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0;
	}
	6% {
		background-position: 15% -10px, 35% -10px, 57% 6vh, 75% -10px, 85% -10px;
		opacity: 1;
	}
	30% {
		background-position: 15% -10px, 35% -10px, 62% 30vh, 75% -10px, 85% -10px;
		opacity: 0.7;
	}
	60% {
		background-position: 15% -10px, 35% -10px, 68% 60vh, 75% -10px, 85% -10px;
		opacity: 0.3;
	}
	80% {
		background-position: 15% -10px, 35% -10px, 72% 80vh, 75% -10px, 85% -10px;
		opacity: 0.1;
	}
	100% {
		background-position: 15% -10px, 35% -10px, 75% 100vh, 75% -10px, 85% -10px;
		opacity: 0;
	}
}

@keyframes fallingStar4 {
	0% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0;
	}
	10% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 73% 10vh, 85% -10px;
		opacity: 1;
	}
	40% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 68% 40vh, 85% -10px;
		opacity: 0.8;
	}
	70% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 62% 70vh, 85% -10px;
		opacity: 0.3;
	}
	90% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 58% 90vh, 85% -10px;
		opacity: 0.1;
	}
	100% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 55% 100vh, 85% -10px;
		opacity: 0;
	}
}

@keyframes fallingStar5 {
	0% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 75% -10px, 85% -10px;
		opacity: 0;
	}
	4% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 75% -10px, 87% 4vh;
		opacity: 1;
	}
	25% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 75% -10px, 92% 25vh;
		opacity: 0.6;
	}
	50% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 75% -10px, 96% 50vh;
		opacity: 0.3;
	}
	75% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 75% -10px, 100% 75vh;
		opacity: 0.1;
	}
	100% {
		background-position: 15% -10px, 35% -10px, 55% -10px, 75% -10px, 102% 100vh;
		opacity: 0;
	}
}

/* Additional Falling Stars Layer */
body::after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 2;
	background-image:
		/* Additional stars with different sizes */
		radial-gradient(1.5px 1.5px at 0px 0px, rgba(255, 255, 255, 0.9), transparent 3px),
		radial-gradient(0.8px 0.8px at 0px 0px, rgba(243, 205, 118, 0.6), transparent 1.5px),
		radial-gradient(1.2px 1.2px at 0px 0px, rgba(255, 255, 255, 0.7), transparent 2.5px);
	background-size: 3px 3px, 1.5px 1.5px, 2.5px 2.5px;
	background-position:
		25% -15px,
		65% -15px,
		45% -15px;
	background-repeat: no-repeat;
	animation: fallingStarExtra1 4s linear infinite 1s, fallingStarExtra2 5s linear infinite 2s, fallingStarExtra3 4.5s linear infinite 0.5s;
}

@keyframes fallingStarExtra1 {
	0% {
		background-position: 25% -15px, 65% -15px, 45% -15px;
		opacity: 0;
	}
	10% {
		background-position: 22% 10vh, 65% -15px, 45% -15px;
		opacity: 1;
	}
	40% {
		background-position: 17% 40vh, 65% -15px, 45% -15px;
		opacity: 0.8;
	}
	70% {
		background-position: 12% 70vh, 65% -15px, 45% -15px;
		opacity: 0.3;
	}
	90% {
		background-position: 8% 90vh, 65% -15px, 45% -15px;
		opacity: 0.1;
	}
	100% {
		background-position: 5% 100vh, 65% -15px, 45% -15px;
		opacity: 0;
	}
}

@keyframes fallingStarExtra2 {
	0% {
		background-position: 25% -15px, 65% -15px, 45% -15px;
		opacity: 0;
	}
	8% {
		background-position: 25% -15px, 67% 8vh, 45% -15px;
		opacity: 0.8;
	}
	35% {
		background-position: 25% -15px, 72% 35vh, 45% -15px;
		opacity: 0.6;
	}
	65% {
		background-position: 25% -15px, 78% 65vh, 45% -15px;
		opacity: 0.2;
	}
	85% {
		background-position: 25% -15px, 82% 85vh, 45% -15px;
		opacity: 0.1;
	}
	100% {
		background-position: 25% -15px, 85% 100vh, 45% -15px;
		opacity: 0;
	}
}

@keyframes fallingStarExtra3 {
	0% {
		background-position: 25% -15px, 65% -15px, 45% -15px;
		opacity: 0;
	}
	12% {
		background-position: 25% -15px, 65% -15px, 43% 12vh;
		opacity: 1;
	}
	40% {
		background-position: 25% -15px, 65% -15px, 38% 40vh;
		opacity: 0.7;
	}
	70% {
		background-position: 25% -15px, 65% -15px, 32% 70vh;
		opacity: 0.3;
	}
	90% {
		background-position: 25% -15px, 65% -15px, 28% 90vh;
		opacity: 0.1;
	}
	100% {
		background-position: 25% -15px, 65% -15px, 25% 100vh;
		opacity: 0;
	}
}

/* Rare Shooting Stars */
.shooting-stars {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.shooting-stars::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		/* Shooting star trail */
		linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.8) 50%, rgba(243, 205, 118, 0.9) 55%, transparent 60%);
	background-size: 200px 2px;
	background-position: -200px 20vh;
	background-repeat: no-repeat;
	animation: shootingStar1 25s linear infinite;
	z-index: 0;
}

.shooting-stars::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		/* Second shooting star trail */
		linear-gradient(-45deg, transparent 40%, rgba(243, 205, 118, 0.7) 50%, rgba(255, 255, 255, 0.8) 55%, transparent 60%);
	background-size: 150px 1.5px;
	background-position: 120% 60vh;
	background-repeat: no-repeat;
	animation: shootingStar2 35s linear infinite 12s;
	z-index: 0;
}

@keyframes shootingStar1 {
	0% {
		background-position: -200px 20vh;
		opacity: 0;
	}
	2% {
		background-position: -150px 25vh;
		opacity: 1;
	}
	8% {
		background-position: 50% 40vh;
		opacity: 1;
	}
	12% {
		background-position: calc(100% + 100px) 50vh;
		opacity: 0;
	}
	100% {
		background-position: calc(100% + 200px) 60vh;
		opacity: 0;
	}
}

@keyframes shootingStar2 {
	0% {
		background-position: 120% 60vh;
		opacity: 0;
	}
	1% {
		background-position: 110% 65vh;
		opacity: 1;
	}
	6% {
		background-position: 40% 80vh;
		opacity: 1;
	}
	9% {
		background-position: -50px 90vh;
		opacity: 0;
	}
	100% {
		background-position: -150px 100vh;
		opacity: 0;
	}
}

/* =============================
   Fonts
   ============================= */
@font-face {
    font-family: 'TrajanSansPro';
    src: url('../fonts/TrajanSansPro-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TrajanSansPro';
    src: url('../fonts/TrajanSansPro-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TrajanSansPro';
    src: url('../fonts/TrajanSansPro-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TrajanSansPro';
    src: url('../fonts/TrajanSansPro-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TrajanSansPro';
    src: url('../fonts/TrajanSansPro-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TrajanSansPro';
    src: url('../fonts/TrajanSansPro-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

.lang_row {
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Mobile fixes for overflow issues */
@media (max-width: 768px) {
    /* Fix parallax container overflow */
    .parallax-container {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Fix shooting stars overflow */
    .shooting-stars {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Fix body::before overflow */
    body::before {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Fix body::after overflow */
    body::after {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Ensure header doesn't cause overflow */
    .header {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Fix any absolute positioned elements that might cause overflow */
    .parallax-container,
    .shooting-stars,
    .stars,
    .stars-1,
    .stars-2,
    .stars-3 {
        width: 100vw;
        max-width: 100%;
    }
    
    /* Hide cloud elements on mobile devices */
    .intermediate__clouds,
    .social-media__clouds {
        display: none;
    }
}

/* Additional mobile fixes for very small screens */
@media (max-width: 480px) {
    .parallax-container,
    .shooting-stars,
    body::before,
    body::after {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Prevent any animation overflow on small screens */
    .shooting-stars::before,
    .shooting-stars::after {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =============================
   Reset / Normalize
   ============================= */
*, *::before, *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* =============================
   Typography
   ============================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: var(--space-3);
    color: var(--color-title);
}

p {
    margin-top: 0;
    margin-bottom: var(--space-4);
}

/* Responsive font sizes */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.5rem; }
    h5 { font-size: 1.25rem; }
    h6 { font-size: 1rem; }
    p { font-size: 1rem; }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }
    p { font-size: 0.9rem; }
}

/* Extra small devices */
@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
    p { font-size: 0.85rem; }
}

/* =============================
   Buttons
   ============================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn--primary {
    font-family: 'TrajanSansPro', serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    color: #fff3cf;
    text-shadow: 0px 0px 7px black;
    backdrop-filter: blur(9px);
    padding-bottom: 8px;
    padding-right: 50px;
    background: linear-gradient(rgb(126, 102, 40) 36%, rgb(123, 103, 50) 89%), rgb(126, 102, 40);
    margin-right: 20px;
    margin-left: 20px;
    padding-left: 50px;
    box-shadow: 0px 7px 12px rgb(0 0 0 / 38%);
    border-style: none;
    border-top: 1px solid rgb(171, 143, 68);
    border-bottom: 2px solid rgb(171, 143, 68);
    border-radius: 4px;
    transition: all .5s ease-in;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn--primary:hover {
    filter: brightness(140%);
}

.btn--secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 52px;
    padding: 0 28px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'TrajanSansPro', serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff3cf;
    background: linear-gradient(180deg, #8f5a3a 0%, #7d3e34 100%);
    border-top: 1px solid rgba(231, 192, 120, .9);
    border-bottom: 2px solid rgba(231, 192, 120, .9);
    box-shadow: 0px 6px 12px rgb(0 0 0 / 38%);
    transition: all .5s ease-in;
    margin-top: 16px;
}

.btn--secondary:hover { 
    filter: brightness(120%); 
    transform: translateY(-2px);
}

.btn--secondary:active { transform: translateY(1px); }

.expansion-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 52px;
    padding: 0 28px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'TrajanSansPro', serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff3cf;
    /* background: linear-gradient(180deg, #8f5a3a 0%, #7d3e34 100%); */
    /* border-top: 1px solid rgba(231, 192, 120, .9); */
    /* border-bottom: 2px solid rgba(231, 192, 120, .9); */
    /* box-shadow: 0px 6px 12px rgb(0 0 0 / 38%); */
    transition: all .5s ease-in;
    margin-top: 16px;

    background: linear-gradient(rgb(126, 102, 40) 36%, rgb(123, 103, 50) 89%), rgb(126, 102, 40);
    box-shadow: 0px 7px 12px rgb(0 0 0 / 38%);
    border-style: none;
    border-top: 1px solid rgb(171, 143, 68);
    border-bottom: 2px solid rgb(171, 143, 68);
}

.expansion-card__link:hover { 
    filter: brightness(120%); 
    transform: translateY(-2px);
}

.expansion-card__link:active { transform: translateY(1px); }

/* =============================
   Layout
   ============================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    z-index: 3;
    position: relative;
}

/* =============================
   Header
   ============================= */
.header {
    position: fixed;
    width: 100%;
    background: var(--color-bg);
    border-bottom: 1px solid rgba(243, 205, 118, 0.2);
    z-index: 100;
}

.header__inner {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    background: var(--color-header-bg);
    backdrop-filter: blur(8px);
    padding: 0 var(--space-4);
    max-width: 1400px;
}

.header__logo {
    display: flex;
    align-items: center;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
}

.logo {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    list-style: none;
}

.menu__link {
    color: var(--color-text);
    opacity: 0.88;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: opacity 0.15s ease;
    white-space: nowrap;
    -webkit-tap-highlight-color: rgba(243, 205, 118, 0.3);
    padding: 8px 4px;
}

.menu__link:hover {
    opacity: 1;
}

.header__language {
    margin-right: var(--space-4);
    position: relative;
    z-index: 1001;
}

.header__auth {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

/* Mobile Menu Button */
.header__mobile-menu {
    display: none;
}

/* Mobile Header Blocks */
.header__mobile-blocks {
    display: none;
    width: 100%;
}

.header__mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--space-2) var(--space-4);
    background: var(--color-header-bg);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(243, 205, 118, 0.2);
}

.header__logo-mobile {
    display: flex;
    align-items: center;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
}

.header__mobile-controls {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.header__language-mobile {
    margin: 0;
    position: relative;
    z-index: 1001;
}

.header__mobile-menu-button {
    display: flex;
    align-items: center;
}

.header__mobile-auth {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--color-header-bg);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(243, 205, 118, 0.2);
    border-bottom: 1px solid rgba(243, 205, 118, 0.2);
}

.header__mobile-nav {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    display: none;
    background: var(--color-header-bg);
    backdrop-filter: blur(8px);
}

.header__mobile-nav.active {
    display: block;
}

.menu--mobile {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    width: 100%;
    background: var(--color-header-bg);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    padding: var(--space-3);
}

.menu--mobile .menu__item {
    width: 100%;
}

.menu--mobile .menu__link {
    display: block;
    padding: var(--space-2) var(--space-3);
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(243, 205, 118, 0.1);
    color: var(--color-text);
    opacity: 0.88;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: opacity 0.15s ease;
}

.menu--mobile .menu__link:hover {
    opacity: 1;
}

.menu--mobile .menu__link:last-child {
    border-bottom: none;
}

.mobile-menu__button {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu__button span {
    width: 100%;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu__button span:nth-child(1) {
    transform: translateY(-1px);
}

.mobile-menu__button span:nth-child(3) {
    transform: translateY(1px);
}

/* Mobile Menu Active State */
.mobile-menu__button.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu__button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu__button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.header__login {
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-heading);
    opacity: 0.88;
    transition: opacity 0.15s ease;
}

.header__login:hover {
    opacity: 1;
}

/* Language Selector */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.language-selector__current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(243, 205, 118, 0.1);
    border: 1px solid rgba(243, 205, 118, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector__current:hover {
    background: rgba(243, 205, 118, 0.2);
    border-color: rgba(243, 205, 118, 0.5);
}

.language-selector__flag {
    font-size: 16px;
}

.language-selector__text {
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
}

.language-selector__arrow {
    color: var(--color-text);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-selector--open .language-selector__arrow {
    transform: rotate(180deg);
}

.language-selector__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 60px;
    background: var(--color-header-bg);
    border: 1px solid rgba(243, 205, 118, 0.3);
    border-radius: 6px;
    padding: 0;
    margin-top: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.language-selector--open .language-selector__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-selector__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.language-selector__item:hover {
    background: rgba(243, 205, 118, 0.1);
}

.language-selector__item .language-selector__flag {
    font-size: 18px;
}

/* =============================
   Hero Section
   ============================= */
.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 200px;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 35%;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(17, 3, 2, 0) 0%, rgba(17, 3, 2, 0.6) 55%, var(--color-bg) 100%);
    z-index: 5;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero__castle {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/castle-lavr.png');
    background-size: auto 80%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
    opacity: 0.7;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(17, 3, 2, 0.7); */
    z-index: 3;
}

.hero__content {
    position: relative;
    z-index: 6;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--space-4);
}

.hero__title {
    text-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
    color: var(--color-title);
    font-size: 56px;
    margin-bottom: var(--space-4);
    font-family: var(--font-heading);
}

.launch-info {
    /* background: rgba(0, 0, 0, 0.6); */
    /* border: 1px solid rgba(243, 205, 118, 0.3); */
    /* border-radius: var(--radius); */
    padding: 0 24px 24px 24px; 
   /* backdrop-filter: blur(4px); */
}

.launch-title {
    font-size: 2.5rem;
    text-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
    margin-bottom: var(--space-4);
}

.launch-date {
    margin-bottom: var(--space-5);
}

.launch-date__text {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 6px;
    color: var(--color-title);
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.launch-date__text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.launch-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.registration-progress {
    margin: 30px 0;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius);
    padding: var(--space-3);
}

.registration-progress__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    width: 100%;
    font-weight: 700;
    text-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
}

.registration-progress__label {
    opacity: 1;
}

.registration-progress__count {
    color: #ededed;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 18px;
}

.registration-progress__subtitle {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 16px;
    text-align: center;
    margin-bottom: 12px;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.registration-progress__bar {
    position: relative;
    height: 30px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
    margin: 5px 15px 12px 15px;
}

.registration-progress__fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, #f3cd76, #e6b85c);
    border-radius: 3px;
    transition: width 2s ease-in-out;
    box-shadow: 0 0 8px rgba(243, 205, 118, 0.6);
    box-shadow: 0px 6px 12px rgb(0 0 0 / 38%);
}

.registration-progress__goal {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-muted);
    text-align: center;
    line-height: 1.4;
    opacity: 0.9;
}

/* Gift Trigger */
.gift-trigger {
    color: var(--color-title);
    cursor: pointer;
    border-bottom: 1px dotted var(--color-title);
    transition: color 0.3s ease;
}

.gift-trigger:hover {
    color: #ffffff;
}

/* Gift Popup */
.gift-popup {
    display: none;
    position: fixed;
    background: rgba(17, 3, 2, 0.95);
    border: 1px solid rgba(243, 205, 118, 0.6);
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.gift-popup__content {
    text-align: center;
}

.gift-popup__title {
    color: var(--color-title);
    font-family: var(--font-heading);
    font-size: 18px;
    margin: 0 0 15px 0;
    text-align: center;
}

.gift-popup__items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gift-popup__item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(243, 205, 118, 0.2);
}

.gift-popup__item:last-child {
    border-bottom: none;
}

.gift-popup__icon {
    font-size: 20px;
    margin-right: 12px;
}

.gift-popup__text {
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 14px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 32px 0;
    font-family: var(--font-heading);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.countdown-number {
    font-size: 48px;
    font-weight: 800;
    color: white;
    text-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
    line-height: 1;
    margin-bottom: 8px;
    min-width: 80px;
}

.countdown-label {
    font-size: 14px;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.countdown-separator {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-title);
    text-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
    line-height: 1;
    margin-bottom: 8px;
}

/* =============================
   Intermediate Section
   ============================= */
.intermediate {
    padding: 100px 0 50px 0;
    position: relative;
}

.intermediate .container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
}

.intermediate__clouds {
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translate(-50%, -50%);
    z-index: 5;
    max-width: none;
    width: 100%;
    height: auto;
    opacity: .8;
    pointer-events: none;
}

.intermediate__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: var(--space-5);
    position: relative;
    padding: var(--space-5);
    border-radius: var(--radius);
}

.intermediate__card {
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    padding: 30px 56px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intermediate__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.intermediate__card--wide {
    grid-column: 1 / -1;
    grid-row: 1;
    background: 
        linear-gradient(rgb(17 3 2 / 22%), rgb(17 3 2 / 48%)),
        url('../images/map1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.intermediate__content {
    flex: 1;
    padding-right: 20px;
}

.intermediate__title {
    font-size: 2rem;
    color: var(--color-title);
    margin-bottom: var(--space-3);
    text-shadow: 0px 0px 10px rgb(0 0 0);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-label {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    background-color: rgb(139 7 7 / 40%);
    text-align: center;
    white-space: nowrap;
}

/* Different colors for different labels */
.intermediate__card:nth-child(2) .title-label {
    background-color: rgb(139 7 7 / 40%);
}

.intermediate__card--combined .title-label {
    background-color: rgb(139 7 7 / 40%);
}

.intermediate__card:nth-child(4) .title-label {
    background-color: rgb(139 7 7 / 40%);
}

.intermediate__text {
    margin-bottom: var(--space-4);
    color: #ffffff;
    font-size: 20px;
    text-shadow: 0px 0px 10px rgb(0 0 0);
    text-align: left;
}

.intermediate__stats {
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius);
    padding: 20px;
    min-width: 200px;
}

.server-status {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(243, 205, 118, 0.2);
}

.server-status__indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.server-status__indicator--online {
    background-color: rgb(124, 230, 109);
    animation: WavePulse 1.5s ease 0s infinite normal none running;
}

.server-status__indicator--offline {
    background-color: rgb(230, 109, 109);
    animation: WavePulseOffline 1.5s ease 0s infinite normal none running;
}

.server-status__text {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
}

@keyframes WavePulse {
    0% {
        box-shadow: rgba(124, 229, 107, 0.2) 0px 0px 0px 0px;
    }
    50% {
        box-shadow: rgba(76, 175, 80, 0) 0px 0px 0px 10px;
    }
    100% {
        box-shadow: rgba(76, 175, 80, 0) 0px 0px 0px 0px;
    }
}

@keyframes WavePulseOffline {
    0% {
        box-shadow: rgba(230, 109, 109, 0.2) 0px 0px 0px 0px;
    }
    50% {
        box-shadow: rgba(220, 60, 60, 0) 0px 0px 0px 10px;
    }
    100% {
        box-shadow: rgba(220, 60, 60, 0) 0px 0px 0px 0px;
    }
}

.intermediate__stat-item {
    margin-bottom: 15px;
}

.intermediate__stat-item:last-child {
    margin-bottom: 0;
}

.intermediate__stat-label {
    color: var(--color-muted);
    font-size: 14px;
}

.intermediate__stat-value {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    font-family: var(--font-heading);
}

.intermediate__stat-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--color-title);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 14px;
    transition: color 0.3s ease;
}

.intermediate__stat-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.intermediate__card--combined {
    grid-column: 1;
    grid-row: 2 / 4;
    background: 
        linear-gradient(rgb(17 3 2 / 22%), rgb(17 3 2 / 48%)),
        url('../images/map2.jpg');
    background-size: cover;
    background-position: center;
}

.intermediate__card:nth-child(2) {
    grid-column: 2;
    grid-row: 2;
    background: 
        linear-gradient(rgb(17 3 2 / 22%), rgb(17 3 2 / 48%)),
        url('../images/map3.jpg');
    background-size: cover;
    background-position: center;
}

.intermediate__card:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
    background: 
        linear-gradient(rgb(17 3 2 / 22%), rgb(17 3 2 / 48%)),
        url('../images/map4.jpg');
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .intermediate__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: var(--space-4);
    }
    .intermediate__card--wide,
    .intermediate__card--combined,
    .intermediate__card:nth-child(2),
    .intermediate__card:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
    }
    
    .intermediate__card--wide {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .intermediate__content {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .intermediate__title {
        text-align: center;
        justify-content: center;
    }
    
    .intermediate__text {
        text-align: center;
    }
    
    .intermediate__stats {
        min-width: auto;
        width: 100%;
    }
}

.intermediate__text {
    margin-bottom: var(--space-4);
    color: #ffffff;
    font-size: 20px;
    text-shadow: 0px 0px 10px rgb(0 0 0);
}

/* =============================
   Responsive
   ============================= */
@media (max-width: 992px) {
    .menu {
        gap: var(--space-3);
    }
    
    .countdown-number {
        font-size: 1.5rem;
        min-width: 50px;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
}

/* Countdown Timer Responsive */
@media (max-width: 992px) {
    .menu {
        gap: var(--space-3);
    }
    
    .countdown-number {
        font-size: 1.5rem;
        min-width: 50px;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    .header__inner {
        flex-wrap: wrap;
        height: auto;
        padding: 0;
    }
    
    .header__logo,
    .header__nav,
    .header__language,
    .header__auth,
    .header__mobile-menu {
        display: none;
    }
    
    .header__mobile-blocks {
        display: block;
    }
    
    .header__nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-top: var(--space-3);
        display: none;
    }
    
    .header__nav.active {
        display: block;
    }
    
    .menu {
        flex-direction: column;
        align-items: flex-start;
        background: var(--color-header-bg);
        padding: var(--space-4);
        border-radius: var(--radius);
        backdrop-filter: blur(8px);
        margin-top: var(--space-3);
    }
    
    .menu__item {
        width: 100%;
        margin-bottom: var(--space-3);
    }
    
    .menu__link {
        display: block;
        padding: var(--space-2) 0;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .launch-title {
        font-size: 2rem;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
        gap: 12px;
        margin: 24px 0;
    }
    
    .countdown-number {
        font-size: 32px;
        min-width: 60px;
    }
    
    .countdown-separator {
        font-size: 32px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    /* Launch Date Responsive */
    .launch-date__text {
        font-size: 18px;
        padding: 10px 24px;
        letter-spacing: 1px;
    }
    
    .intermediate__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .logo {
        font-size: 20px;
    }
    
    .menu__link {
        font-size: 14px;
    }
    
    .header__language {
        margin-right: var(--space-2);
    }
    
    .header__auth {
        gap: var(--space-2);
    }
    
    .btn--primary {
        padding: 10px 20px;
        font-size: 15px;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .header__mobile-top {
        padding: var(--space-2) var(--space-3);
    }
    
    .header__logo-mobile .logo {
        font-size: 20px;
    }
    
    .header__mobile-auth {
        padding: 7px;
        gap: var(--space-2);
    }
    
    .header__mobile-nav {
        padding: var(--space-2) var(--space-3);
    }
    
    .menu--mobile {
        gap: var(--space-2);
    }
    
    .menu--mobile .menu__link {
        padding: var(--space-1) var(--space-2);
        font-size: 14px;
    }
    
    .mobile-menu__button {
        width: 25px;
        height: 25px;
    }
    
    .language-selector__current {
        padding: 6px 10px;
    }
    
    .btn--primary {
        padding: 8px 15px;
        font-size: 14px;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .header__login {
        font-size: 14px;
    }
    
    .hero {
        min-height: 500px;
        padding-top: 120px;
    }
    
    .hero__title {
        font-size: 32px;
    }
    
    .launch-title {
        font-size: 1.5rem;
    }
    
    .countdown-timer {
        gap: 8px;
        margin: 20px 0;
    }
    
    .countdown-number {
        font-size: 24px;
        min-width: 50px;
    }
    
    .countdown-separator {
        font-size: 24px;
    }
    
    .countdown-label {
        font-size: 10px;
    }
    
    /* Launch Date Responsive */
    .launch-date__text {
        font-size: 16px;
        padding: 8px 20px;
        letter-spacing: 0.5px;
    }
    
    .registration-progress {
        padding: var(--space-2);
    }
    
    .registration-progress__header {
        font-size: 18px;
    }
    
    .registration-progress__count {
        font-size: 16px;
    }
    
    .intermediate__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: var(--space-3);
    }
    
    .intermediate__card {
        padding: 20px;
    }
    
    .intermediate__card--wide {
        padding: 15px;
    }
    
    .intermediate__title {
        font-size: 1.2rem;
    }
    
    .intermediate__text {
        font-size: 18px;
    }
    
    .intermediate__stat-value {
        font-size: 20px;
    }
}

/* Social Media Section */
.social-media {
    padding: 80px 0;
    position: relative;
}

.social-media__clouds {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: none;
    width: 100%;
    height: auto;
    opacity: .8;
    pointer-events: none;
}
/*
.social-media::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(243, 205, 118, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(210, 78, 61, 0.1) 0%, transparent 20%);
    pointer-events: none;
}

.section-title {
}

 .social-media::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(243, 205, 118, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(210, 78, 61, 0.1) 0%, transparent 20%);
    pointer-events: none;
} */

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-title);
    margin-bottom: 10px;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 1.4rem;
    color: var(--color-muted);
    margin-bottom: 50px;
    font-family: var(--font-heading);
}

.social-media__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--radius);
    padding: 40px 140px;
    backdrop-filter: blur(5px);
}

.social-media__text {
    flex: 1;
    text-align: left;
}

.social-media__title {
    font-size: 1.7rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.social-media__subtitle {
    font-size: 1.1rem;
    color: var(--color-muted);
    margin: 0;
    font-style: italic;
}

.social-media__links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0.9;
}

.social-media__or {
    font-family: var(--font-heading);
    color: var(--color-muted);
    font-size: 1.2rem;
    font-weight: bold;
}

.social-media__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(243, 205, 118, 0.2);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    min-width: 150px;
    -webkit-tap-highlight-color: rgba(243, 205, 118, 0.3);
    -webkit-touch-callout: none;
}

.social-media__link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(243, 205, 118, 0.5);
    background: rgba(0, 0, 0, 0.4);
}

.social-media__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    z-index: 2;
    background-color: rgb(255, 243, 207);
    filter: drop-shadow(rgba(0, 0, 0, 0.32) 0px 2px 3px);
}

.social-media__icon--telegram {
    mask: url(../images/telegram.svg) center center / contain no-repeat;
    -webkit-mask: url(../images/telegram.svg) center center / contain no-repeat;
}

.social-media__icon--discord {
    mask: url(../images/discord.svg) center center / contain no-repeat;
    -webkit-mask: url(../images/discord.svg) center center / contain no-repeat;
}

.social-media__icon--chat {
    mask: url(../images/chat.svg) center center / contain no-repeat;
    -webkit-mask: url(../images/chat.svg) center center / contain no-repeat;
}

.social-media__icon--forum {
    mask: url(../images/forum.svg) center center / contain no-repeat;
    -webkit-mask: url(../images/forum.svg) center center / contain no-repeat;
}

.social-media__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text);
    text-align: center;
}

/* Download Files Section */
.download-files {
    padding: 50px 0;
    position: relative;
}

.download-files .container {
    max-width: 1400px;
}

.new_tab {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    z-index: 2;
    background-color: #fff3cf;
    mask: url(../images/share.svg) center center / contain no-repeat;
    -webkit-mask: url(../images/share.svg) center center / contain no-repeat;
    filter: drop-shadow(rgba(0, 0, 0, 0.32) 0px 2px 3px);
}

.download-b {
    width: 22px;
    height: 22px;
    margin-left: 8px;
    z-index: 2;
    background-color: #fff3cf;
    mask: url(../images/download.svg) center center / contain no-repeat;
    -webkit-mask: url(../images/download.svg) center center / contain no-repeat;
    filter: drop-shadow(rgba(0, 0, 0, 0.32) 0px 2px 3px);
}

.download-files__wrapper {
    margin: 24px;
    background: linear-gradient(rgb(17 3 2 / 22%), rgb(17 3 2 / 48%)), url(../images/downbg.jpg);
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    padding: 30px 56px;
    min-height: 696px;
}

.download-files__title {
    text-align: left;
    font-size: 2.5rem;
    color: var(--color-title);
    margin-top: 30px;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.download-files__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-files__subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    font-family: var(--font-heading);
    margin: 0;
    white-space: nowrap;
}

.download-files__tabs {
    display: flex;
    gap: 20px;
}

.download-files__tab {
    padding: 12px 30px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(243, 205, 118, 0.3);
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(30px);
}

.download-files__tab:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(243, 205, 118, 0.5);
}

.download-files__tab--active {
    background: linear-gradient(135deg, rgba(142, 90, 58, 1) 0%, rgba(125, 62, 52, 1) 100%);
    border: 1px solid rgba(231, 192, 120, 0.9);
}

.download-files__tab--active:hover {
    background: linear-gradient(135deg, rgba(142, 90, 58, 1) 0%, rgba(125, 62, 52, 1) 100%);
}

.download-files__content {
    display: none;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(243, 205, 118, 0.2);
    border-radius: var(--radius);
    margin-bottom: 40px;
    backdrop-filter: blur(30px);
}

.download-files__content--active {
    display: block;
}

.download-files__description {
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
}

.download-files__links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-files__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 50px;
    padding: 0 20px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'TrajanSansPro', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff3cf;
    background: linear-gradient(180deg, #8f5a3a 0%, #7d3e34 100%);
    border-top: 1px solid rgba(231, 192, 120, .9);
    border-bottom: 2px solid rgba(231, 192, 120, .9);
    box-shadow: 0px 6px 12px rgb(0 0 0 / 38%);
    transition: all .5s ease-in;
}

.download-files__link:hover {
    filter: brightness(120%);
    transform: translateY(-2px);
}

.download-files__launcher-link {
    align-items: center;
    justify-content: center;
    min-width: 250px;
    height: 50px;
    padding: 0 20px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'TrajanSansPro', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff3cf;
    background: linear-gradient(180deg, #8f5a3a 0%, #7d3e34 100%);
    border-top: 1px solid rgba(231, 192, 120, .9);
    border-bottom: 2px solid rgba(231, 192, 120, .9);
    box-shadow: 0px 6px 12px rgb(0 0 0 / 38%);
    transition: all .5s ease-in;
    margin: 0 auto;
    display: flex;
    width: fit-content;
}

.download-files__launcher-link:hover {
    filter: brightness(120%);
    transform: translateY(-2px);
}

.download-files__help {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(243, 205, 118, 0.2);
}

.download-files__help-title {
    color: var(--color-title);
    font-size: 1.5rem;
    margin-bottom: 0;
    font-family: var(--font-heading);
}

.download-files__help-subtitle {
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.download-files__help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 45px;
    padding: 0 20px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'TrajanSansPro', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff3cf;
    background: linear-gradient(180deg, #8f5a3a 0%, #7d3e34 100%);
    border-top: 1px solid rgba(231, 192, 120, .9);
    border-bottom: 2px solid rgba(231, 192, 120, .9);
    box-shadow: 0px 6px 12px rgb(0 0 0 / 38%);
    transition: all .5s ease-in;
}

.download-files__help-button:hover {
    filter: brightness(120%);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .download-files__wrapper {
        margin: 15px;
        padding: 20px;
        min-height: auto;
    }
    
    .download-files__title {
        font-size: 2.2rem;
    }
    
    .download-files__header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .download-files__subtitle {
        font-size: 1.3rem;
    }
    
    .download-files__tabs {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .download-files__tab {
        width: 100%;
    }
    
    .download-files__content {
        padding: 20px;
    }
    
    .download-files__description {
        font-size: 1rem;
    }
    
    .download-files__links {
        flex-direction: column;
        align-items: center;
    }
    
    .download-files__link {
        width: 100%;
        max-width: 300px;
    }
    
    .download-files__launcher-link {
        min-width: 200px;
    }
}

@media (max-width: 576px) {
    .download-files {
        padding: 40px 0;
    }
    
    .download-files__wrapper {
        margin: 10px;
        padding: 15px;
    }
    
    .download-files__title {
        font-size: 1.8rem;
        margin-top: 20px;
    }
    
    .download-files__subtitle {
        font-size: 1.1rem;
    }
    
    .download-files__description {
        font-size: 0.9rem;
    }
    
    .download-files__tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .download-files__link,
    .download-files__launcher-link {
        min-width: 160px;
        height: 45px;
        font-size: 0.9rem;
    }
    
    .download-files__help-title {
        font-size: 1.3rem;
    }
    
    .download-files__help-subtitle {
        font-size: 1rem;
    }
    
    .download-files__help-button {
        min-width: 120px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(to bottom, rgba(17, 3, 2, 0.95) 0%, rgba(17, 3, 2, 1) 100%);
    position: relative;
    border-top: 1px solid rgba(243, 205, 118, 0.2);
}

.download::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(210, 78, 61, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(243, 205, 118, 0.15) 0%, transparent 25%);
    pointer-events: none;
}

.download__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.download__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(243, 205, 118, 0.3);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: rgba(243, 205, 118, 0.3);
    -webkit-touch-callout: none;
}

.download__link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(243, 205, 118, 0.6);
    background: rgba(0, 0, 0, 0.5);
}

.download__link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.download__link:hover::before {
    left: 100%;
}

.download__link--launcher {
    background: linear-gradient(135deg, rgba(142, 90, 58, 0.7) 0%, rgba(125, 62, 52, 0.7) 100%);
    border: 1px solid rgba(231, 192, 120, 0.9);
}

.download__link--launcher:hover {
    background: linear-gradient(135deg, rgba(142, 90, 58, 0.9) 0%, rgba(125, 62, 52, 0.9) 100%);
}

.download__icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-title);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.download__name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text);
    text-align: center;
    font-weight: 600;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 40px 0;
    border-top: 1px solid rgba(243, 205, 118, 0.2);
}

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

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.footer__link {
    color: var(--color-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer__link:hover {
    color: var(--color-title);
}

.footer__info {
    text-align: center;
}

.footer__copyright {
    color: var(--color-text);
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}

.footer__address {
    color: var(--color-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 480px) {
    .hero {
        min-height: 450px;
        padding-top: 100px;
    }
    
    .hero__title {
        font-size: 28px;
    }
    
    .launch-title {
        font-size: 1.3rem;
    }
    
    .countdown-number {
        font-size: 20px;
        min-width: 40px;
    }
    
    .countdown-separator {
        font-size: 20px;
    }
    
    .launch-date__text {
        font-size: 14px;
        padding: 6px 16px;
        letter-spacing: 0.3px;
    }
    
    .btn--primary,
    .btn--secondary,
    .expansion-card__link {
        min-width: 180px;
        height: 45px;
        font-size: 16px !important;
        padding: 0 20px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .social-media__content {
        flex-direction: column;
        text-align: center;
        padding: 30px 60px;
    }
    
    .social-media__text {
        text-align: center;
        margin-bottom: 30px;
        margin-top: 30px;
    }
    
    .social-media__links {
        justify-content: center;
    }
    
    .social-media__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .social-media__grid,
    .download__grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .social-media__content {
        padding: 30px 20px;
    }
    
    .social-media__title {
        font-size: 1.5rem;
    }
    
    .social-media__link {
        min-width: 120px;
        padding: 15px;
    }
    
    /* .social-media__links {
        flex-wrap: wrap;
    } */
    
    .footer {
        padding: 30px 0;
    }
    
    .footer__content {
        gap: 20px;
    }
    
    .footer__links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer__link {
        font-size: 0.9rem;
    }
    
    .footer__copyright,
    .footer__address {
        font-size: 0.8rem;
    }
}

/* Extra small devices (portrait phones, less than 480px) */
@media (max-width: 480px) {
    .hero {
        min-height: 450px;
        padding-top: 100px;
    }
    
    .hero__title {
        font-size: 28px;
    }
    
    .launch-title {
        font-size: 1.3rem;
    }
    
    .countdown-number {
        font-size: 20px;
        min-width: 40px;
    }
    
    .countdown-separator {
        font-size: 20px;
    }
    
    .launch-date__text {
        font-size: 14px;
        padding: 6px 16px;
        letter-spacing: 0.3px;
    }
    
    .btn--primary,
    .btn--secondary,
    .expansion-card__link {
        min-width: 180px;
        height: 45px;
        font-size: 16px !important;
        padding: 0 20px;
    }
    
    .social-media,
    .download {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .social-media__content {
        padding: 25px 15px;
    }
    
    .social-media__title {
        font-size: 1.3rem;
    }
    
    .social-media__subtitle {
        font-size: 0.9rem;
    }
    
    .social-media__links {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-media__or {
        font-size: 1rem;
    }
    
    .social-media__link {
        min-width: 100px;
        padding: 15px 10px;
    }
    
    .social-media__icon,
    .download__icon {
        font-size: 2rem;
    }
    
    .social-media__name,
    .download__name {
        font-size: 1rem;
    }
    
    .footer {
        padding: 20px 0;
    }
    
    .footer__content {
        gap: 15px;
    }
    
    .footer__links {
        gap: 10px;
    }
    
    .footer__link {
        font-size: 0.8rem;
    }
    
    .footer__copyright,
    .footer__address {
        font-size: 0.7rem;
    }
    
    /* Mobile header adjustments for extra small devices */
    .header__mobile-top {
        padding: var(--space-1) var(--space-2); z-index: 6; position: relative;
    }
    
    .header__logo-mobile .logo {
        font-size: 18px;
        padding-left: 10px;
    }
    
    .header__mobile-auth {
        padding: var(--space-1) var(--space-2);
        /* flex-direction: column; */
        gap: var(--space-1);
        align-items: center;
        z-index: 4;
        position: relative;
    }
    
    .header__mobile-nav {
        padding: var(--space-1) var(--space-2);
    }
    
    .menu--mobile {
        gap: var(--space-1);
    }
    
    .menu--mobile .menu__link {
        padding: var(--space-1);
        font-size: 13px;
    }
    
    .mobile-menu__button {
        width: 30px;
        height: 25px;
        margin-right: 15px;
        margin-left: 18px;
    }
    
    .language-selector__current {
        padding: 4px 8px;
    }
    
    .btn--primary {
        padding: 10px 12px 6px 12px;
        font-size: 13px;
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .header__login {
        font-size: 13px;
        text-align: center;
        width: 50%;
    }
}

/* Small tablets and large phones (landscape view) */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 500px;
        padding-top: 120px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .launch-title {
        font-size: 1.8rem;
    }
    
    .countdown-timer {
        gap: 6px;
        margin: 20px 0;
    }
    
    .countdown-number {
        font-size: 28px;
        min-width: 50px;
    }
    
    .countdown-separator {
        font-size: 28px;
    }
    
    .social-media__content {
        padding: 30px 20px;
    }
    
    .social-media__title {
        font-size: 1.4rem;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199px) {
    /*.container {
        max-width: 960px;
    }*/
    
    .hero {
        min-height: 600px;
    }
    
    .hero__title {
        font-size: 48px;
    }
    
    .intermediate__card {
        padding: 25px 40px;
    }
    
    .social-media__content {
        padding: 35px 100px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991px) {
    /*.container {
        max-width: 720px;
    }*/
    
    .hero {
        min-height: 550px;
    }
    
    .hero__title {
        font-size: 42px;
        padding-top: 40px;
    }
    
    .download-files__wrapper {
        padding: 25px 40px;
    }
    
    .intermediate__card {
        padding: 20px 30px;
    }
}

/* lang */
.lang {
    position: relative;
    text-align: center;
}

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

.lang__arrow {
    content: '';
    display: block;
    background: url(../images/lang/arrow-down.png) no-repeat;
    width: 10px;
    height: 5px;
    transition: .3s all;
    cursor: pointer;
    margin-top: 1px;
}

.lang:hover .lang__arrow {
    transform: rotateX(180deg);
}

.lang__link {
    background-color: #110302;
    cursor: pointer;
    transition: .3s all;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-shrink: 0;
    box-sizing: border-box;
    text-decoration: none;
    border-radius: 2px;
    padding: 4px;
    font-family: "Roboto Slab", "Times New Roman", Times, serif;
    font-family: var(--font-second);
    height: 42px;
}

.lang__img {
    width: 30px;
    height: 18px;
    flex-shrink: 0;
    font-size: 10px;
    display: block;
    margin-bottom: 2px;
}

.lang__link_sub:hover .lang__img {
    filter: drop-shadow(0 0 10px #415e6a);
}

.lang__name {
    color: #737b84;
    font-family: "Roboto Slab", "Times New Roman", Times, serif;
    font-family: var(--font-second);
    font-size: 12px;
    line-height: 12px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.lang__link_sub {
    width: 100%;
    position: relative;
    margin-top: 6px;
}

.lang__link_sub:hover .lang__name {
    filter: drop-shadow(0 0 5px #415e6a);
}

.lang__list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: .3s all;
    transform: translateY(-40px);
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1000;
    line-height: 13px;
    overflow: visible;
	background: #110302;
}

.lang:hover .lang__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
    overflow: visible;
}

.lang__link_select {
    align-items: flex-start;
    text-align: center;
    font-size: 0;
}

.lang_row {
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Mobile fixes for overflow issues */
@media (max-width: 768px) {
    /* Fix parallax container overflow */

    .header__login {
        align-items: center;
        line-height: 38px;
    }

    .parallax-container {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
    
    .lang__list {
        overflow: visible;
    }
    
    .lang:hover .lang__list {
        overflow: visible;
    }
    
    /* Fix shooting stars overflow */
    .shooting-stars {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Fix body::before overflow */
    body::before {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Fix body::after overflow */
    body::after {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Ensure header doesn't cause overflow */
    .header {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Fix any absolute positioned elements that might cause overflow */
    .parallax-container,
    .shooting-stars,
    .stars,
    .stars-1,
    .stars-2,
    .stars-3 {
        width: 100vw;
        max-width: 100%;
    }
    
    /* Hide cloud elements on mobile devices */
    .intermediate__clouds,
    .social-media__clouds {
        display: none;
    }
}

/* Additional mobile fixes for very small screens */
@media (max-width: 480px) {
    .parallax-container,
    .shooting-stars,
    body::before,
    body::after {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Prevent any animation overflow on small screens */
    .shooting-stars::before,
    .shooting-stars::after {
        width: 100vw;
        max-width: 100%;
        overflow: hidden;
    }
}
