/* Import Fonturi Google */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=Rajdhani:wght@500;600;700&display=swap');

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

body {
    background: #050508 url('bg.jpg') no-repeat center top fixed;
    background-size: cover;
    color: #e0e0e0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    min-height: 100vh;
}

/* Header & Meniu Navigare - Fixat / Sticky sus la scroll */
header {
    background: rgba(5, 5, 8, 0.95);
    border-bottom: 2px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    margin-bottom: 30px;
}

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

.logo {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

.logo span {
    color: #ff3b00;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Stiluri Butoane Specifice Meniu (Logare / Shop / Panou) */
.btn-menu-highlight {
    color: #2ecc71 !important;
    font-weight: 800 !important;
}

.btn-menu-highlight:hover {
    color: #27ae60 !important;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.6) !important;
}

.btn-menu-shop {
    color: #f1c40f !important;
    font-weight: 800 !important;
}

.btn-menu-shop:hover {
    color: #f39c12 !important;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.6) !important;
}

/* Selector Limbi Europene (Steaguri) */
.lang-selector {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.lang-selector button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.lang-selector button:hover {
    transform: scale(1.3);
    opacity: 1;
}

.lang-selector .fi {
    font-size: 18px;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0,0,0,0.6);
}

/* Spatiu Banner / Logo Fundal */
.hero-banner {
    height: 180px;
}

/* Layout Principal */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 25px;
}

/* Design Carduri Generice */
.card {
    background: rgba(12, 12, 18, 0.92);
    border: 1px solid #28283d;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.card-header {
    border-bottom: 1px solid #28283d;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.card-header h2, .card-header h3 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    letter-spacing: 1.5px;
}

/* Formular Inregistrare */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #aaa;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: #08080d;
    border: 1px solid #28283d;
    border-radius: 4px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border 0.3s;
}

.form-group input:focus {
    border-color: #d4af37;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(180deg, #d4af37 0%, #aa820a 100%);
    border: none;
    border-radius: 4px;
    color: #000;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Alerte PHP */
.alert {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert.success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.alert.error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* ========================================== */
/* COUNTDOWN EPIC / CYBERPUNK (WOW DESIGN)     */
/* ========================================== */
.countdown-card {
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.95) 0%, rgba(5, 5, 10, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-top: 4px solid #ff3b00;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(212, 175, 55, 0.05);
    position: relative;
    overflow: hidden;
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 59, 0, 0.1), transparent);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.countdown-title {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.timer-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.timer-box {
    background: radial-gradient(circle, rgba(25, 25, 40, 0.9) 0%, rgba(10, 10, 15, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 18px 15px;
    min-width: 90px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6), inset 0 0 12px rgba(255, 59, 0, 0.15);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timer-box:hover {
    transform: translateY(-5px);
    border-color: #ff3b00;
    box-shadow: 0 8px 25px rgba(255, 59, 0, 0.3), inset 0 0 15px rgba(255, 59, 0, 0.3);
}

.timer-value {
    font-family: 'Cinzel', serif;
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 12px #ff3b00, 0 0 25px rgba(255, 59, 0, 0.6);
    line-height: 1;
}

.timer-label {
    font-size: 12px;
    color: #c0c0c0;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
}
/* ========================================== */

/* Sectiune Prezentare Joc / Features */
.features-card {
    margin-top: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.feature-box {
    background: rgba(8, 8, 13, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
}

.feature-icon {
    font-size: 28px;
    color: #d4af37;
    margin-bottom: 10px;
}

.feature-box h4 {
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 15px;
    margin-bottom: 6px;
}

.feature-box p {
    color: #aaa;
    font-size: 13px;
    line-height: 1.4;
}

/* Sidebar Widgets */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #08080d;
    padding: 10px 14px;
    border-radius: 4px;
    border: 1px solid #1a1a2b;
}

.badge {
    font-weight: 700;
    font-size: 13px;
}

.badge.online {
    color: #2ecc71;
}

/* Social Buttons Sidebar */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    color: #fff;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    transition: transform 0.2s, filter 0.2s;
}

.social-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

.btn-discord { background: #5865F2; }
.btn-tiktok { background: #000000; border: 1px solid #333; }
.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.btn-facebook { background: #1877F2; }

/* Download Widget Button */
.download-widget p {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 15px;
}

.btn-download {
    display: block;
    text-align: center;
    padding: 12px;
    background: #ff3b00;
    color: #fff;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-download:hover {
    background: #e03300;
    box-shadow: 0 0 15px rgba(255, 59, 0, 0.4);
}

/* Echipa Staff */
.staff-card {
    margin-top: 25px;
}

.staff-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.staff-item {
    background: #08080d;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #28283d;
    font-family: 'Rajdhani', sans-serif;
    color: #fff;
    font-weight: 600;
}

/* ========================================== */
/* RESPONSIVE DESIGN PENTRU TELEFOANE         */
/* ========================================== */
@media screen and (max-width: 900px) {
    .main-wrapper {
        grid-template-columns: 1fr; /* Pune sidebar-ul sub con?inutul principal pe ecrane mici */
    }
}

@media screen and (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    nav a {
        font-size: 12px;
    }

    .lang-selector {
        margin-top: 5px;
    }

    .timer-container {
        gap: 8px;
    }

    .timer-box {
        min-width: 70px;
        padding: 10px 5px;
    }

    .timer-value {
        font-size: 26px;
    }

    .hero-banner {
        height: 60px; /* Reduce spa?iul gol de sub header pe mobil */
    }
}