@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;800;900&family=Merriweather:wght@300;400;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --rs-black: #050505;
    --rs-stone-dark: #121212;
    --rs-stone-light: #2a2a2a;
    --rs-gold-bright: #FFDF00;
    --rs-gold-base: #D4AF37;
    --rs-gold-dark: #8A6D1C;
    --rs-yellow: #FFFF00;
    --rs-red-bright: #c41212;
    --rs-red-dark: #5a0404;
    --text-parchment: #E8DCC2;
    --text-white: #FFFFFF;
}

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

body {
    background-color: var(--rs-black);
    color: var(--text-parchment);
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}

/* --- HIGH GRAPHIC BACKGROUND & FOG --- */
.rs-background {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    /* High-res epic landscape with a heavy cinematic vignette */
    background: radial-gradient(circle at 50% 30%, rgba(10, 10, 10, 0.2) 0%, rgba(5, 5, 5, 0.95) 80%),
                url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?auto=format&fit=crop&w=1920&q=80') center/cover;
    z-index: -3;
    animation: slowPan 30s ease-in-out infinite alternate;
}

.ambient-glow {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    z-index: -2;
    pointer-events: none;
}

@keyframes slowPan {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* --- HD TOP STATUS BAR --- */
.top-bar {
    background: linear-gradient(to right, #000 0%, #111 50%, #000 100%);
    border-bottom: 2px solid #333;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.9);
    position: relative;
    z-index: 101;
}

.status-online { 
    color: #00ff00; 
    text-shadow: 0 0 10px rgba(0,255,0,0.6), 0 0 20px rgba(0,255,0,0.3); 
}
.player-count { 
    color: var(--rs-gold-bright); 
    text-shadow: 0 0 10px rgba(255, 223, 0, 0.5);
}

/* --- HD STONE & METALLIC NAVIGATION --- */
header {
    background: linear-gradient(to bottom, #2b2b2b 0%, #181818 50%, #111111 100%);
    border-bottom: 3px solid var(--rs-gold-base);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.9), inset 0 2px 5px rgba(255,255,255,0.1);
    position: relative;
    z-index: 100;
}

.brand-logo {
    font-family: 'Cinzel', serif;
    font-size: 34px;
    font-weight: 900;
    color: var(--rs-gold-bright);
    text-decoration: none;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px #000, 0 0 20px rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-white);
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 10px;
    transition: all 0.2s;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

/* Classic RS Hover, but with an HD Glow */
.nav-links a:hover {
    color: var(--rs-yellow);
    text-shadow: 2px 2px 4px #000, 0 0 15px rgba(255, 255, 0, 0.6);
}

/* --- THE 3D EXTRUDED HERO --- */
.hero {
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* The magic is in the stacked text-shadow to create a true 3D block text effect */
.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 7.5rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 12px;
    margin-bottom: 5px;
    background: linear-gradient(to bottom, #ffffff 0%, #d4d4d4 30%, #888888 50%, #444444 51%, #111111 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        0px 1px 0px #666,
        0px 2px 0px #555,
        0px 3px 0px #444,
        0px 4px 0px #333,
        0px 5px 0px #222,
        0px 6px 0px #111,
        0px 15px 30px rgba(0,0,0,0.9),
        0px 0px 50px rgba(255,255,255,0.1);
}

.hero-subtitle {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--rs-gold-base);
    margin-bottom: 50px;
    text-shadow: 2px 2px 5px #000, 0 0 20px rgba(212, 175, 55, 0.3);
}

/* --- HIGH GRAPHIC PLAY BUTTON (Ruby/Gold Render) --- */
.play-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(to bottom, var(--rs-red-bright) 0%, var(--rs-red-dark) 100%);
    border: 2px solid var(--rs-gold-bright);
    padding: 18px 60px;
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--rs-yellow);
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    overflow: hidden;
    /* Inset shadows create a bevel, outset creates the drop shadow */
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.4), 
        inset 0 -4px 8px rgba(0,0,0,0.6), 
        0 10px 30px rgba(0,0,0,0.8),
        0 0 20px rgba(196, 18, 18, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* The Animated Shimmer */
.play-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: gleam 3.5s infinite;
}

@keyframes gleam {
    0% { left: -150%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.play-btn:hover {
    transform: scale(1.05) translateY(-2px);
    background: linear-gradient(to bottom, #e01b1b 0%, #7a0606 100%);
    color: #fff;
    border-color: #fff;
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.6), 
        inset 0 -4px 8px rgba(0,0,0,0.8), 
        0 15px 40px rgba(0,0,0,0.9),
        0 0 30px rgba(255, 30, 30, 0.6);
}

/* --- HD CARVED STONE INTERFACES --- */
.features-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.interface-card {
    /* HD Stone Texture simulation */
    background: 
        linear-gradient(to bottom, rgba(40,40,40,0.9), rgba(15,15,15,0.95)),
        url('https://www.transparenttextures.com/patterns/dark-matter.png');
    border: 2px solid #0a0a0a;
    /* The 3D Bevel Edge */
    border-top: 2px solid #555;
    border-left: 2px solid #444;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 50px 35px;
    text-align: center;
    position: relative;
    border-radius: 2px;
    box-shadow: 
        inset 0 0 30px rgba(0,0,0,0.8), 
        15px 15px 35px rgba(0,0,0,0.95);
    transition: all 0.4s ease;
}

/* HD 3D Rivets (Using radial gradients to simulate spheres) */
.interface-card::before, .interface-card::after {
    content: ''; 
    position: absolute; 
    width: 12px; height: 12px;
    background: radial-gradient(circle at 30% 30%, #777 0%, #111 80%);
    border: 1px solid #000; 
    border-radius: 50%;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.8), inset -1px -1px 2px rgba(0,0,0,0.5);
}
.interface-card::before { top: 12px; left: 12px; box-shadow: calc(100% - 36px) 0 0 rgba(0,0,0,0), calc(100% - 24px) 0 0 #000, calc(100% - 24px) 0 0 0 inset rgba(0,0,0,0); } /* Simplified for structural stability, using individual elements is cleaner for HD */

/* Advanced Rivet Placement */
.rivet {
    position: absolute;
    width: 14px; height: 14px;
    background: radial-gradient(circle at 35% 35%, #888 0%, #333 40%, #000 100%);
    border-radius: 50%;
    border: 1px solid #111;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.9), inset 1px 1px 2px rgba(255,255,255,0.2);
}
.r-tl { top: 12px; left: 12px; }
.r-tr { top: 12px; right: 12px; }
.r-bl { bottom: 12px; left: 12px; }
.r-br { bottom: 12px; right: 12px; }

.interface-card:hover {
    transform: translateY(-8px);
    border-color: var(--rs-gold-base);
    box-shadow: 
        inset 0 0 40px rgba(0,0,0,0.9), 
        0 20px 40px rgba(0,0,0,0.9),
        0 0 20px rgba(212, 175, 55, 0.15);
}

.card-icon {
    font-size: 55px;
    color: var(--rs-gold-bright);
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.9));
}

.interface-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--rs-gold-bright);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px #000, 0 0 10px rgba(212, 175, 55, 0.3);
}

.interface-card p {
    font-family: 'Merriweather', serif;
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-parchment);
    text-shadow: 1px 1px 2px #000;
}
/* --- PLAY PAGE SPECIFIC STYLES --- */
.page-hero {
    height: 40vh; /* Shorter than the main homepage hero */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: 50px;
}

