/* launch-theme-overrides.css */

/* Global Typography & Background */
body {
    font-family: 'Cinzel', serif !important;
    background: #111;
    color: #eee;
}

/* Background Layer Override */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

/* Panel Containers (Rankings, Menus) - Match Launch Box Style */
.panel-card,
.login-box {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 2px solid #5d4037 !important;
    border-radius: 10px !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(5px);
    padding: 20px;
}

/* Typography Overrides */
.gold-title,
.wood-beam,
.tab-btn.active {
    color: #d4af37 !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    font-family: 'Cinzel', serif !important;
    border-bottom-color: #d4af37 !important;
}

.gold-subtitle,
.tab-btn {
    font-family: 'MedievalSharp', cursive !important;
    color: #aaa !important;
}

/* Initial hidden state for panels to allow fade-in if desired, 
   but enforcing visibility for now to avoid breaking layout */
.main-container {
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Overrides to match theme */
.aoe-btn,
.form-btn,
.google-btn {
    border: 1px solid #d4af37 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    color: #d4af37 !important;
    font-family: 'Cinzel', serif !important;
    transition: all 0.3s ease;
}

.aoe-btn:hover,
.form-btn:hover {
    background: #d4af37 !important;
    color: #000 !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Input Fields */
input.aoe-input {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid #5d4037 !important;
    color: #fff !important;
}

/* Special Button Overrides - Must come after general .aoe-btn rules */
.google-btn {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 50%, #daa520 100%) !important;
    border: 2px solid #ffd700 !important;
    color: #000 !important;
    font-weight: bold !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.7) !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3) !important;
}

.google-btn:hover {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #b8860b 100%) !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.9) !important;
    transform: translateY(-2px) !important;
    color: #000 !important;
}

.btn-tahkimli {
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #b22222 100%) !important;
    color: #fff !important;
    border: 2px solid #ff6b6b !important;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.6) !important;
    font-weight: bold !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.btn-tahkimli:hover {
    background: linear-gradient(135deg, #dc143c 0%, #ff4444 50%, #8b0000 100%) !important;
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.8) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
}