/* Plinko Website Styles */
/* Modern, responsive design with gradient backgrounds and smooth animations */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

header h1 {
    color: #4a5568;
    font-size: 1.8rem;
}

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

nav a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #667eea;
}

/* Main Content */
main {
    min-height: calc(100vh - 120px);
}

/* Hero Section */
.hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero-text p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.hero-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
}

.features h2 {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #666;
}

/* Story Content */
.story-content {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    min-height: 70vh;
}

.story-content h2 {
    text-align: center;
    color: #4a5568;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.story-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.story-section:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.story-text h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.story-continuation {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
}

.story-continuation h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Game Mechanics */
.game-mechanics {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    min-height: 70vh;
}

.game-mechanics h2 {
    text-align: center;
    color: #4a5568;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.mechanism-section {
    margin-bottom: 4rem;
}

.mechanism-section h3 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.physics-explanation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.physics-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.physics-card h4 {
    color: #667eea;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.bounce-diagram {
    text-align: center;
    margin-bottom: 2rem;
}

.bounce-diagram img {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
}

.bounce-list {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    list-style: none;
}

.bounce-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid #667eea;
    font-weight: 500;
}

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

.block-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.equation-note {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
}

.equation-note em {
    font-style: normal;
    font-weight: bold;
}

.fun-facts {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
}

.fun-facts h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.fact {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.fact h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Gallery */
.gallery-content {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    min-height: 70vh;
}

.gallery-content h2 {
    text-align: center;
    color: #4a5568;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.gallery-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.featured-image {
    margin-bottom: 4rem;
    position: relative;
}

.featured-image img {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.image-caption {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1.5rem;
    border-radius: 0 0 15px 15px;
    margin-top: -10px;
    position: relative;
}

.image-caption h3 {
    margin-bottom: 0.5rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.item-caption {
    padding: 1.5rem;
}

.item-caption h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.gallery-inspiration {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
}

.gallery-inspiration h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.inspiration-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

blockquote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

cite {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 2rem 0;
    backdrop-filter: blur(10px);
}

footer p {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .story-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .story-section:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .physics-explanation {
        grid-template-columns: 1fr;
    }

    .fact-grid {
        grid-template-columns: 1fr;
    }

    .block-types {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }

    .story-content h2,
    .game-mechanics h2,
    .gallery-content h2 {
        font-size: 2rem;
    }

    .hero-content,
    .story-section,
    .mechanism-section,
    .feature-card,
    .physics-card,
    .block-card,
    .gallery-item {
        padding: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}