:root {
    --primary-color: #ff3b3b;
    --primary-glow: rgba(255, 59, 59, 0.6);
    --gold: #f4d03f;
    --gold-dark: #b7950b;
    --bg-dark: #0f1115;
    --panel-bg: rgba(15, 17, 21, 0.75);
    --text-main: #ffffff;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow: hidden;
}

.hero-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

/* Premium Game UI Panel */
.game-panel {
    position: relative;
    z-index: 2;
    background: var(--panel-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3.5rem 4rem;
    max-width: 850px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0,0,0,0.5);
    transform: translateY(20px);
    animation: panel-enter 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes panel-enter {
    to { transform: translateY(0); opacity: 1; }
    from { transform: translateY(40px); opacity: 0; }
}

/* HUD Corners */
.panel-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 2px solid var(--gold);
    z-index: 3;
}

.top-left { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.top-right { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.bottom-left { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.bottom-right { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.panel-content {
    position: relative;
    z-index: 4;
}

.badge {
    display: inline-block;
    background: linear-gradient(90deg, transparent, rgba(244, 208, 63, 0.2), transparent);
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 5px;
    padding: 5px 30px;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(244, 208, 63, 0.3);
    border-bottom: 1px solid rgba(244, 208, 63, 0.3);
}

/* Stylized Game Logo Text */
.game-logo {
    font-family: 'Cinzel Decorative', serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.2rem;
    color: #fff;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #ffffff 30%, #a8b8d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 6px 4px rgba(0,0,0,0.8));
    position: relative;
}

.sub-logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 12px;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #d1d8e0;
    margin-bottom: 3.5rem;
    font-weight: 500;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Premium Gaming Buttons */
.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 45px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-play {
    background: linear-gradient(135deg, #ff3b3b 0%, #c0392b 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 59, 59, 0.4);
}

.btn-play::before {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    z-index: 1;
}

.btn-play .btn-text, .btn-play .btn-icon {
    position: relative;
    z-index: 2;
}

.btn-play:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ff5252 0%, #e74c3c 100%);
    box-shadow: 0 0 30px rgba(255, 59, 59, 0.8);
}

.btn-register {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.btn-register:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .game-panel {
        padding: 2rem;
        margin: 1rem;
    }
    .game-logo {
        font-size: 2.8rem;
    }
    .sub-logo {
        font-size: 1.5rem;
        letter-spacing: 6px;
    }
    .button-group {
        flex-direction: column;
        gap: 1.2rem;
    }
}
