/* Design System for Logo Quiz Web */
:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary: #facc15; /* Gold/Yellow from app coins */
    --accent: #3b82f6; /* Blue highlights */
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-orange: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --card-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(244, 63, 94, 0.05) 0%, transparent 40%);
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-white);
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(250, 204, 21, 0.3);
}

.btn-outline {
    border: 1px solid var(--card-border);
    color: var(--text-white);
    background: rgba(255,255,255,0.05);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

/* Sections */
section {
    padding: 100px 5%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding-top: 120px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #000;
    border: 12px solid #1e293b;
    border-radius: 48px;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
    overflow: hidden;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Screenshot Gallery */
.screenshot-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.screenshot-container::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
}

.screenshot-item {
    flex: 0 0 calc(25% - 1.2rem);
    min-width: 250px;
    scroll-snap-align: start;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: var(--transition);
}

.screenshot-item:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .screenshot-item { flex: 0 0 calc(50% - 1rem); }
}

@media (max-width: 640px) {
    .screenshot-item { flex: 0 0 80%; }
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--card-border);
    background: rgba(0,0,0,0.2);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 160px;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

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