/* Apple-inspired color palette */
:root {
    --apple-blue: #007aff;
    --apple-gray: #8e8e93;
    --apple-light-gray: #f5f5f7;
    --apple-dark: #1d1d1f;
    --apple-white: #ffffff;
    --apple-red: #ff3b30;
    --apple-green: #34c759;
    --apple-purple: #af52de;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--apple-dark);
    background-color: var(--apple-white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--apple-blue), var(--apple-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--apple-dark);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--apple-dark);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    color: var(--apple-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--apple-purple);
}

/* Header */
header {
    background-color: var(--apple-light-gray);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--apple-blue);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-weight: 500;
    color: var(--apple-dark);
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--apple-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f5f7 0%, #e5e5ea 100%);
    padding: 6rem 0;
    text-align: center;
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--apple-gray);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--apple-blue);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.cta-button:hover {
    background-color: #0062cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 122, 255, 0.4);
    color: white;
}

/* Game Section */
.game-section {
    padding: 5rem 0;
    background-color: var(--apple-dark);
    color: var(--apple-white);
    text-align: center;
}

.game-section h2 {
    color: var(--apple-white);
}

.game-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--apple-white);
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: var(--apple-light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--apple-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: var(--apple-blue);
}

/* How to Play Section */
.how-to-play {
    padding: 5rem 0;
    background-color: var(--apple-white);
}

.instructions {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--apple-dark);
    color: var(--apple-white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--apple-blue);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--apple-light-gray);
}

.footer-links a:hover {
    color: var(--apple-blue);
}

.copyright {
    color: var(--apple-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero .tagline {
        font-size: 1.2rem;
    }
    
    nav ul li {
        margin-left: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.5rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .game-container {
        border-radius: 8px;
    }
    
    .about-content, .instructions {
        padding: 0 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
} 