/* ROM GLOBAL STYLES */
html, body {
    margin:0;
    padding:0;
    scroll-behavior:smooth;
}

body {
    font-family:'Poppins', sans-serif;
    color:#fff;
    /* Background left dynamically inline */
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.4);
    z-index:-1;
}

/* HEADER & MENU */
.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#1c0f08;
    color:#fff;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,0.3);
}

.header-inner{
    max-width:1320px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    padding:12px 20px;
}

.menu-toggle{
    cursor:pointer;
    background:rgba(255,255,255,0.08);
    border:none;
    color:#fff;
    width:44px;
    height:44px;
    border-radius:8px;
    display:none;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
}

.menu-toggle span{
    width:21px;
    height:2px;
    background:#fff;
    display:block;
    border-radius:999px;
}

.site-brand{
    color:#fff;
    text-decoration:none;
    font-size:22px;
    font-weight:800;
    letter-spacing:0;
    text-transform:uppercase;
}

.desktop-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;
    flex-wrap:wrap;
}

.desktop-nav a{
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    padding:10px 12px;
    border-radius:8px;
    transition:background .2s ease, color .2s ease;
}

.desktop-nav a:hover{
    background:rgba(255,255,255,0.12);
    color:#f4d6a6;
}

.header-title{
    text-align:center;
    font-size:14px;
    letter-spacing:0.5px;
    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;
}

.header-spacer{
    width:60px;
}

.header-divider{
    height:1px;
    background:#c8a97e;
    width:100%;
}

.side-menu{
    position:fixed;
    top:0;
    left:0;
    width:260px;
    height:100%;
    background:#1c0f08;
    padding:72px 20px 20px;
    transform:translateX(-100%);
    transition:transform 0.3s ease;
    z-index:2000;
    box-shadow:2px 0 15px rgba(0,0,0,0.5);
}

.side-menu.open{
    transform:translateX(0);
}

.side-menu a{
    display:block;
    color:#fff;
    text-decoration:none;
    padding:10px 0;
    border-bottom:1px solid rgba(255,255,255,0.1);
}

.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    display:none;
    z-index:1500;
}

.menu-overlay.show{
    display:block;
}

/* CONTENT BLOCKS */
.rdk-wrap{
    max-width:1100px;
    margin:0 auto;
    padding:110px 16px 100px 16px;
}

.rdk-hero{
    text-align:center;
    padding:20px 14px 40px;
}

.title-wrapper{
    display:flex;
    justify-content:center;
}

.rdk-hero h1{
    font-size:70px;
    font-weight:800;
    margin:0;
    padding:0;
    letter-spacing:3px;
    color:#1c0f08;
    text-transform:uppercase;
    text-shadow:0 4px 15px rgba(0,0,0,0.6);
    transition:0.3s ease;
}

.rdk-welcome,
.rdk-about{
    display:block;
    margin:10px auto;
    padding:12px 18px;
    background:rgba(0,0,0,0.45);
    color:#fff;
    border-radius:12px;
    max-width:900px;
    font-size:14px;
    line-height:1.6;
    transition:0.3s ease;
}

.rdk-welcome:hover,
.rdk-about:hover{
    transform:translateY(-6px) scale(1.03);
    background:rgba(0,0,0,0.65);
}

.fact-box{
    max-width:800px;
    margin:30px auto;
    padding:16px 20px;
    background:rgba(0,0,0,0.45);
    border-left:4px solid #c8a97e;
    border-radius:10px;
    color:#fff;
    transition:0.3s ease;
}

.fact-box:hover{
    transform:translateY(-6px) scale(1.03);
    background:rgba(0,0,0,0.65);
}

.rdk-body{
    margin:40px auto 0;
    max-width:1000px;
}

.rdk-body img{
    max-width:200px;
    width:100%;
    height:auto;
    margin:20px auto;
    display:block;
    border-radius:12px;
}

.rdk-grid{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
    gap:20px;
}

.rdk-card{
    display:block;
    text-decoration:none;
    background:#fff;
    border-radius:8px;
    padding:20px;
    transition:0.3s ease;
}

.rdk-card:hover{
    transform:translateY(-10px) scale(1.05);
}

.rdk-card .t{
    font-weight:700;
    font-size:18px;
    margin:0 0 6px;
    color:#1c0f08;
}

.rdk-card .s{
    margin:0;
    font-size:12px;
    color:#666;
}

.hero-button{
    display:inline-block;
    margin-top:24px;
    padding:14px 28px;
    background:#1c0f08;
    color:#fff;
    border-radius:50px;
    text-decoration:none;
    border:2px solid #1c0f08;
    transition:0.3s ease;
}

.hero-button:hover{
    background:#fff;
    color:#1c0f08;
    transform:translateY(-4px) scale(1.05);
}

.nav-logo{
    display:none;
}

.rdk-footer{
    padding:0;
    margin-top:auto;
    background:#011B31;
}

.footer-inner{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    gap:40px;
    padding:40px 20px;
    color:white;
}

.footer-column h3,
.footer-column h4{
    margin:0 0 15px;
    color:white;
}

.footer-column p,
.footer-column a{
    color:#a7adbb;
    font-size:14px;
    margin:0 0 8px;
    line-height:1.55;
}

