/* ============================================
   ESCALERA RECORDS — Phonk Label Website
   Gold Neon on Black — Brutalist / Underground
   ============================================ */

/* ===== VARIABLES ===== */
:root {
    --bg: #0a0a0a;
    --bg-light: #0f0f0f;
    --bg-card: #111111;
    --bg-input: rgba(255, 255, 255, 0.03);
    --gold: #FFD700;
    --gold-dim: #B8860B;
    --amber: #FFC107;
    --text: #e0e0e0;
    --text-dim: #777777;
    --text-muted: #444444;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 215, 0, 0.4);
    --glow-sm: 0 0 8px rgba(255, 215, 0, 0.3);
    --glow-md: 0 0 15px rgba(255, 215, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.15);
    --glow-lg: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2), 0 0 80px rgba(255, 193, 7, 0.1);
    --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-body: 'Space Mono', 'Courier New', monospace;
    --transition: 0.3s ease;
    --nav-height: 70px;
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

::selection {
    background: rgba(255, 215, 0, 0.25);
    color: var(--gold);
}

/* ===== GRAIN / NOISE OVERLAY ===== */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ===== SCANLINES ===== */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-logo img {
    height: 38px;
    width: auto;
    transition: filter var(--transition);
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.3));
}

.nav-logo:hover img {
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5));
}

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

.nav-links a {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 2.5px;
    color: var(--text-dim);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    box-shadow: var(--glow-sm);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--gold);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--gold);
}

/* ===== HERO ===== */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(10, 10, 10, 1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: neon-pulse 4s ease-in-out infinite;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    letter-spacing: 10px;
    color: var(--gold);
    text-shadow:
        0 0 10px rgba(255, 215, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.15);
    line-height: 1;
    margin-bottom: 12px;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    letter-spacing: 5px;
    color: var(--text-dim);
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 35px;
    color: var(--text-muted);
    animation: bounce 2.5s ease-in-out infinite;
    transition: color var(--transition);
    z-index: 1;
}

.scroll-indicator:hover {
    color: var(--gold);
}

/* ===== GLITCH TEXT (subtle, on hover only) ===== */
.glitch-text {
    position: relative;
}

.glitch-text:hover {
    animation: glitch-skew 0.5s ease-in-out;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 5px;
    text-align: center;
    color: var(--text);
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 15px auto 0;
    box-shadow: var(--glow-sm);
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

/* ===== ABOUT ===== */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.9;
    margin-bottom: 40px;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

/* ===== ARTISTS GRID ===== */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.artist-card {
    text-align: center;
    padding: 25px 15px;
    border: 1px solid var(--border);
    background: var(--bg-light);
    transition: all var(--transition);
}

.artist-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--glow-md);
    transform: translateY(-6px);
}

.artist-img-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.artist-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--bg-card);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: border-color var(--transition);
}

.artist-card:hover .artist-img {
    border-color: var(--gold-dim);
}

.artist-initial {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.15;
    z-index: 0;
}

.artist-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 12px;
}

.artist-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.artist-link-icon {
    color: var(--text-muted);
    transition: color var(--transition), transform var(--transition);
    display: flex;
    align-items: center;
}

.artist-link-icon:hover {
    color: var(--gold);
    transform: scale(1.15);
}

/* ===== RELEASES / DISCOGRAPHY ===== */
.year-group {
    margin-bottom: 50px;
}

.year-group:last-child {
    margin-bottom: 0;
}

.year-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.year-label {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 3px;
    color: var(--gold);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
    white-space: nowrap;
}

.year-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--border-hover), transparent);
}

.year-count {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    white-space: nowrap;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.release-card {
    display: block;
    border: 1px solid var(--border);
    background: var(--bg-light);
    overflow: hidden;
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}

.release-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--glow-sm);
}

.release-cover {
    aspect-ratio: 1;
    background-color: #111;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.release-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%);
    transition: opacity var(--transition);
}

.release-card:hover .release-cover::after {
    opacity: 0.6;
    background: rgba(0, 0, 0, 0.5);
}

.release-cover-initial {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
}

.release-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity var(--transition);
    color: var(--gold);
}

.release-card:hover .release-play-icon {
    opacity: 1;
}

.release-info {
    padding: 14px 16px;
}

.release-info-top {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.release-title {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 1.5px;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.release-type {
    font-size: 0.55rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 6px;
    border: 1px solid;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.4;
}

.release-type--album {
    color: var(--gold);
    border-color: var(--gold-dim);
}

.release-type--ep {
    color: var(--text-dim);
    border-color: var(--text-muted);
}

.release-type--single {
    color: var(--amber);
    border-color: rgba(255, 193, 7, 0.4);
}

.release-artist {
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

/* ===== FORMS ===== */
.form-container {
    max-width: 650px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-group .optional {
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.1);
}

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

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group select option {
    background: var(--bg);
    color: var(--text);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    text-align: center;
}

.btn:hover {
    background: var(--gold);
    color: var(--bg);
    box-shadow: var(--glow-md);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-outline {
    padding: 10px 24px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    letter-spacing: 1.5px;
}

/* ===== NEWSLETTER ===== */
.contact-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-right: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: border-color var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
}

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

.newsletter-form .btn {
    border-radius: 0;
    padding: 14px 28px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.contact-socials {
    display: flex;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color var(--transition);
}

.social-link:hover {
    color: var(--gold);
}

/* ===== FOOTER ===== */
.footer {
    padding: 50px 40px 30px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 35px;
    opacity: 0.4;
    filter: grayscale(0.5);
    transition: all var(--transition);
}

.footer-logo img:hover {
    opacity: 0.8;
    filter: grayscale(0) drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== NOTIFICATION TOAST ===== */
.notification {
    position: fixed;
    bottom: 25px;
    right: 25px;
    padding: 16px 28px;
    background: var(--bg-card);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    z-index: 10000;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.4s ease;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.error {
    border-color: #cc3333;
    color: #cc3333;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== KEYFRAMES ===== */
@keyframes neon-pulse {
    0%, 100% {
        filter:
            drop-shadow(0 0 12px rgba(255, 215, 0, 0.4))
            drop-shadow(0 0 25px rgba(255, 215, 0, 0.2));
    }
    50% {
        filter:
            drop-shadow(0 0 20px rgba(255, 215, 0, 0.6))
            drop-shadow(0 0 45px rgba(255, 215, 0, 0.3))
            drop-shadow(0 0 70px rgba(255, 193, 7, 0.15));
    }
}

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

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    20% { transform: skew(-2deg); }
    40% { transform: skew(1deg); }
    60% { transform: skew(-0.5deg); }
    80% { transform: skew(0.5deg); }
    100% { transform: skew(0deg); }
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .artists-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .releases-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section {
        padding: 80px 30px;
    }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: right 0.35s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.4rem;
        letter-spacing: 4px;
    }

    .hero h1 {
        letter-spacing: 6px;
    }

    .hero-logo {
        width: 140px;
        height: 140px;
    }

    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .artist-img {
        width: 100px;
        height: 100px;
    }

    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .section {
        padding: 70px 20px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-form input {
        border-right: 1px solid var(--border);
    }

    .newsletter-form .btn {
        width: 100%;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .artist-card {
        padding: 18px 10px;
    }

    .artist-img {
        width: 80px;
        height: 80px;
    }

    .artist-name {
        font-size: 1rem;
    }

    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .release-info {
        padding: 10px 12px;
    }

    .release-title {
        font-size: 0.85rem;
    }

    .section {
        padding: 60px 16px;
    }

    .hero-tagline {
        letter-spacing: 3px;
    }

    .year-label {
        font-size: 1.5rem;
    }
}
