/* ONSITE RECORDS - Professional CSS with Performance Optimization */

/* CSS Variables for Dark Theme */
:root {
    --primary-bg: #000000;
    --secondary-bg: #0a0a0a;
    --card-bg: #111111;
    --accent-color: #FF0040;
    --accent-hover: #FF1a50;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: #222222;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.5);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.6);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.7);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.8);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.logo:hover .logo-text {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--text-primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    overflow: hidden;
    margin-top: 60px;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 0, 64, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 64, 0.05) 0%, transparent 50%);
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-primary);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 0, 64, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

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

.btn-submit {
    background: var(--accent-color);
    color: var(--text-primary);
    border: none;
    width: 100%;
    max-width: 200px;
}

.btn-submit:hover {
    background: var(--accent-hover);
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Artists Section */
.artists-section {
    background: var(--secondary-bg);
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.artist-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.artist-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.artist-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.artist-card:hover .artist-image {
    transform: scale(1.1);
}

.artist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.artist-card:hover .artist-overlay {
    opacity: 1;
}

.artist-link {
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.artist-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.artist-name {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
}

.artist-genre {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Releases Section */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.release-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.release-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.release-artwork {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.release-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.release-card:hover .release-image {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 64, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
}

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

.play-button:hover {
    background: var(--accent-hover);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    width: 24px;
    height: 24px;
    fill: var(--text-primary);
    margin-left: 3px;
}

.release-title {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
}

.release-artist {
    padding: 0 1.5rem;
    color: var(--text-secondary);
}

.release-date {
    padding: 0.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Events Section */
.events-section {
    background: var(--secondary-bg);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    transition: all var(--transition-normal);
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    min-width: 80px;
    text-align: center;
    padding: 1rem;
    background: var(--accent-color);
    border-radius: 10px;
}

.event-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.event-details {
    flex: 1;
}

.event-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.event-venue {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.event-lineup {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.event-ticket-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.event-ticket-btn:hover {
    background: var(--accent-color);
    color: var(--text-primary);
}

/* Demo Section */
.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.demo-requirements {
    list-style: none;
    margin-bottom: 2rem;
}

.demo-requirements li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.demo-requirements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.25rem;
}

.demo-note {
    padding: 1rem;
    background: rgba(255, 0, 64, 0.1);
    border-left: 3px solid var(--accent-color);
    border-radius: 5px;
}

/* Forms */
.demo-form,
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    background: var(--secondary-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(90, 186, 71, 0.1);
    color: #5aba47;
    border: 1px solid #5aba47;
    display: block;
}

.form-message.error {
    background: rgba(201, 33, 39, 0.1);
    color: #c92127;
    border: 1px solid #c92127;
    display: block;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(90deg, rgba(255, 0, 64, 0.1) 0%, rgba(255, 0, 64, 0.05) 100%);
    padding: 4rem 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input-group input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    background: var(--secondary-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
}

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

.btn-newsletter {
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-newsletter:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

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

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-heading {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: var(--text-muted);
    transition: fill var(--transition-fast);
}

.social-link:hover .social-icon {
    fill: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    animation: slideUp 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 1s ease 0.6s forwards;
    opacity: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--primary-bg);
        flex-direction: column;
        padding: 2rem;
        transition: left var(--transition-normal);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 4rem);
    }
    
    .demo-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .artists-grid,
    .releases-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Loading States */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}