/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #6366f1;
    --text-gray: #666666;
    --light-gray: #f5f5f5;
    --border-color: #e5e5e5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* Navigation */
.navbar {
    background-color: var(--secondary-color);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Games Section */
.games {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.games .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
}

.game-card {
    background-color: var(--secondary-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.game-subtitle {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1rem;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.store-buttons img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s;
}

.store-buttons a:hover img {
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer a {
    color: var(--secondary-color);
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-submit {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-submit:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.form-success {
    display: none;
    padding: 15px;
    background-color: #10b981;
    color: white;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-success.show {
    display: block;
}

/* Privacy Policy Page */
.privacy-policy {
    padding: 60px 0;
    max-width: 900px;
    margin: 0 auto;
}

.privacy-policy h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.effective-date {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-style: italic;
}

.privacy-policy h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.privacy-policy h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 10px;
}

.privacy-policy h4 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.privacy-policy p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.privacy-policy ul {
    margin-bottom: 15px;
    padding-left: 30px;
}

.privacy-policy li {
    margin-bottom: 8px;
}

.privacy-policy a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .games .container {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        gap: 15px;
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .privacy-policy h1 {
        font-size: 2rem;
    }

    .privacy-policy h2 {
        font-size: 1.5rem;
    }
}
