/* ============================================
   BECCA-FEST — Modern Festival Theme
   ============================================ */

:root {
    --color-black: #0a0a0a;
    --color-dark: #111111;
    --color-dark-alt: #1a1a1a;
    --color-card: #1e1e1e;
    --color-border: #2a2a2a;
    --color-primary: #299c8f;
    --color-primary-dark: #228377;
    --color-primary-light: #33b5a6;
    --color-accent: #f4a261;
    --color-success: #2ecc71;
    --color-danger: #e74c3c;
    --color-info: #3498db;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 9999px;
}

/* ---- Base ---- */
* { box-sizing: border-box; }

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

a { color: var(--color-primary); transition: color .2s; }
a:hover { color: var(--color-primary-light); }

::selection {
    background: var(--color-primary);
    color: #fff;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.1;
}

/* ---- Navbar ---- */
.navbar-punk {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: .75rem 0;
    transition: background .3s;
}

.navbar-punk .navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.navbar-punk .nav-link {
    font-family: var(--font-heading);
    color: var(--text-secondary) !important;
    text-transform: uppercase;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: 2px;
    padding: .5rem 1.25rem !important;
    transition: color .2s;
}

.navbar-punk .nav-link:hover,
.navbar-punk .nav-link.active {
    color: var(--text-primary) !important;
}

.navbar-toggler {
    border-color: var(--color-border) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2340e0d0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Hero ---- */
img.hero-logo.fade-up.visible {
    max-width: 800px;
    padding-bottom: 50px;
    padding-top: 30px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-black);
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/concrete-wall-2.png') repeat;
    opacity: 0.4;
    pointer-events: none;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-weight: 400;
    margin-bottom: .75rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 12vw, 9rem);
    text-transform: uppercase;
    line-height: .9;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.hero-title .highlight {
    color: var(--color-primary);
}

.hero-date {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    font-weight: 400;
}

.hero-date i {
    color: var(--color-primary);
}

/* ---- Section Divider ---- */
.section-divider {
    height: 4px;
    background: var(--color-primary);
}

/* ---- Countdown ---- */
.countdown {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.countdown-item {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    min-width: 85px;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1;
    display: block;
}

.countdown-label {
    font-size: .7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: .4rem;
    display: block;
    font-weight: 500;
}

/* ---- Buttons ---- */
.btn-punk {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border: none;
    background: var(--color-primary);
    color: #fff;
    padding: .875rem 2.5rem;
    font-size: .9rem;
    border-radius: var(--radius-pill);
    transition: all .25s ease;
    cursor: pointer;
}

.btn-punk:hover {
    background: var(--color-primary-light);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(41, 156, 143, 0.3);
}

.btn-punk-outline {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border: 2px solid var(--text-primary);
    background: transparent;
    color: var(--text-primary);
    padding: calc(.875rem - 2px) calc(2.5rem - 2px);
    font-size: .9rem;
    border-radius: var(--radius-pill);
    transition: all .25s ease;
    cursor: pointer;
}

.btn-punk-outline:hover {
    background: var(--text-primary);
    color: var(--color-black);
    transform: translateY(-1px);
}

/* ---- Cards ---- */
.punk-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform .3s ease, box-shadow .3s ease;
}

.punk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.punk-card-featured {
    border-color: var(--color-primary);
}

/* ---- Sections ---- */
.punk-section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

/* ---- Lineup ---- */
.lineup {
    background: var(--color-dark);
}

.lineup-item {
    font-family: var(--font-heading);
    text-align: center;
    text-transform: uppercase;
    padding: .4rem 0;
    transition: color .2s;
}

.lineup-item:hover {
    color: var(--color-primary);
}

.lineup-headliner {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-primary);
    font-weight: 700;
}

.lineup-main {
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: var(--text-primary);
    font-weight: 500;
}

.lineup-support {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    font-weight: 400;
}

.lineup-divider {
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 1.25rem auto;
}

/* ---- Free Entry Badge ---- */
.punk-sticker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    padding: 18px 22px;
    border-radius: 50%;
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 4px 15px rgba(41, 156, 143, 0.4);
}

/* ---- Info Cards ---- */
.info-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* ---- Forms ---- */
.punk-form .form-control,
.punk-form .form-select {
    background: var(--color-dark-alt);
    border: 1px solid var(--color-border);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    padding: .75rem 1rem;
    transition: border-color .2s, box-shadow .2s;
}

.punk-form .form-control:focus,
.punk-form .form-select:focus {
    background: var(--color-dark-alt);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(41, 156, 143, 0.15);
    color: var(--text-primary);
}

.punk-form .form-label {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.punk-form .form-control::placeholder {
    color: var(--text-muted);
}

/* ---- Ticket ---- */
.ticket-stub {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.ticket-stub::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/concrete-wall-2.png') repeat;
    opacity: 0.15;
    pointer-events: none;
}

.ticket-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: .5rem;
}

.ticket-event-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}

