* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1400px;
}

.access-screen {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.incognito-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.incognito-icon img {
    width: 120px;
    height: 120px;
    filter: invert(1) brightness(1.2);
}

.access-screen h1 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 2em;
    font-weight: 600;
}

.subtitle {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.95em;
}

.code-input {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    font-size: 15px;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.2s;
}

.code-input:focus {
    outline: none;
    border-color: #555;
    background: #151515;
}

.btn {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.error-msg {
    color: #ff4444;
    margin-top: 15px;
    min-height: 20px;
    font-size: 0.9em;
}

.games-screen {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 30px;
    animation: fadeIn 0.3s ease;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.incognito-icon-small {
    display: flex;
    align-items: center;
}

.incognito-icon-small img {
    width: 40px;
    height: 40px;
    filter: invert(1) brightness(1.2);
}

.header h1 {
    color: #fff;
    font-size: 1.8em;
    font-weight: 600;
}

.btn-logout {
    padding: 8px 20px;
    background: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
}

.btn-logout:hover {
    background: #1a1a1a;
    border-color: #444;
}

.search-container {
    margin-bottom: 25px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    font-size: 15px;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #555;
    background: #151515;
}

.search-input::placeholder {
    color: #555;
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 16px;
    pointer-events: none;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.game-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 6px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    animation: slideUp 0.3s ease backwards;
}

.game-card:hover {
    background: #1a1a1a;
    border-color: #444;
    transform: translateY(-2px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card h3 {
    color: #fff;
    font-size: 1em;
    margin-bottom: 6px;
    font-weight: 500;
}

.game-card p {
    color: #666;
    font-size: 0.85em;
}

.hidden {
    display: none;
}

.no-games {
    text-align: center;
    color: #555;
    padding: 60px;
    font-size: 1em;
}

@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .access-screen, .games-screen {
        padding: 30px 20px;
    }
    
    .incognito-icon img {
        width: 80px;
        height: 80px;
    }
    
    .access-screen h1 {
        font-size: 1.5em;
    }
    
    .header h1 {
        font-size: 1.3em;
    }
    
    .incognito-icon-small img {
        width: 32px;
        height: 32px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.announcement-bar {
    background: #062e06;                /* deep green background */
    border: 2px solid #1b7d1b;          /* bright green border */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 28px;
    font-size: 1.4em;
    font-weight: 600;
    color: #8bff8b;                     /* bright green text */
    text-align: center;
    letter-spacing: 0.5px;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 0 14px rgba(0, 255, 0, 0.12);
}

.announcement-bar::before {
    content: " ";
}

.announcement-bar.highlight {
    background: #074807;               
    border-color: #26c126;
    box-shadow: 0 0 18px rgba(0, 255, 0, 0.16);
}

