/* =============================================
   RosalitaRP - Western Themed Styles
   Colors: #6B3410 (Deep Reddish-Brown), #D4B896 (Beige/Cream)
   ============================================= */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Special+Elite&display=swap');

/* CSS Variables */
:root {
    --color-brown: #6B3410;
    --color-brown-dark: #4A2409;
    --color-brown-light: #8B4513;
    --color-beige: #D4B896;
    --color-beige-light: #E8D5B7;
    --color-beige-dark: #C4A876;
    --color-black: #1A1208;
    --color-white: #FAF6F0;

    --font-display: 'Special Elite', cursive;
    --font-heading: 'Special Elite', cursive;
    --font-body: 'Courier Prime', monospace;

    --nav-height: 80px;
    --transition-slow: 0.4s ease;
    --transition-fast: 0.2s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-beige);
    background-color: var(--color-brown-dark);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-beige);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--color-beige);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-beige-light);
}

/* =============================================
   Navigation
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: linear-gradient(180deg, rgba(26, 18, 8, 0.95) 0%, rgba(26, 18, 8, 0.85) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--color-brown);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-beige);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-beige);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-beige);
    transition: var(--transition-fast);
}

/* =============================================
   Hero / Carousel Section
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide.active {
    opacity: 1;
}

/* Dark Overlay */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-logo {
    width: clamp(200px, 40vw, 400px);
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--color-beige);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.hero-text {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   Homepage Layout
   ============================================= */
.home-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-banner {
    position: relative;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

.hero-banner .carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-banner .carousel-slide::after {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.hero-banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-banner .hero-logo {
    width: clamp(200px, 35vw, 350px);
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.home-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        to bottom,
        #1a1208 0%,
        #0d0906 50%,
        #000000 100%
    );
    padding: 3rem 2rem;
}

.home-content {
    text-align: center;
}

.home-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.home-buttons .btn {
    min-width: 220px;
}

.subtle-link {
    display: inline-block;
    margin-top: 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-beige-dark);
    opacity: 0.6;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.subtle-link:hover {
    opacity: 1;
    color: var(--color-beige);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 1rem 2.5rem;
    border: 2px solid var(--color-beige);
    background: transparent;
    color: var(--color-beige);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-beige);
    transition: left var(--transition-fast);
    z-index: -1;
}

.btn:hover {
    color: var(--color-brown-dark);
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background: var(--color-beige);
    color: var(--color-brown-dark);
}

.btn-primary::before {
    background: var(--color-brown);
}

.btn-primary:hover {
    color: var(--color-beige);
    border-color: var(--color-brown);
}

.btn-western {
    background: var(--color-brown-dark);
    border: 3px solid var(--color-beige);
    padding: 1.25rem 3rem;
    font-size: 1rem;
    box-shadow:
        inset 0 0 0 2px var(--color-brown-dark),
        inset 0 0 0 4px var(--color-beige-dark),
        0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-western:hover {
    background: var(--color-beige);
    color: var(--color-brown-dark);
    box-shadow:
        inset 0 0 0 2px var(--color-beige),
        inset 0 0 0 4px var(--color-brown),
        0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Premium Pill Buttons */
.btn-filled {
    background: var(--color-beige);
    color: var(--color-brown-dark);
    border: none;
    border-radius: 50px;
    padding: 1.1rem 3.5rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-filled::before {
    display: none;
}

.btn-filled:hover {
    background: var(--color-beige-light);
    color: var(--color-brown-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-beige);
    border: 2px solid rgba(212, 184, 150, 0.6);
    border-radius: 50px;
    padding: 1rem 3.5rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: none;
}

.btn-outline::before {
    display: none;
}

.btn-outline:hover {
    background: rgba(212, 184, 150, 0.1);
    color: var(--color-beige-light);
    border-color: var(--color-beige);
    transform: translateY(-2px);
}

/* =============================================
   Page Content
   ============================================= */
.page-header {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 3rem;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--color-brown-dark) 0%,
        var(--color-brown) 50%,
        var(--color-brown-dark) 100%
    );
    border-bottom: 3px solid var(--color-beige-dark);
}

.page-header h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header .subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-beige-dark);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Main Content Area */
.main-content {
    padding: 4rem 2rem;
    min-height: calc(100vh - var(--nav-height) - 200px);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.content-section {
    background: linear-gradient(
        145deg,
        rgba(107, 52, 16, 0.3) 0%,
        rgba(74, 36, 9, 0.5) 100%
    );
    border: 1px solid var(--color-brown);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--color-beige-dark);
    opacity: 0.3;
    pointer-events: none;
}

.content-section h3 {
    color: var(--color-beige-light);
    border-bottom: 2px solid var(--color-brown-light);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Rules Page Specific */
.rules-list {
    list-style: none;
    counter-reset: rules-counter;
}

.rules-list li {
    counter-increment: rules-counter;
    padding: 1rem 0 1rem 3rem;
    border-bottom: 1px solid rgba(212, 184, 150, 0.2);
    position: relative;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list li::before {
    content: counter(rules-counter) ".";
    position: absolute;
    left: 0;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-beige-dark);
}

/* Apply & Appeals Pages */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(107, 52, 16, 0.2);
    border: 2px solid var(--color-brown);
    margin-top: 2rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* =============================================
   Textured Background
   ============================================= */
.textured-bg {
    background-color: var(--color-brown-dark);
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(107, 52, 16, 0.1) 2px,
            rgba(107, 52, 16, 0.1) 4px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(107, 52, 16, 0.1) 2px,
            rgba(107, 52, 16, 0.1) 4px
        );
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--color-black);
    border-top: 3px solid var(--color-brown);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-beige);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-brown);
}

