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

body {
    font-family: 'Georgia', serif;
    height: 100vh;
    overflow: hidden;
}

/* Access Button Top Right */
.access-button-top {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: 2px solid #667eea;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.access-button-top:hover {
    background: #667eea;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
}

/* Trivia Modal Styles */
.trivia-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

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

.trivia-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.trivia-header {
    text-align: center;
    margin-bottom: 20px;
}

.trivia-gif {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #667eea;
}

.trivia-container h2 {
    color: #333;
    margin: 0;
    font-size: 2em;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #333;
}

.trivia-container p {
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.question {
    margin-bottom: 25px;
}

.question label {
    display: block;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.question input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.question input:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.error {
    color: #e74c3c;
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
}

/* Main Content Styles */
.main-content {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hidden {
    display: none !important;
}

.background-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}



/* Responsive Design */
@media (max-width: 768px) {
    .access-button-top {
        top: 10px;
        right: 10px;
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .trivia-container {
        padding: 30px;
    }
}