/* Base Styles */
:root {
    --primary-color: #6B9080;
    --secondary-color: #A4C3B2;
    --accent-color: #F6FFF8;
    --dark-color: #2F3E46;
    --light-color: #EAF4F4;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

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

.tagline {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--light-color);
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.app-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin: 40px 0;
}

.app-button {
    display: inline-block;
    transition: transform 0.3s ease;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.app-button:hover {
    transform: scale(1.05);
    background: transparent;
    box-shadow: none;
}

.app-button img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease, transform 0.3s ease;
    border-radius: 0;
    max-width: none;
}

.app-button:hover img {
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.25));
}

/* For the download section specifically */
.download .app-buttons {
    justify-content: center;
    margin: 40px auto;
}

.download .app-button {
    animation: pulse 2s infinite;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.download .app-button img {
    height: 60px;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.3));
    max-width: none;
}

.download .app-button:hover {
    animation: none;
    transform: scale(1.1);
    background: transparent;
    box-shadow: none;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

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

.feature-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Game Modes Section */
.game-modes {
    padding: 80px 0;
    background-color: var(--accent-color);
}

.game-modes-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.game-mode {
    display: flex;
    align-items: center;
    gap: 40px;
}

.game-mode.reverse {
    flex-direction: row-reverse;
}

.game-mode-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.game-mode-content {
    flex: 1;
}

.game-mode-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.game-mode-content p {
    margin-bottom: 20px;
}

.game-mode-features {
    padding-left: 20px;
}

.game-mode-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.game-mode-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--white);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Download Section */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100% 100%;
    opacity: 0.15;
}

.download .section-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 30px;
}

.download .section-title::after {
    background-color: var(--white);
    height: 5px;
    width: 100px;
}

.download-text {
    font-size: 2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.app-info {
    margin-top: 40px;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-color);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact a {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .app-buttons {
        justify-content: center;
    }

    .game-mode,
    .game-mode.reverse {
        flex-direction: column;
    }

    .game-mode-image {
        order: 1;
    }

    .game-mode-content {
        order: 2;
    }
    
    .download .section-title {
        font-size: 2.5rem;
    }
    
    .download-text {
        font-size: 1.8rem;
    }
    
    .app-button img {
        height: 100px;
    }
    
    .download .app-button img {
        height: 160px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 15px;
        text-align: center;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li {
        margin: 0 15px;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .download-text {
        font-size: 1.6rem;
    }
    
    .app-button img {
        height: 40px;
    }
    
    .download .app-button img {
        height: 50px;
    }
    
    .download .section-title {
        font-size: 2.2rem;
    }
}

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

    .feature-card,
    .benefit {
        padding: 20px;
    }

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

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .download-text {
        font-size: 1.4rem;
    }
    
    .app-button img {
        height: 36px;
    }
    
    .download .app-button img {
        height: 45px;
    }
    
    .download .section-title {
        font-size: 2rem;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(107, 144, 128, 0.4);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(107, 144, 128, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(107, 144, 128, 0);
    }
} 