:root {
    --bg-dark: #000000;
    --bg-card: rgba(10, 10, 10, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-yellow: #FF8C00;  /* Changed to orange (DarkOrange) */
    --accent-green: #00FF00;
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Courier New', monospace;
    background: #000000;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-width: 320px; /* Prevent layout from breaking on very small screens */
}

/* Animated Starry Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 40px;
    opacity: 0.3;
    animation: stars 100s linear infinite;
    z-index: -1;
}

@keyframes stars {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100vh); }
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--accent-yellow);
}

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

.nav-brand {
    font-family: 'Eras Bold ITC', 'Eras ITC', 'Arial Black', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(255, 140, 0, 0.5);
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-yellow);
    text-shadow: 0 0 10px var(--accent-yellow);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: 5px;
    text-shadow: 
        3px 3px 0 var(--accent-yellow),
        6px 6px 0 rgba(255, 215, 0, 0.5),
        9px 9px 20px rgba(255, 215, 0, 0.3);
}

.hero-image {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 10px;
    border: 3px solid var(--accent-yellow);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.tagline {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 1rem 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Content Sections */
.content-section {
    background: var(--bg-card);
    border: 2px solid var(--accent-yellow);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Shows */
.shows-grid {
    display: grid;
    gap: 1rem;
}

.show-card {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--accent-yellow);
    border-radius: 8px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    transition: all 0.3s;
}

.show-card:hover {
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transform: scale(1.02);
}

.show-date {
    text-align: center;
    min-width: 100px;
}

.show-date-day {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.show-date-month {
    font-size: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.show-details h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.show-location {
    color: var(--accent-yellow);
    font-size: 1.1rem;
}

/* Upcoming Shows Label */
.upcoming-label {
    background: var(--accent-yellow);
    color: #000;
    padding: 0.5rem 1rem;
    display: inline-block;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    transform: rotate(-2deg);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

/* Music Platform Cards */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.music-platform-card {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--accent-yellow);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.music-platform-card:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.platform-icon svg {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* Album Cards */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.album-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-yellow);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.album-card:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.album-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.album-info {
    padding: 1.5rem;
}

.album-title {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Video Embeds */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.video-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-yellow);
    border-radius: 10px;
    overflow: hidden;
    padding: 1rem;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Buttons */
.cta-button, .ticket-link {
    background: var(--accent-yellow);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.cta-button:hover, .ticket-link:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}


/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 2px solid var(--accent-yellow);
}

.footer a {
    color: var(--accent-yellow);
    text-decoration: none;
}

/* Admin Styles */
.admin-dashboard, .admin-edit, .admin-login {
    background: var(--bg-card);
    border: 2px solid var(--accent-yellow);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-yellow);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
}

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

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-yellow);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-yellow);
}

.btn-danger {
    background: #ff0000;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    /* Navigation fixes */
    .nav-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
        letter-spacing: 1px;
        text-align: center;
    }
    
    .nav-menu {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .nav-link {
        font-size: 0.85rem;
        letter-spacing: 1px;
        padding: 0.3rem 0.5rem;
    }
    
    /* Hero section */
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    /* Content sections */
    .container {
        padding: 1rem;
    }
    
    .content-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    /* Show cards */
    .show-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1rem;
    }
    
    .show-date {
        font-size: 1.2rem;
    }
    
    /* Music grid */
    .music-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .music-platform-card {
        padding: 1.5rem 1rem;
    }
    
    /* Video grid */
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    /* Admin cards */
    .admin-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .admin-card {
        padding: 1.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    /* Forms */
    .edit-form {
        padding: 1rem;
    }
    
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Tables - make them scrollable */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Contact Section - Mobile Responsive */
.contact-box {
    text-align: center;
    margin: 2rem 0;
}

.contact-box .cta-button {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    word-wrap: break-word;
    max-width: 100%;
}

@media (max-width: 768px) {
    .contact-box .cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
        display: block;
        margin: 0 auto;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .nav-brand {
        font-size: 1rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.2rem 0.3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .music-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 1rem;
    }
    
    /* Contact box on small screens */
    .contact-box .cta-button {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
        white-space: normal;
        word-break: break-word;
    }
}