/* ==========================================================================
   OSCARWORLD - RESPONSIVE CINEMATIC ARCHITECTURE
   ========================================================================== */

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

body {
    background-color: #0a0c0f;
    color: #cdd1d8;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem; /* Compact clean typography look */
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    letter-spacing: 0.04em;
}

h2 {
    font-size: 1.35rem;
    border-bottom: 1px solid #1f2530;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

a {
    color: #d1a13b; /* Premium Academy Gold tint */
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: #ffffff;
}

/* Base Wrapper Shell */
#site-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Fixed Navigation Layout */
#site-header {
    background: rgba(10, 12, 15, 0.95);
    border-bottom: 1px solid #191e26;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(4px);
}

.nav-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.5rem;
}

#logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ffffff;
}

#main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

#main-nav a {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #8c939e;
}

#main-nav a:hover, #main-nav a.active {
    color: #d1a13b;
}

/* Main Container Space */
#main-content {
    flex: 1;
    padding: 2.5rem 1rem;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    background: #11141a;
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid #191e26;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

/* Welcome Page & Dashboard layouts */
.welcome-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #1f2530;
}

.subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: #d1a13b;
    display: block;
}

.tagline {
    font-size: 1.15rem;
    color: #ffffff;
}

.countdown-grid {
    display: flex;
    gap: 1rem;
}

.countdown-card {
    background: #0a0c0f;
    padding: 0.5rem;
    border: 1px solid #1f2530;
    text-align: center;
    border-radius: 2px;
}

.countdown-card h6 {
    font-size: 0.6rem;
    color: #7b828d;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.editorial-img {
    float: left;
    margin: 0 1.25rem 1.25rem 0;
    border: 1px solid #1f2530;
    border-radius: 2px;
    max-width: 130px;
}

/* Category lists */
.history-main-layout {
    display: flex;
    gap: 3rem;
}

.history-sidebar {
    text-align: center;
    flex: 0 0 180px;
}

.history-sidebar h3 {
    font-size: 1rem;
    margin-top: 1rem;
    line-height: 1.4;
    color: #d1a13b;
}

.clean-category-links {
    list-style: none;
}

.clean-category-links li {
    margin-bottom: 0.65rem;
}

/* Year Link grids */
.year-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
    gap: 0.5rem;
    margin: 1rem 0;
}

.year-links-grid a {
    background: #171b24;
    text-align: center;
    padding: 0.25rem;
    border-radius: 2px;
    font-size: 0.75rem;
    border: 1px solid #1f2530;
}

.year-links-grid a:hover {
    background: #d1a13b;
    color: #0a0c0f;
}

/* Contest & Columns styling */
.contest-grid {
    display: flex;
    gap: 2rem;
}

.premium-callout {
    background: #17221b;
    border: 1px solid #233a2a;
    padding: 1rem;
    border-radius: 3px;
    margin: 1.5rem 0;
    color: #a3c7ad;
}

.example-box {
    background: #161a21;
    padding: 1rem;
    border-radius: 3px;
    margin-top: 1rem;
}

.example-box input {
    width: 40px;
    background: #0a0c0f;
    border: 1px solid #2f3642;
    color: #ffffff;
    text-align: center;
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

/* Dedication Layout */
.dedication-grid {
    display: flex;
    gap: 2rem;
}

.memorial-img {
    border: 2px solid #2f3642;
    max-width: 150px;
}

/* Footer elements */
#site-footer {
    background: #06070a;
    padding: 2rem 1rem;
    border-top: 1px solid #11141a;
    text-align: center;
    font-size: 0.7rem;
    color: #555b66;
}

.disclaimer {
    max-width: 700px;
    margin: 0.5rem auto;
    line-height: 1.5;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .nav-inner {
        flex-direction: column;
        gap: 0.75rem;
    }
    .welcome-hero, .history-main-layout, .contest-grid, .dedication-grid {
        flex-direction: column;
    }
    .history-sidebar {
        flex: none;
        margin-bottom: 1.5rem;
    }
}

/* ==========================================================================
   CINEMATIC VIDEO MODAL POPUP COMPONENT OVERLAY
   ========================================================================== */

#video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(6, 8, 10, 0.92); /* Matte dark film backdrop blend overlay */
    z-index: 2000; /* Ensure layer floats over fixed system sticky headers */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    transition: opacity 0.25s ease-in-out;
}

/* Visibility Control Utility Classes */
.modal-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.modal-active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.modal-content-frame {
    position: relative;
    width: 100%;
    max-width: 800px; /* Expansive wide landscape cinema constraint limit */
    background: #11141a;
    border: 1px solid #232a36;
    border-radius: 4px;
    padding: 2.5rem 1rem 1rem 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Responsive Fluid Aspect Constraints Box */
.video-aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Maintains structural golden 16:9 widescreen orientation layout ratio */
    height: 0;
}

#modal-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border-radius: 2px;
}

/* Modern Minimalist Close Button Configuration */
#modal-close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: #8c939e;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease;
}

#modal-close-btn:hover {
    color: #d1a13b; /* Changes to theme gold on user cursor contact */
}