/* ==========================================================================
   1. GLOBAL RESET & BASE STYLES (Eye Comfort Optimization)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Elegant glide when clicking navigation tabs */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f1115; /* Deep, comforting dark matte base */
    color: #e2e8f0;            /* Soft off-white to eliminate stark dark-mode contrast strain */
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

/* Central Alignment Layout Wrapper */
.mdl-container {
    width: 90%;
    max-width: 1000px;        /* Restricts stretching on large monitors */
    margin: 0 auto;           /* Centers the entire website horizontally */
    padding: 40px 0;
}

/* ==========================================================================
   2. HEADER BLOCK (Energetic Red & Black Theme)
   ========================================================================== */
.show-header {
    text-align: center;       /* Centers all header text elements */
    margin-bottom: 40px;
    background: linear-gradient(135deg, #1f0505 0%, #0d0e12 100%); /* Elegant deep red/black dark gradient */
    padding: 40px 20px;
    border-radius: 8px;
    border: 1px solid #2d1212;
    border-bottom: 4px solid #dc2626; /* Signature Crimson accent stripe */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.main-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.main-title .year {
    color: #dc2626; /* Keeps the year highlighted in energetic red */
}

.alternative-title {
    color: #94a3b8; /* Muted slate gray for secondary metadata */
    font-size: 1.1rem;
    font-weight: 400;
}

/* ==========================================================================
   3. NAVIGATION TABS (Flexbox & Horizontal Centering)
   ========================================================================== */
.mdl-tabs {
    display: flex;
    justify-content: center;  /* Centers all navigation menu items horizontally */
    flex-wrap: wrap;          /* Automatically wraps items on mobile screen sizes */
    gap: 12px;                /* Consistent element separation padding grid */
    margin-bottom: 40px;
}

/* Universal Button Styling Mechanics */
.tab-btn {
    background-color: #1e293b; /* Comfortable dark slate gray base */
    color: #cbd5e1;
    border: 1px solid #334155;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Interactive Hover States */
.tab-btn:hover {
    background-color: #2d1212;
    color: #ffffff;
    border-color: #ef4444; /* Highlights border in soft radiant red */
    transform: translateY(-2px); /* Subtle up-lift animation action */
}

/* Active Highlight Focus Indicators */
.tab-btn.active {
    background-color: #dc2626; /* Solid red brand block indicator */
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* ==========================================================================
   4. CONTENT REGION & MEDIA CARD COMPONENT (Charcoal Contrast Backgrounds)
   ========================================================================== */
.content-box {
    background-color: #151922; /* Charcoal tone to pop above the background body */
    border: 1px solid #222936;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tab-content h3 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 8px;
    border-left: 4px solid #dc2626; /* Crimson vertical indicator block edge alignment */
    padding-left: 12px;
}

.section-desc {
    color: #94a3b8;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* ==========================================================================
   5. PLAYLIST LAYOUT PATTERN (Table Optimization)
   ========================================================================== */
.playlist-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;    /* Adds clear breathing row separation margins */
    margin-top: 15px;
}

.playlist-table th {
    color: #94a3b8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    text-align: left;
}

.playlist-table tr {
    background-color: #1e2330; /* Individual row containers mimicking isolated cards */
    transition: background-color 0.2s ease;
}

.playlist-table tr:hover {
    background-color: #252b3a; /* Subtle row illumination response upon tracking mouse */
}

.playlist-table td {
    padding: 12px 16px;
    vertical-align: middle;
}

/* Rounds out row corners precisely */
.playlist-table td:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.playlist-table td:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Thumbnail Sizing Enforcements */
.playlist-table img {
    width: 120px;
    height: 68px;              /* Consistent 16:9 media layout grid constraint */
    object-fit: cover;
    border-radius: 4px;
    display: block;
    border: 1px solid #334155;
}

/* Hyperlinks Inside the Table Rows */
.video-link {
    color: #f1f5f9;            /* Crisp easy reading white text */
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s ease;
}

.video-link:hover {
    color: #f87171;            /* Shifts title to a comforting pastel light-red on hover */
    text-decoration: underline;
}

/* ==========================================================================
   6. GLOBAL INTERFACES FOOTER REGION (Centering & Alignment)
   ========================================================================== */
.main-footer {
    text-align: center;        /* Explicit structural centering declaration across metadata blocks */
    padding: 40px 20px;
    background-color: #0b0c10;
    border-top: 1px solid #1a1d24;
    margin-top: 60px;
    color: #64748b;            /* Soft dark gray for low visual emphasis items */
    font-size: 0.95rem;
}

.main-footer p {
    margin-bottom: 8px;
}

.main-footer strong {
    color: #cbd5e1;            /* Pops partner studio corporate labels slightly */
}

.main-footer a {
    color: #ef4444;            /* Red anchor links */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-footer a:hover {
    color: #f87171;
    text-decoration: underline;
}
