/* ==========================================================================
   mmarankingshistory - Static Site Styles
   ========================================================================== */

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-bg: #0f172a;
    --color-bg-light: #1e293b;
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
    height: 100%;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-light) 100%);
}

.container {
    max-width: 800px;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.cta {
    margin-top: 2rem;
}

.cta p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    background: var(--color-primary);
    color: var(--color-text);
}

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

/* Error Page */
.error-page h1 {
    font-size: clamp(4rem, 15vw, 10rem);
}

/* Footer */
footer {
    padding: 1.5rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--color-bg-light);
}

.footer-nav {
    margin-top: 0.5rem;
}

.footer-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    padding: 1.25rem 1.5rem;
    z-index: 9999;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner-content p {
    flex: 1;
    min-width: 280px;
    margin: 0;
    color: var(--color-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-banner-content p a {
    color: var(--color-primary);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-text);
    color: var(--color-text);
    transform: translateY(-2px);
}

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

/* ==========================================================================
   Static Pages (Privacy Policy, etc.)
   ========================================================================== */
.static-page {
    flex: 1;
    padding: 3rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.static-page h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.static-page h2 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    color: var(--color-text);
}

.static-page p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.static-page ul {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.static-page a {
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 640px) {
    .hero {
        padding: 1rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-content p {
        min-width: auto;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
    
    .static-page {
        padding: 2rem 1rem;
    }
}
