:root {
    --bg-dark: #0a0c10;
    --bg-card: rgba(19, 23, 32, 0.85);
    --bg-modal: #161b24;
    --accent-gold: #c5a880;
    --accent-gold-hover: #d4b892;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --border-color: #262f3f;
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    background-image: url('leonard-theatre-background-2560x1440.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-mark {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
    background: rgba(197, 168, 128, 0.1);
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 4px;
}

.logo-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-main);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    padding: 11rem 2rem 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--accent-gold);
    color: #0a0c10;
    padding: 0.9rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 0.9rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s ease;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hero-cover-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    border: 1px solid var(--border-color);
    background: #000;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-cover-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.hero-cover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-cover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem 1rem 1rem;
    background: linear-gradient(to top, rgba(10,12,16,0.95) 0%, rgba(10,12,16,0.6) 60%, transparent 100%);
}

.hero-cover-overlay h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.hero-cover-overlay p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Catalogue Section */
.catalogue-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-card);
    padding: 0.3rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.filter-btn {
    background: transparent;
    color: var(--text-muted);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active {
    background: var(--accent-gold);
    color: #0a0c10;
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.play-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.play-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.card-thumb {
    aspect-ratio: 3/4;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.play-card:hover .card-thumb img {
    transform: scale(1.03);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.card-meta-top {
    font-size: 0.75rem;
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-summary {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.card-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.card-links span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--bg-modal);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: grid;
    grid-template-columns: 350px 1fr;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: var(--accent-gold);
    color: #0a0c10;
}

.modal-img-wrapper {
    background: #000;
}

.modal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-badge {
    display: inline-block;
    background: rgba(197, 168, 128, 0.15);
    color: var(--accent-gold);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.modal-body h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.modal-genre {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.modal-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.spec-item span:first-child {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.spec-item span:last-child {
    font-size: 0.9rem;
    font-weight: 700;
}

.modal-summary {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    align-items: center;
}

@media(max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 10rem;
    }
    .modal-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .modal-img-wrapper {
        height: 300px;
    }
}
/* Logo Sizing Fix */
.logo-img {
    height: 36px;
    width: auto;
    display: block;
    border-radius: 4px;
}