/* CSS Variables */
:root {
    --color-primary: #8b6914;
    --color-primary-light: #c49a1a;
    --color-primary-dark: #6b5010;
    --color-accent: #00d4d4;
    --color-accent-glow: rgba(0, 212, 212, 0.4);
    --color-background: #1a1a2e;
    --color-background-light: #252542;
    --color-background-card: #2d2d4a;
    --color-text: #e8e8f0;
    --color-text-muted: #a0a0b8;
    --color-border: #3d3d5c;
    --font-display: 'Cinzel', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px var(--color-accent-glow);
    --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 24px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-light);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 105, 20, 0.4);
}

.btn-secondary {
    background: var(--color-background-light);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-background-card);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(139, 105, 20, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 212, 212, 0.1) 0%, transparent 50%),
        var(--color-background);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.highlight {
    color: var(--color-accent);
    position: relative;
}

.tagline {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.store-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-badge {
    opacity: 0.9;
    transition: opacity var(--transition);
}

.store-badge:hover {
    opacity: 1;
}

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

.arcy-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arcy {
    max-width: 400px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

.glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

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

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

.feature-card {
    background: var(--color-background-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    stroke: white;
}

.feature-card p {
    color: var(--color-text-muted);
}

/* Download Section */
.download {
    padding: 6rem 0;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

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

.download-card {
    background: var(--color-background-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all var(--transition);
}

.download-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: 0 0 30px rgba(139, 105, 20, 0.2);
}

.platform-icon {
    margin-bottom: 1.5rem;
}

.platform-icon svg {
    stroke: var(--color-accent);
}

.download-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.mobile-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--color-background-light);
}

.about-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.arcy-small {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.about-text h2 {
    text-align: left;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: none;
    }

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

    .store-links {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .arcy {
        max-width: 300px;
    }

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

    .about-image {
        order: -1;
    }

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

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

    .footer-links {
        justify-items: center;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .store-links {
        flex-direction: column;
        align-items: center;
    }

    .mobile-buttons {
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