.play-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 100px auto;
}

.dl-btn-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

/* Secondary Download Buttons */
.dl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(to bottom, #333 0%, #1a1a1a 100%);
    border: 2px solid #555;
    padding: 15px 30px;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 5px 15px rgba(0,0,0,0.8);
    transition: all 0.3s ease;
}

.dl-btn:hover {
    background: linear-gradient(to bottom, #444 0%, #222 100%);
    border-color: var(--rs-gold-base);
    color: var(--rs-gold-bright);
    transform: translateY(-2px);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.2), 0 10px 20px rgba(0,0,0,0.9);
}

/* Specific Platform Colors on Hover */
.dl-win:hover i { color: #00a4ef; } /* Windows Blue */
.dl-mac:hover i { color: #ffffff; } /* Apple White */
.dl-jar:hover i { color: #f89820; } /* Java Orange */

.step-list {
    text-align: left;
    margin-top: 20px;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-parchment);
    list-style: none;
}

.step-list li {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    padding-left: 30px;
    position: relative;
}

.step-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--rs-gold-bright);
    font-size: 18px;
}

.text-link {
    color: var(--rs-gold-bright);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px dotted var(--rs-gold-bright);
    transition: color 0.2s;
}

.text-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* --- FOOTER --- */
footer {
    background: linear-gradient(to bottom, #0a0a0a 0%, #000 100%);
    padding: 50px 20px;
    text-align: center;
    border-top: 3px solid #222;
    position: relative;
    z-index: 10;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.9);
}