/* OK-Kaartspellen Stylesheet */
/* Geïnspireerd door de vrolijke, gele stijl van de afbeeldingen */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Momo+Signature&family=Fredoka:wght@300;400;500;600;700&family=Public+Sans:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2C3E50;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styling */
header {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #FF6B35;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

h1 {
    font-family: 'Momo Signature', cursive;
    color: #2C3E50;
    font-size: 2.5rem;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    font-family: 'Fredoka', sans-serif;
    text-decoration: none;
    color: #2C3E50;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #FFE135, #FFA500);
}

nav a:hover,
nav a.active {
    background: linear-gradient(45deg, #FF6B35, #FF4757);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Main Content */
main {
    padding: 40px 0;
}

/* Countdown Section */
.countdown-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 3px solid #FFE135;
}

.countdown-section h2 {
    font-family: 'Fredoka', sans-serif;
    color: #FF6B35;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.countdown-timer p {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2C3E50;
    font-weight: 500;
}

.countdown-display {
    font-family: 'Fredoka', sans-serif;
    background: linear-gradient(45deg, #FF6B35, #FF4757);
    color: white;
    padding: 20px;
    border-radius: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Game Section */
.game-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 3px solid #FFE135;
}

.game-section h1 {
    font-family: 'Fredoka', sans-serif;
    color: #FF6B35;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Rules Styling */
.game-rules h2 {
    font-family: 'Fredoka', sans-serif;
    color: #FF6B35;
    font-size: 2rem;
    font-weight: 600;
    margin: 30px 0 20px 0;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.rule-section {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    border-radius: 15px;
    border-left: 5px solid #FF6B35;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.rule-section h3 {
    font-family: 'Fredoka', sans-serif;
    color: #2C3E50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.rule-section p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: justify;
}

.rule-section ul,
.rule-section ol {
    margin-left: 20px;
    font-size: 1.1rem;
}

.rule-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.rule-section.tips {
    background: linear-gradient(135deg, #E8F5E8, #C8E6C9);
    border-left-color: #4CAF50;
}

.rule-section.tips h3 {
    font-family: 'Fredoka', sans-serif;
    color: #2E7D32;
    font-weight: 600;
}

/* Footer */
footer {
    background: rgba(44, 62, 80, 0.9);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    font-family: 'Public Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .game-section h1 {
        font-size: 2rem;
        font-weight: 600;
    }
    
    .countdown-section h2 {
        font-size: 1.5rem;
        font-weight: 500;
    }
    
    .countdown-display {
        font-size: 1.2rem;
        padding: 15px;
    }
    
    .rule-section {
        padding: 20px 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .countdown-display {
        font-size: 1rem;
        word-break: break-word;
    }
    
    .rule-section h3 {
        font-size: 1.2rem;
        font-weight: 500;
    }
    
    .rule-section p,
    .rule-section li {
        font-size: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
}

/* Decorative Elements */
.game-section::before {
    content: "🎴🃏🎴";
    display: block;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

/* Hover Effects */
.rule-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Card-like styling for better visual hierarchy */
.rule-section ol {
    counter-reset: step-counter;
}

.rule-section ol li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 30px;
}

.rule-section ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #FF6B35;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}