html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0a0a;
    color: white;
    margin: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.color-primary { color: #76c043; }

/* --- LOADER --- */
#loader {
    position: fixed; inset: 0; background: #000;
    display: flex; align-items: center; justify-content: center;
    z-index: 9999; transition: opacity 0.8s ease, visibility 0.8s;
}
.loader-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.loader-logo { 
    width: 250px; height: auto; margin-bottom: 40px; 
    filter: drop-shadow(0 0 30px rgba(118, 192, 67, 0.6));
    animation: logoIntro 1s ease-out forwards; opacity: 0;
}
.loader-bar { width: 300px; height: 4px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; overflow: hidden; position: relative; }
.loader-progress { 
    position: absolute; height: 100%; width: 0%; background: #76c043; 
    box-shadow: 0 0 20px #76c043; animation: loadProgress 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.loader-text { margin-top: 15px; font-size: 11px; letter-spacing: 0.4em; color: #444; text-transform: uppercase; animation: textPulse 2s infinite; }

@keyframes logoIntro { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
@keyframes loadProgress { to { width: 100%; } }
@keyframes textPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* --- HERO --- */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(10,10,10,1) 90%); }
.hero-content { z-index: 20; width: 100%; padding: 0 20px; }
.logo-wrapper { display: flex; justify-content: center; margin-bottom: 20px; }
.main-logo { width: 100%; max-width: 450px; filter: drop-shadow(0 0 30px rgba(118,192,67,0.3)); }
.floating { animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.hero-subtitle { letter-spacing: 0.5em; text-transform: uppercase; opacity: 0.7; font-size: 0.9rem; margin-bottom: 10px; }
.lang-switch { font-size: 0.7rem; letter-spacing: 0.2em; margin-bottom: 30px; opacity: 0.5; }

.quick-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px; /* Това добавя разстоянието между Vote и Discord */
    width: 100%;
}

.quick-link-btn {
    padding: 12px 35px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.85rem;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 140px; /* Прави бутоните еднакво широки за по-добра симетрия */
    text-align: center;
}

.quick-link-btn:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
}