.ticket-guest-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 600;
    margin: .5rem 0;
}

.ticket-code {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1rem;
    color: var(--text-primary);
    letter-spacing: 3px;
    background: var(--color-dark-alt);
    display: inline-block;
    padding: .4rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.ticket-detail {
    color: var(--text-secondary);
    font-size: .9rem;
    margin: .3rem 0;
}

.ticket-detail i {
    color: var(--color-primary);
    margin-right: .25rem;
}

.ticket-admit {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-success);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 1rem;
}

/* ---- Auth Pages ---- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    padding-bottom: 2rem;
    background: var(--color-black);
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 440px;
}

.btn-terms-trigger {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
    color: #ffc107;
    padding: .7rem 1rem;
    font-size: .9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: background .2s, border-color .2s;
}

.btn-terms-trigger:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: #ffca2c;
    color: #ffca2c;
}

.terms-accepted {
    text-align: center;
    color: var(--color-success);
    font-size: .85rem;
    padding: .6rem 0;
    font-weight: 600;
}

/* ---- CTA Section ---- */
.cta-section {
    background: var(--color-dark);
    text-align: center;
}

/* ---- Footer ---- */
.footer-punk {
    background: var(--color-black);
    border-top: 1px solid var(--color-border);
    padding: 2.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: .85rem;
}

.footer-punk .footer-brand {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.footer-punk a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .75rem;
    transition: color .2s;
}

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

/* ---- Alerts ---- */
.alert-punk {
    border-radius: var(--radius-md);
    border: 1px solid;
    font-family: var(--font-body);
}

.alert-punk-success {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.3);
    color: var(--color-success);
}

.alert-punk-danger {
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.3);
    color: var(--color-danger);
}

.alert-punk-info {
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
    color: var(--color-info);
}

/* ---- Scroll Animations ---- */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Guest Info Tables ---- */
.punk-card .table-dark {
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(255, 255, 255, 0.08);
}
.punk-card .table-dark th {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--color-primary);
    border-bottom-width: 2px;
}
.punk-card .table-dark td {
    color: var(--text-secondary);
}

/* ---- Playlist ---- */
.playlist-stats {
    text-align: center;
    color: var(--text-secondary);
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: .5rem;
}

.playlist-item-icon {
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.playlist-item-info { flex: 1; min-width: 0; }
.playlist-item-track { font-weight: 600; color: var(--text-primary); }
.playlist-item-artist { font-size: .85rem; color: var(--text-secondary); }
.playlist-item-added { font-size: .75rem; color: var(--text-muted); }

.btn-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: .25rem .5rem;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
    flex-shrink: 0;
}

.btn-remove:hover {
    color: var(--color-danger);
    background: rgba(231, 76, 60, 0.1);
}

/* ---- Song Search ---- */
.search-toggle {
    display: flex;
    gap: .25rem;
}

.search-toggle-btn {
    flex: 1;
    background: var(--color-dark);
    border: 1px solid var(--color-border);
    color: var(--text-secondary);
    padding: .4rem .75rem;
    font-size: .8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all .15s;
}

.search-toggle-btn:hover {
    border-color: var(--color-primary);
    color: var(--text-primary);
}

.search-toggle-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.song-search-wrap {
    position: relative;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-dark);
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
}

.search-result {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .75rem;
    cursor: pointer;
    transition: background .15s;
}

.search-result:hover {
    background: rgba(41, 156, 143, 0.1);
}

.search-result-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-card);
    color: var(--color-primary);
    font-size: 1rem;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-track {
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-artist {
    font-size: .8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-artist-sub {
    font-size: .8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-arrow {
    color: var(--text-muted);
    font-size: .8rem;
    flex-shrink: 0;
}

.search-back-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background .15s;
}

.search-back-header:hover {
    background: rgba(41, 156, 143, 0.1);
}

.search-loading,
.search-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: .9rem;
}

.selected-song {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--color-dark);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: .75rem 1rem;
}

.selected-song-info {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex: 1;
    min-width: 0;
}

.selected-song-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-card);
    color: var(--color-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.selected-song-track {
    font-weight: 600;
    color: var(--text-primary);
}

.selected-song-artist {
    font-size: .85rem;
    color: var(--text-secondary);
}

.selected-song-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

/* ---- Utilities ---- */
.text-primary-brand { color: var(--color-primary) !important; }
.text-accent { color: var(--color-accent) !important; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .countdown { gap: .5rem; }
    .countdown-item { min-width: 70px; padding: 1rem; }
    .countdown-number { font-size: 2rem; }
    .punk-section { padding: 4rem 0; }
    .ticket-stub { padding: 1.5rem; }
    .hero { padding: 5rem 1.5rem 3rem; }
}

@media (max-width: 480px) {
    .countdown-item { min-width: 60px; padding: .75rem; }
    .countdown-number { font-size: 1.5rem; }
    .btn-punk, .btn-punk-outline { padding: .7rem 1.5rem; font-size: .85rem; }
}
