@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

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

body {
    font-family: 'Special Elite', monospace;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 4px;
    position: relative;
}

.nav-links a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

h1#home {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.container {
    max-width: 800px;
    width: 100%;
}

.wheel-container {
    display: flex;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 4px solid #fff;
}

iframe {
    max-width: 100%;
    display: block;
}

.questions-section {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.questions-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.note {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.questions-list {
    margin-top: 20px;
}

.question-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-left: 6px solid;
    transition: transform 0.2s;
}

.question-item:hover {
    transform: translateX(5px);
}

.question-item:nth-child(8n+1) {
    border-left-color: #FF6B6B;
}

.question-item:nth-child(8n+2) {
    border-left-color: #4ECDC4;
}

.question-item:nth-child(8n+3) {
    border-left-color: #FFE66D;
}

.question-item:nth-child(8n+4) {
    border-left-color: #95E1D3;
}

.question-item:nth-child(8n+5) {
    border-left-color: #F38181;
}

.question-item:nth-child(8n+6) {
    border-left-color: #AA96DA;
}

.question-item:nth-child(8n+7) {
    border-left-color: #FCBAD3;
}

.question-item:nth-child(8n+8) {
    border-left-color: #A8D8EA;
}

.question-item h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.question-item p {
    color: #666;
    line-height: 1.5;
}

.advanced-wheel-section {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.advanced-wheel-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.wheel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

#advanced-wheel {
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    height: auto;
}

.wheel-result {
    min-height: 120px;
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s ease;
    max-width: 700px;
    width: 100%;
}

.wheel-result.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .top-nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .nav-brand {
        font-size: 1.3rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    iframe {
        width: 100%;
        height: 500px;
    }
    
    #advanced-wheel {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
}

html {
    scroll-behavior: smooth;
}