/* --- FEATURES GRID --- */
.info-section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.info-title { font-size: 3rem; font-weight: 900; }
.subtitle-bg { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.3em; opacity: 0.4; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card {
    height: 400px; border-radius: 20px; background-size: cover !important; background-position: center !important;
    display: flex; align-items: flex-end; padding: 40px; transition: 0.4s ease-in-out; position: relative;
    border: 1px solid rgba(255,255,255,0.05); overflow: hidden;
}

/* Изображения с правилните разширения .png */
.survival-bg { background-image: linear-gradient(to top, rgba(0,0,0,0.85), transparent), url('survival.png') !important; }
.economy-bg { background-image: linear-gradient(to top, rgba(0,0,0,0.85), transparent), url('economy.png') !important; }
.crates-bg { background-image: linear-gradient(to top, rgba(0,0,0,0.85), transparent), url('crates.png') !important; }

.feature-card:hover { transform: translateY(-10px); border-color: #76c043; }
.card-label { font-size: 2rem; font-weight: 900; text-transform: uppercase; margin: 0; z-index: 2; }
.card-desc { font-size: 0.9rem; color: #ccc; margin-top: 5px; z-index: 2; position: relative; }

/* --- VOTE SECTION --- */
.vote-section { padding: 100px 20px; display: flex; justify-content: center; }
.vote-container { 
    padding: 80px 40px; border-radius: 30px; text-align: center; max-width: 850px; width: 100%; 
    background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.05);
    display: flex; flex-direction: column; align-items: center;
}
.vote-title { font-size: 2.5rem; font-weight: 900; margin-bottom: 40px; }
.vote-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin: 30px 0; }
.vote-link { background: rgba(255,255,255,0.05); padding: 15px 35px; border-radius: 12px; font-weight: bold; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.vote-link:hover { background: #76c043; color: black; border-color: #76c043; transform: translateY(-3px); }

/* --- BRUTAL & STYLISH FOOTER --- */
.main-footer {
    background: linear-gradient(to bottom, #0a0a0a 0%, #050505 100%);
    padding: 100px 20px 50px;
    border-top: 1px solid rgba(118, 192, 67, 0.1); /* Тънка зелена линия за акцент */
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.footer-brand:hover {
    transform: translateY(-5px);
}

.footer-logo {
    width: 200px;
    height: auto;
    filter: grayscale(1) drop-shadow(0 0 0px rgba(118, 192, 67, 0));
    opacity: 0.4;
    transition: all 0.5s ease;
    margin-bottom: 20px;
}

.footer-brand:hover .footer-logo {
    filter: grayscale(0) drop-shadow(0 0 20px rgba(118, 192, 67, 0.4));
    opacity: 1;
}

.footer-ip {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    transition: color 0.3s ease;
}

.footer-brand:hover .footer-ip {
    color: #76c043;
}

/* Social Icons Style */
.footer-socials {
    display: flex;
    gap: 30px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 35px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.social-icon {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    color: #fff;
    transform: scale(1.2);
}

.tiktok:hover { color: #ff0050; filter: drop-shadow(0 0 8px #ff0050); }
.fa-discord:hover { color: #5865F2; filter: drop-shadow(0 0 8px #5865F2); }

/* Credits Area */
.footer-credits {
    margin-top: 20px;
    padding-top: 40px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-credits p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.2);
    margin: 5px 0;
    letter-spacing: 1px;
}

.developer {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem !important;
}

.developer span {
    color: #76c043;
    position: relative;
    display: inline-block;
}

.developer span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #76c043;
    transition: width 0.3s ease;
}

.developer:hover span::after {
    width: 100%;
}

/* IP BUTTON STYLE */
.ip-container { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 6px; border-radius: 50px; display: inline-flex; align-items: center; cursor: pointer; transition: 0.3s; backdrop-filter: blur(10px); }
.ip-badge { background: #76c043; color: black; font-weight: 900; padding: 12px 25px; border-radius: 50px; }
.copy-label { padding: 0 20px; font-size: 0.7rem; font-weight: bold; }
.quick-link-btn { padding: 12px 30px; border: 1px solid rgba(255,255,255,0.2); border-radius: 5px; font-weight: bold; font-size: 0.8rem; transition: 0.3s; }

/* Промяна тук: премахваме големите маргини, които бутат всичко надолу */
.player-stats-root {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 15px; /* Намалено от 25px */
    position: relative;
    z-index: 30;
}

/* Гарантираме, че Hero съдържанието е точно в центъра и не се разпъва */
.hero-content {
    z-index: 20;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Задължително */
}

/* ТОВА ЩЕ ЗАСТОПОРИ ВИДЕОТО */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Крие всичко, което стърчи */
}

/* Staff Section */
.staff-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.staff-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s ease;
    width: 200px;
}

.staff-card:hover {
    transform: translateY(-10px);
    background: rgba(118, 192, 67, 0.05);
    border-color: #76c043;
}

.staff-skin {
    width: 150px; /* Можеш да го увеличиш малко, за да изглежда по-добре */
    height: auto;
    margin-left: auto;  /* Центрира хоризонтално */
    margin-right: auto; /* Центрира хоризонтално */
    display: block;      /* Задължително, за да работят маргините */
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6)); /* Малко по-силно сияние */
    transition: transform 0.3s ease;
}

.staff-card:hover .staff-skin {
    transform: scale(1.1) rotate(5deg);
}

.staff-name {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.staff-rank {
    font-size: 0.7rem;
    font-weight: bold;
    color: #76c043;
    letter-spacing: 2px;
}

/* Стил за текста в дъното */
.developer {
    font-size: 0.85rem !important;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Анимация на сърцето */
.heart-icon {
    color: #ff4d4d; /* Червен цвят за сърцето */
    font-size: 0.9rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

/* Стил за твоето име */
.developer span {
    color: #76c043;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    cursor: pointer;
}

.developer span:hover {
    color: white;
    text-shadow: 0 0 10px #76c043;
}