:root {
    /* Apple-inspired color palette - Light mode */
    --primary-bg: #ffffff;
    --secondary-bg: #f5f5f7;
    --tertiary-bg: #e8e8ed;
    --primary-text: #1d1d1f;
    --secondary-text: #515154;
    --accent-color: #0071e3;
    --border-color: #d2d2d7;
    --button-hover: #0077ed;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

.dark-mode {
    /* Dark mode color scheme */
    --primary-bg: #1d1d1f;
    --secondary-bg: #2d2d2f;
    --tertiary-bg: #3d3d3f;
    --primary-text: #f5f5f7;
    --secondary-text: #a1a1a6;
    --accent-color: #2997ff;
    --border-color: #424245;
    --button-hover: #148eff;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

header {
    text-align: center;
    margin-bottom: 2.5rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
    font-weight: 700;
}

.tagline {
    font-size: 1.25rem;
    color: var(--secondary-text);
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    font-size: 1.75rem;
    margin: 1.5rem 0 1rem;
    color: var(--primary-text);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--secondary-text);
}

.game-container {
    margin: 2rem 0;
    background-color: var(--secondary-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.game-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 8px;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-controls {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--tertiary-bg);
    border-radius: 8px;
    text-align: center;
}

.game-info {
    background-color: var(--secondary-bg);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px var(--shadow-color);
}

ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-text);
}

li {
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

#theme-toggle-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

#theme-toggle {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 2px 8px var(--shadow-color);
}

#theme-toggle:hover {
    background-color: var(--button-hover);
}

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .game-container, .game-info {
        padding: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .game-controls p {
        font-size: 0.9rem;
    }
    
    #theme-toggle-wrapper {
        top: 10px;
        right: 10px;
    }
    
    #theme-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
} 