@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700;800&display=swap');

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

:root {
    --primary: #FF8C00;
    --secondary: #FFD700;
    --accent: #FF6347;
    --dark: #2C2416;
    --light: #FFF8DC;
    --background: #F5F5DC;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--background);
    color: var(--dark);
    line-height: 1.8;
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    padding: 2rem 0;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.sidebar.mobile-hidden {
    transform: translateX(-100%);
}

.logo-section {
    text-align: center;
    padding: 0 1.5rem 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 300;
}

.sidebar nav {
    padding: 2rem 0;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-left-color: white;
    padding-left: 2.5rem;
}

.mobile-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--primary);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s;
}

.main-wrapper {
    margin-left: 280px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    background: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
}

main {
    padding: 2rem;
    flex: 1;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-icon {
    font-size: 2rem;
}

.full-width-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-left: 6px solid var(--accent);
}

.alert-box {
    background: linear-gradient(135deg, #FFE4B5, #FFDAB9);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.alert-box strong {
    color: var(--accent);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.alert-box ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.alert-box li {
    margin: 0.5rem 0;
    font-weight: 600;
}

.game-wrapper {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 140, 0, 0.3);
    margin: 2rem 0;
}

.game-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

footer {
    background: var(--dark);
    color: white;
    padding: 2rem;
    margin-top: auto;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-box {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--primary);
}

.modal-box h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.modal-box p {
    color: var(--dark);
    margin: 1rem 0;
    line-height: 1.6;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
}

.btn-decline {
    background: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
}

.btn-decline:hover {
    background: var(--dark);
    color: white;
}

@media (max-width: 968px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .main-wrapper {
        margin-left: 0;
    }
    
    header {
        padding-left: 5rem;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    main {
        padding: 1.5rem;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-wrapper iframe {
        height: 400px;
    }
    
    .modal-box {
        margin: 1rem;
        padding: 2rem;
    }
    
    .button-group {
        flex-direction: column;
    }
}
