/* ========================================
   inat radio - Monochrome Design
   Black & White with White Glows
   ======================================== */

/* CSS Variables */
:root {
    /* Monochrome Colors */
    --primary: #ffffff;
    --primary-light: #f0f0f0;
    --secondary: #cccccc;
    --accent: #999999;

    --bg-dark: #000000;
    --bg-darker: #0a0a0a;
    --surface: rgba(255, 255, 255, 0.08);
    --surface-hover: rgba(255, 255, 255, 0.15);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Gradients - Monochrome */
    --gradient-primary: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    --gradient-glow: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(150, 150, 150, 0.2) 100%);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Shadows - White Glows */
    --shadow-glow: 0 0 40px rgba(255, 255, 255, 0.3);
    --shadow-glow-strong: 0 0 60px rgba(255, 255, 255, 0.4);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    text-transform: lowercase;
}

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

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

/* Background Elements - More Visible */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/inat_wp.jpg') no-repeat center center;
    background-size: cover;
    z-index: 0;
    opacity: 0.7;
    filter: grayscale(100%) contrast(1.1);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Glass Card Effect - Monochrome */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    text-align: center;
}

/* Logo */
.logo-container {
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    width: 280px;
    max-width: 80vw;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5)) brightness(1.1);
    transition: var(--transition-base);
}

.logo:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.7)) brightness(1.2);
}

/* Player */
.player-container {
    padding: var(--space-md);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.player-iframe {
    width: 320px;
    min-height: 204px;
    border: none;
    border-radius: var(--radius-md);
}

/* Powered by FM34 Badge */
.powered-badge {
    display: inline-block;
    transition: var(--transition-base);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.powered-badge img {
    width: 70px;
    opacity: 0.7;
    filter: brightness(1.2) grayscale(100%);
    transition: var(--transition-base);
}

.powered-badge:hover img {
    opacity: 1;
    transform: scale(1.1);
    filter: brightness(1.4) grayscale(100%) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Countdown Section */
.countdown-section {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    text-transform: lowercase;
    letter-spacing: 2px;
}

.countdown {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 80px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.countdown-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.countdown-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: lowercase;
    letter-spacing: 2px;
    transition: var(--transition-base);
    animation: fadeInUp 0.8s ease-out 0.8s backwards, bounce 2s ease-in-out infinite 1.5s;
}

.scroll-indicator:hover {
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.scroll-indicator i {
    font-size: 1.2rem;
}

/* ========================================
   About Section
   ======================================== */
.about {
    position: relative;
    z-index: 10;
    background: var(--bg-darker);
    padding: var(--space-2xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    align-items: start;
}

.about-heading h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: var(--space-sm);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--surface);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.social-icon:hover {
    background: var(--text-primary);
    border-color: transparent;
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* About Content */
.about-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-content strong {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* About Info */
.about-info h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-item i {
    color: var(--text-primary);
    margin-top: 3px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter {
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: var(--space-2xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    align-items: center;
}

.newsletter-heading h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.form-group {
    display: flex;
    gap: var(--space-xs);
}

.form-group input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-primary);
    text-transform: lowercase;
    transition: var(--transition-base);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.form-group button {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-xl);
    background: var(--text-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--bg-dark);
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-primary);
    text-transform: lowercase;
    cursor: pointer;
    transition: var(--transition-base);
}

.form-group button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}

.form-group button i {
    transition: var(--transition-base);
}

.form-group button:hover i {
    transform: translateX(4px);
}

.form-note {
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-message {
    margin-top: var(--space-sm);
    font-size: 0.9rem;
}

.form-message.success {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.form-message.error {
    color: #ff6b6b;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    position: relative;
    z-index: 10;
    background: var(--bg-darker);
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-links a {
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

    .about-heading h2 {
        font-size: 1.6rem;
    }

    .social-icons {
        justify-content: center;
    }

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

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

    .info-item {
        justify-content: center;
    }

    .newsletter-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hero {
        padding: var(--space-lg);
    }

    .logo {
        width: 220px;
    }

    .player-iframe {
        width: 280px;
    }

    .countdown {
        gap: var(--space-sm);
    }

    .countdown-item {
        min-width: 70px;
        padding: var(--space-xs) var(--space-sm);
    }

    .countdown-value {
        font-size: 1.6rem;
    }

    .about-heading h2 {
        font-size: 1.4rem;
    }

    .newsletter-heading h3 {
        font-size: 1.3rem;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group button {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .logo {
        width: 180px;
    }

    .player-iframe {
        width: 260px;
    }

    .scroll-indicator span {
        display: none;
    }
}

/* ========================================
   Utilities
   ======================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
