/* ===========================
   GidaTV Global Styles
   Shared across all pages
   =========================== */

:root {
    /* Warm dark backgrounds (amber/brown undertone) */
    --bg-dark: #0d0a07;
    --bg-darker: #080604;
    --bg-card: #161210;
    --bg-card-hover: #1c1714;
    --bg-elevated: #211b17;

    /* Primary accent */
    --accent: #FF9933;
    --accent-dark: #E67E00;
    --accent-light: #FFB366;
    --accent-glow: rgba(255, 153, 51, 0.12);
    --accent-glow-strong: rgba(255, 153, 51, 0.25);

    /* Brand colors (from app mascot/icon/assets) */
    --coral: #FF8A70;
    --coral-deep: #FF6B4A;
    --teal: #2DD4BF;
    --warm-yellow: #FFD700;
    --warm-pink: #FF6B9D;

    /* Glow variants */
    --coral-glow: rgba(255, 138, 112, 0.12);
    --teal-glow: rgba(45, 212, 191, 0.12);
    --warm-glow: rgba(255, 215, 0, 0.10);

    /* Border variants */
    --border-coral: rgba(255, 138, 112, 0.3);
    --border-teal: rgba(45, 212, 191, 0.3);

    /* Shadow variants */
    --shadow-coral-glow: 0 0 40px rgba(255, 138, 112, 0.15);
    --shadow-teal-glow: 0 0 40px rgba(45, 212, 191, 0.15);

    /* Warm text tint */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 248, 240, 0.78);
    --text-muted: rgba(255, 248, 240, 0.52);

    /* Warm borders */
    --border-subtle: rgba(255, 200, 150, 0.08);
    --border-accent: rgba(255, 153, 51, 0.3);

    /* Shadows */
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(255, 153, 51, 0.15);

    /* Gradient presets */
    --gradient-warm: linear-gradient(135deg, var(--accent), var(--coral-deep), var(--warm-pink));
    --gradient-hero-bg: linear-gradient(180deg, var(--bg-darker) 0%, #0f0c09 50%, var(--bg-darker) 100%);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    background: var(--bg-dark);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    background: rgba(13, 10, 7, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.3rem;
}

nav .logo-link img {
    height: 40px;
    margin-right: 12px;
}

nav .nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

/* Hero Section (sub-page default) */
.hero {
    background: var(--gradient-hero-bg);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background:
        radial-gradient(ellipse at 40% 30%, rgba(255, 153, 51, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 40%, rgba(255, 107, 74, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--coral), var(--accent), transparent);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

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

/* Section */
section {
    padding: 80px 24px;
}

section h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

section .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent), var(--coral-deep));
    color: #000;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 74, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 74, 0.4);
    background: linear-gradient(135deg, var(--accent-light), var(--coral));
}

.cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    box-shadow: none;
}

.cta-secondary:hover {
    background: var(--bg-card);
    border-color: var(--text-muted);
    box-shadow: none;
}

/* Footer */
footer {
    background: var(--bg-darker);
    color: var(--text-muted);
    padding: 80px 24px 40px;
    border-top: none;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), var(--accent), var(--coral), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 44px;
    margin-right: 12px;
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive - Shared */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.75rem;
    }

    section {
        padding: 60px 24px;
    }

    nav .nav-links {
        gap: 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 16px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 48px 16px;
    }

    nav .logo-link {
        font-size: 1.1rem;
    }

    nav .logo-link img {
        height: 32px;
    }
}