.footer-column a{
    display:block;
    text-decoration:none;
}

.footer-column a:hover{
    color:#fff;
}

.footer-bottom{
    text-align:center;
    padding:15px;
    color:#a7adbb;
    background:#000;
}

.rom-content-shell{
    max-width:1180px;
    margin:0 auto;
    padding:118px 20px 86px;
    color:#3b2f2f;
}

.rom-panel{
    background:#f5f1e6;
    border:1px solid rgba(59,47,47,.12);
    border-radius:8px;
    box-shadow:0 20px 60px rgba(0,0,0,.18);
    overflow:hidden;
}

.rom-panel-header{
    padding:34px 28px 24px;
    text-align:center;
    border-bottom:1px solid rgba(59,47,47,.12);
}

.rom-panel-header h1,
.rom-panel-header h2{
    margin:0 0 12px;
    font-size:clamp(30px, 4vw, 48px);
    color:#2d1b11;
    letter-spacing:0;
}

.rom-panel-header .intro{
    max-width:860px;
    margin:0 auto;
    line-height:1.7;
    color:#5d4a3d;
}

.rom-card-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:22px;
    padding:28px;
}

.rom-card{
    display:block;
    min-height:150px;
    background:#fff8f0;
    color:#3b2f2f;
    text-decoration:none;
    border:1px solid #d2b48c;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 10px 24px rgba(0,0,0,.08);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.rom-card:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 34px rgba(0,0,0,.12);
    border-color:#9d6b43;
}

.rom-card-body{
    padding:20px;
}

.rom-card h3{
    margin:0 0 10px;
    font-size:20px;
    color:#2d1b11;
}

.rom-card p,
.rom-card .desc{
    color:#67564a;
    line-height:1.55;
    margin:0;
}

.rom-media-thumb{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    display:block;
}

.rom-empty{
    grid-column:1 / -1;
    text-align:center;
    padding:28px;
    color:#67564a;
}

.rom-detail{
    padding:34px;
}

.rom-detail h1{
    margin-top:0;
    color:#2d1b11;
    font-size:clamp(28px, 4vw, 44px);
}

.rom-detail-meta{
    color:#725d4b;
    font-weight:600;
    margin-bottom:22px;
}

.rom-back{
    display:inline-block;
    margin-top:28px;
    color:#7b4f32;
    font-weight:700;
    text-decoration:none;
}

.rom-back:hover{
    text-decoration:underline;
}

.rom-gallery-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:14px;
    padding:28px;
}

.rom-gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:8px;
    background:#fff8f0;
    border:1px solid #d2b48c;
}

.rom-gallery-item img{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    display:block;
    cursor:pointer;
    transition:transform .25s ease, filter .25s ease;
}

.rom-gallery-item:hover img{
    transform:scale(1.04);
    filter:brightness(.9);
}

.rom-video-embed iframe{
    width:100%;
    aspect-ratio:16/9;
    height:auto;
    display:block;
    border:0;
    border-radius:8px;
}

.lightbox {
    display:none;
    position:fixed;
    z-index:9999;
    inset:0;
    background:rgba(0,0,0,.94);
    align-items:center;
    justify-content:center;
    flex-direction:column;
    padding:20px;
    box-sizing:border-box;
}

.lightbox-content {
    display:block;
    max-width:92%;
    max-height:82vh;
    border-radius:8px;
}

.lightbox-caption {
    margin-top:15px;
    color:#fff;
    font-size:16px;
    text-align:center;
}

.close {
    position:absolute;
    top:20px;
    right:35px;
    color:white;
    font-size:40px;
    cursor:pointer;
}

@media (min-width: 1440px){
    .header-inner,
    .rdk-wrap,
    .rom-content-shell{
        max-width:1360px;
    }

    .rdk-hero h1{
        font-size:82px;
    }

    .rom-card-grid{
        grid-template-columns:repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1180px){
    .desktop-nav a{
        font-size:13px;
        padding:9px 9px;
    }

    .rom-card-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .rom-gallery-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px){
    body{
        background-attachment:scroll !important;
    }

    .desktop-nav{
        display:none;
    }

    .menu-toggle{
        display:flex;
    }

    .header-inner{
        padding:10px 14px;
    }

    .rdk-wrap{
        padding-top:94px;
    }

    .rdk-hero h1{
        font-size:52px;
    }

    .footer-inner{
        grid-template-columns:1fr;
        gap:24px;
    }
}

@media (max-width: 640px){
    .site-brand{
        font-size:19px;
    }

    .side-menu{
        width:min(82vw, 300px);
    }

    .rdk-wrap,
    .rom-content-shell{
        padding-left:14px;
        padding-right:14px;
    }

    .rdk-hero{
        padding:12px 0 28px;
    }

    .rdk-hero h1{
        font-size:40px;
    }

    .rdk-welcome,
    .rdk-about,
    .fact-box{
        font-size:14px;
        padding:12px 14px;
    }

    .rdk-grid,
    .rom-card-grid,
    .rom-gallery-grid{
        grid-template-columns:1fr;
        padding:18px;
    }

    .rom-panel-header,
    .rom-detail{
        padding:24px 18px;
    }

    .rom-gallery-item img{
        aspect-ratio:16/10;
    }
}
