/* Base styles */
:root {
    --primary-color: #007AFF;
    --secondary-color: #FF3B30;
    --accent-color: #5AC8FA;
    --text-color: #333;
    --light-text: #fff;
    --bg-color: #f9f9f9;
    --dark-bg: #2c2c2c;
    --section-padding: 80px 0;
}

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

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

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

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

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

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

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

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 100%);
}

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

.hero-content {
    flex: 1;
    max-width: 500px;
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--dark-bg);
}

.tagline {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Watch frame styling */
.watch-frame {
    width: 280px;
    height: 330px;
    background-color: #333;
    border-radius: 45px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
}

.watch-screen {
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-demo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
}

.letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 5px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    animation: float 2s infinite alternate;
}

.letter:nth-child(1) {
    background-color: #FF3B30;
    animation-delay: 0s;
}

.letter:nth-child(2) {
    background-color: #FF9500;
    animation-delay: 0.2s;
}

.letter:nth-child(3) {
    background-color: #4CD964;
    animation-delay: 0.4s;
}

.letter:nth-child(4) {
    background-color: #5AC8FA;
    animation-delay: 0.6s;
}

.letter:nth-child(5) {
    background-color: #007AFF;
    animation-delay: 0.8s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-10px);
    }
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

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

.feature {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: #f8f9fa;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.feature h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* How to Play Section */
.how-to-play {
    padding: var(--section-padding);
    background-color: #f8f9fa;
}

.how-to-play h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.rules-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.rules-column {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.rules-column h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.rules-column ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.rules-column ul li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Download Section */
.download {
    padding: var(--section-padding);
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
}

.download h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.download p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.app-store-button {
    display: inline-block;
    transition: transform 0.3s;
}

.app-store-button:hover {
    transform: scale(1.05);
}

.app-store-button img {
    height: 50px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #ccc;
    padding: 40px 0;
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--light-text);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
        max-width: 100%;
    }
    
    h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero {
        padding-top: 150px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    footer .container {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 32px;
    }
    
    .watch-frame {
        width: 220px;
        height: 260px;
    }
    
    .letter {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
} 