.footer-section p,
.footer-section a {
    font-size: 0.95rem;
    color: var(--color-beige-dark);
}

.footer-section a:hover {
    color: var(--color-beige-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-brown);
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-beige-dark);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* =============================================
   Decorative Elements
   ============================================= */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--color-beige-dark),
        transparent
    );
}

.divider-icon {
    font-size: 1.5rem;
    color: var(--color-beige-dark);
    padding: 0 1rem;
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    body {
        font-size: 16px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right var(--transition-slow);
        border-left: 2px solid var(--color-brown);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
        padding: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .content-section {
        padding: 1.5rem;
    }

    .content-section::before {
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
    }

    .page-header {
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: 2rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .footer-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 180px;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .btn-western {
        padding: 1rem 2rem;
    }

    .btn-filled,
    .btn-outline {
        padding: 0.9rem 2.5rem;
        font-size: 1rem;
    }

    .hero-banner .hero-logo {
        width: clamp(150px, 40vw, 250px);
    }

    .hero-banner {
        height: 40vh;
        min-height: 250px;
    }

    .home-main {
        padding: 2rem 1.5rem;
    }

    .subtle-link {
        margin-top: 1.5rem;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1rem;
    }

    .hero-banner {
        height: 60vh;
    }

    .hero-banner .hero-logo {
        width: clamp(100px, 15vh, 150px);
    }

    .home-main {
        padding: 1.5rem;
    }

    .home-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .home-buttons .btn {
        min-width: auto;
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }

    .subtle-link {
        margin-top: 1rem;
        font-size: 0.8rem;
    }

    .page-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .page-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .rules-grid {
        gap: 0.5rem 2rem;
    }
}

/* Tablet landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-banner .hero-logo {
        width: clamp(200px, 25vw, 300px);
    }

    .home-buttons {
        flex-direction: row;
    }
}

/* =============================================
   Utility Classes
   ============================================= */
.text-center {
    text-align: center;
}

.text-shadow {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Screen reader only - for SEO h1 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =============================================
   Premium Inner Pages
   ============================================= */
.hero-page {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    height: auto;
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 18, 8, 0.6) 0%,
        rgba(26, 18, 8, 0.5) 50%,
        rgba(26, 18, 8, 0.7) 100%
    );
    z-index: 1;
}

/* Page wrapper for inner pages - uses flexbox for proper spacing */
.page-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 100%;
    padding: 3rem 2rem;
    box-sizing: border-box;
}

.logo-container {
    flex-shrink: 0;
    margin-bottom: 2rem;
}

.logo-container img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    transition: transform var(--transition-fast);
}

.logo-container a:hover img {
    transform: scale(1.05);
}

.page-wrapper .hero-content {
    padding-top: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--color-beige);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    letter-spacing: 0.08em;
}

.page-description {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-beige);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0.9;
}

.page-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-beige-dark);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    opacity: 0.8;
    font-style: italic;
}

/* Rules Grid */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 3rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: left;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rule-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-beige-dark);
    opacity: 0.6;
}

.rule-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-beige);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Rules Page Content */
.rules-page {
    overflow-y: auto;
    background: linear-gradient(
        to bottom,
        #1a1208 0%,
        #0d0906 30%,
        #000000 100%
    );
}

.rules-overlay {
    background: transparent;
}

.rules-content {
    max-width: 900px;
    width: 100%;
    text-align: left;
}

.rules-content .page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.rules-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 184, 150, 0.2);
}

.rules-section:last-of-type {
    border-bottom: none;
}

.rules-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--color-beige);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.rules-section h3 {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--color-beige-light);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    margin-top: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.rules-section p {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--color-beige);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.rules-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.rules-section li {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--color-beige);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.rules-section li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-beige-dark);
}

.rules-section a {
    color: var(--color-beige-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rules-section a:hover {
    color: var(--color-beige);
}

.rules-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

@media (max-width: 600px) {
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

}

/* Responsive adjustments for page wrapper */
@media (max-width: 600px) {
    .logo-container img {
        height: 60px;
    }

    .logo-container {
        margin-bottom: 1.5rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .logo-container img {
        height: 50px;
    }

    .logo-container {
        margin-bottom: 1rem;
    }

    .page-wrapper {
        padding: 1rem;
    }
}
