@font-face {
    font-family: 'Cairo';
    src: url('Cairo-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #00a6b6, #c9da37);
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    height: 100vh;
    max-height: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.game-frame {
    width: 100%;
    flex: 1;
    max-height: 75%;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.question-title {
    font-size: 5rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif;
}

.options-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 900px;
    flex: 1;
}

.option {
    flex: 1;
    max-width: 350px;
    height: 400px;
    background: #f8f9fa;
    border: 3px solid #e0e0e0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option:hover {
    transform: translateY(-5px);
    border-color: #00a6b6;
    box-shadow: 0 10px 30px rgba(0, 166, 182, 0.3);
}

.option.selected {
    border-color: #c9da37;
    background: #f0fff0;
    box-shadow: 0 10px 30px rgba(201, 218, 55, 0.4);
    transform: scale(1.1);
    animation: selectedPulse 0.6s ease-in-out;
}

@keyframes selectedPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1.1);
    }
}

.option.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0.3;
        transform: scale(0.95);
    }
}

.option-image {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    margin-bottom: 20px;
    background: white;
    border-radius: 15px;
    padding: 20px;
}

.option-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    text-align: center;
    line-height: 1.3;
    font-family: 'Cairo', sans-serif;
}

.vs-divider {
    font-size: 5rem;
    font-weight: 800;
    color: #000;
    text-align: center;
    min-width: 120px;
    font-family: 'Cairo', sans-serif;
}


.logo {
    text-align: center;
    margin-top: 20px;
}

.logo img {
    height: 250px;
    width: auto;
    max-width: 800px;
}

/* Responsive design */
@media (max-width: 768px) {
    .options-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .option {
        width: 100%;
        max-width: 100%;
        height: 250px;
    }
    
    .option-image {
        width: 120px;
        height: 120px;
        font-size: 80px;
    }
    
    .option-text {
        font-size: 1.3rem;
    }
    
    .vs-divider {
        font-size: 4rem;
        transform: rotate(90deg);
    }
    
    .question-title {
        font-size: 3rem;
    }
    
    .logo img {
        height: 180px;
        max-width: 500px;
    }
}
