:root {
    --rs-black:       #14100b;
    --rs-panel:       #241a10;   /* dark oiled wood */
    --rs-panel-edge:  #5c4326;   /* worn leather / bronze */
    --rs-gold:        #c9a24a;   /* gold leaf accent */
    --rs-gold-dim:    #8a6b2e;   /* tarnished gold */
    --rs-silver:      #b7bcc2;   /* steel / silver accent */
    --rs-green:       #3a4a34;   /* dark forest green */
    --rs-bone:        #f2ead6;   /* parchment text */
    --rs-bone-dim:    #c7bda2;   /* faded parchment */
}


body {
    font-family: 'EB Garamond', 'Georgia', serif;
    color: var(--rs-bone);
}

/*Header nav*/

.site-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: var(--rs-bone);
    text-decoration: none;
    background: linear-gradient(180deg, #2e2013, var(--rs-black));
    border: 1px solid var(--rs-gold-dim);
    padding: 10px 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.15), 2px 2px 4px rgba(0,0,0,0.5);
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.nav-btn:hover {
    border-color: var(--rs-gold);
    color: #fff;
    box-shadow: inset 0 0 0 1px var(--rs-gold), 2px 2px 6px rgba(0,0,0,0.6);
}

.nav-btn.is-active {
    border-color: var(--rs-gold);
    color: var(--rs-gold);
}

@media (max-width: 640px) {
    .site-nav {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/*Shared*/

.page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.page-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--rs-gold);
    letter-spacing: 1px;
    margin: 0 0 8px;
}

.page-kicker {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    color: var(--rs-bone-dim);
    font-size: 17px;
    margin: 0 0 40px;
    border-bottom: 1px solid var(--rs-panel-edge);
    padding-bottom: 20px;
}

/*Games*/

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.game-card {
    position: relative;
    background: var(--rs-panel);
    border: 1px solid var(--rs-panel-edge);
    outline: 1px solid rgba(201, 162, 74, 0.25);
    outline-offset: -5px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0,0,0,0.45);
}

.game-card-icon {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--rs-panel-edge);
}

.game-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.game-card-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--rs-gold);
    margin: 0;
}

.game-card-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--rs-bone-dim);
    margin: 0;
    flex: 1;
}

.game-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--rs-bone-dim);
    border-top: 1px solid var(--rs-panel-edge);
    padding-top: 10px;
}

.game-card-size {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--rs-silver);
}

.download-btn {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--rs-bone);
    background: linear-gradient(180deg, var(--rs-green), #232f1f);
    border: 1px solid var(--rs-gold-dim);
    padding: 10px 12px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.download-btn:hover {
    border-color: var(--rs-gold);
    color: var(--rs-gold);
}

/*Hero*/

.hero {
    position: relative;
    width: 100%;
    min-height: 360px;
    overflow: hidden;
    border-bottom: 2px solid var(--rs-gold-dim);
    display: flex;
    align-items: flex-end;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,16,11,0.35) 0%, rgba(20,16,11,0.85) 85%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 40px 32px 44px;
}

.hero-eyebrow {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rs-gold);
    margin-bottom: 10px;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 38px;
    color: var(--rs-bone);
    margin: 0 0 12px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--rs-bone-dim);
    margin: 0 0 22px;
    max-width: 560px;
}

.hero-cta {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--rs-bone);
    background: linear-gradient(180deg, var(--rs-green), #232f1f);
    border: 1px solid var(--rs-gold);
    padding: 12px 22px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
    color: var(--rs-gold);
    box-shadow: inset 0 0 0 1px var(--rs-gold);
}

@media (max-width: 640px) {
    .hero { min-height: 280px; }
    .hero-title { font-size: 28px; }
    .hero-content { padding: 28px 20px 32px; }
}

/*About*/

.about-section {
    margin-bottom: 8px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--rs-bone-dim);
    max-width: 760px;
    margin: 0;
}

/*News*/

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}

.news-item {
    background: var(--rs-panel);
    border: 1px solid var(--rs-panel-edge);
    outline: 1px solid rgba(201, 162, 74, 0.25);
    outline-offset: -5px;
    padding: 18px 20px 20px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.45);
}

.news-date {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rs-silver);
}

.news-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--rs-gold);
    margin: 8px 0 8px;
}

.news-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--rs-bone-dim);
    margin: 0;
}

/*Socials*/

.socials-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--rs-gold);
    letter-spacing: 1px;
    margin: 28px 0 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rs-panel-edge);
}

.section-title:first-child {
    margin-top: 0;
}

.socials-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 8px;
}

.socials-row.small {
    margin: 4px 0 0;
    gap: 8px;
}

.social-btn {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: var(--rs-bone);
    text-decoration: none;
    background: linear-gradient(180deg, #2e2013, var(--rs-black));
    border: 1px solid var(--rs-gold-dim);
    padding: 9px 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.15), 2px 2px 4px rgba(0,0,0,0.4);
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.social-btn:hover {
    border-color: var(--rs-gold);
    color: var(--rs-gold);
    box-shadow: inset 0 0 0 1px var(--rs-gold), 2px 2px 6px rgba(0,0,0,0.5);
}

.socials-row.small .social-btn {
    font-size: 11px;
    padding: 7px 11px;
    background: linear-gradient(180deg, var(--rs-green), #232f1f);
}

/*Team*/

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}

.team-card {
    background: var(--rs-panel);
    border: 1px solid var(--rs-panel-edge);
    outline: 1px solid rgba(201, 162, 74, 0.25);
    outline-offset: -5px;
    padding: 18px 20px 20px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.45);
}

.team-name {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--rs-bone);
    letter-spacing: 0.5px;
    margin: 0 0 4px;
}

.team-role {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 15px;
    color: var(--rs-gold);
    margin: 0;
}

/*Credits*/

.credits-card {
    background: var(--rs-panel);
    border: 1px solid var(--rs-panel-edge);
    outline: 1px solid rgba(201, 162, 74, 0.25);
    outline-offset: -5px;
    padding: 8px 0;
}

.credits-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--rs-panel-edge);
}

.credits-row:last-child {
    border-bottom: none;
}

.credits-name {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--rs-bone);
    letter-spacing: 0.5px;
}

.credits-role {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 16px;
    color: var(--rs-gold);
    text-align: right;
}

.credits-empty {
    padding: 24px;
    color: var(--rs-bone-dim);
    font-size: 15px;
    text-align: center;
}