@import url('https://fonts.googleapis.com/css2?family=Rye&family=Sancreek&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Cinzel:wght@400;700&display=swap');

:root {
    --rdr-red: #8a0303;
    --rdr-dark-red: #580000;
    --rdr-black: #0a0a0a;
    --rdr-paper: #d4c5a9;
    --rdr-paper-dark: #b8aa8f;
    --rdr-gold: #cfaa48;
    --rdr-white: #e8e8e8;

    --font-heading: 'Rye', serif;
    --font-subheading: 'Sancreek', serif;
    --font-body: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--rdr-black);
    color: var(--rdr-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--rdr-black);
}

::-webkit-scrollbar-thumb {
    background: var(--rdr-red);
    border-radius: 5px;
    border: 2px solid var(--rdr-black);
}

.vintage-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.8));
    pointer-events: none;
    z-index: 1000;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAADsEZWCAAAAGFBMVEUAAAAAAAACAgIBAQEAAAAAAAD///8AAAB3QK5RAAAAAXRSTlMAQObYZgAAAFRJREFUeNpjYBgFoyEwGkLx0VACnUVHRSUwMDCwMjAwMDMyszA0MDIwMDEzMTAwMzIxMDMyMTIyMjIyMjIysjCysrKysrKystIysrKystIy0jLS0tJKANvXG/X6T721AAAAAElFTkSuQmCC');
    opacity: 0.05;
    pointer-events: none;
    z-index: 999;
}

#embers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    transition: opacity 1s ease-out;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--rdr-dark-red);
    border-top: 5px solid var(--rdr-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    font-family: var(--font-heading);
    color: var(--rdr-white);
    letter-spacing: 2px;
    animation: pulse 1.5s infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.sidebar {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    padding: 60px 20px;
    border-left: 2px solid var(--rdr-red);
}

.sidebar.active {
    right: 0;
}

.sidebar a {
    font-family: var(--font-heading);
    color: var(--rdr-white);
    text-decoration: none;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: 0.3s;
}

.sidebar a:hover {
    color: var(--rdr-red);
}

.menu-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 2001;
    cursor: pointer;
    display: none;
}

.menu-btn div {
    width: 30px;
    height: 3px;
    background: var(--rdr-white);
    margin: 6px 0;
    transition: 0.3s;
    box-shadow: 1px 1px 2px black;
}

.close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--rdr-red);
    font-size: 2rem;
    cursor: pointer;
    font-family: var(--font-heading);
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
    z-index: 900;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--rdr-paper);
    font-family: var(--font-heading);
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px black;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--rdr-red);
}

header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(0.6);
    z-index: -1;
    transition: 0.5s;
    background-color: #222;
}

.hero-content {
    z-index: 1;
    animation: fadeIn 2s ease-out;
}

.hero-logo {
    width: 300px;
    max-width: 80%;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
    animation: float 6s ease-in-out infinite;
}

h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--rdr-red);
    text-shadow: 3px 3px 0 var(--rdr-black), -1px -1px 0 var(--rdr-paper);
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.subtitle {
    font-family: var(--font-subheading);
    font-size: 1.5rem;
    color: var(--rdr-paper);
    text-shadow: 2px 2px 4px black;
}

.cta-btn {
    margin-top: 30px;
    padding: 15px 40px;
    background: var(--rdr-red);
    color: var(--rdr-white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border: 2px solid var(--rdr-paper);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(138, 3, 3, 0.5);
}

.cta-btn:hover {
    background: var(--rdr-dark-red);
    transform: scale(1.05);
}

section {
    padding: 80px 20px;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    color: var(--rdr-red);
    margin-bottom: 50px;
    text-shadow: 2px 2px 0 var(--rdr-black);
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.section-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: var(--rdr-gold);
    margin-top: 10px;
    box-shadow: 0 0 10px var(--rdr-gold);
}

#about {
    background: url('https://www.transparenttextures.com/patterns/aged-paper.png'), var(--rdr-paper);
    color: var(--rdr-black);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

#vip {
    background: url('https://www.transparenttextures.com/patterns/black-linen.png'), #121212;
    text-align: center;
}

.vip-category {
    margin-bottom: 60px;
}

.vip-subtitle {
    font-family: var(--font-subheading);
    color: var(--rdr-gold);
    font-size: 2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px #000;
    border-bottom: 1px dashed #444;
    display: inline-block;
    padding-bottom: 10px;
}

.gallery-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 50px;
}

.gallery-view {
    width: 600px;
    height: 400px;
    background: #000;
    border: 3px solid var(--rdr-red);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    border-radius: 4px;
}

.gallery-view img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: 0.3s;
}

.gallery-btn {
    background: rgba(0, 0, 0, 0.8);
    color: var(--rdr-red);
    border: 1px solid var(--rdr-red);
    font-size: 1.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.gallery-btn:hover {
    background: var(--rdr-red);
    color: #fff;
    transform: scale(1.1);
}

.slide-count {
    position: absolute;
    bottom: 10px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.8rem;
}

.vip-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.vip-item {
    background: #000;
    padding: 10px;
    border: 1px solid var(--rdr-red);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
    border-radius: 4px;
}

.vip-item:hover {
    transform: scale(1.03);
    border-color: var(--rdr-gold);
}

.vip-item img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

#rules {
    background-color: #0f0f0f;
    background-image: url('https://www.transparenttextures.com/patterns/black-felt.png');
}

.rules-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.rules-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 30px;
    overflow-x: auto;
    padding: 40px 10px;
    scroll-behavior: smooth;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.rules-container::-webkit-scrollbar {
    display: none;
}

.rules-card {
    background: linear-gradient(135deg, #1f1f1f, #0a0a0a);
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    height: 500px;
    border: 2px solid #444;
    border-radius: 4px;
    padding: 20px;
    color: #ccc;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
    scroll-snap-align: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: var(--rdr-red);
    border: 2px solid var(--rdr-red);
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    z-index: 100;
    transition: 0.3s;
    user-select: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px #000;
}

.slider-btn:hover {
    background: var(--rdr-red);
    color: #fff;
    scale: 1.1;
    box-shadow: 0 0 20px var(--rdr-red);
}

.prev-btn {
    left: -30px;
}

.next-btn {
    right: -30px;
}

.rules-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(138, 3, 3, 0.3);
    border-color: var(--rdr-red);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--rdr-white);
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 3px solid var(--rdr-red);
    padding-bottom: 10px;
    text-align: center;
}

.card-desc {
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 15px;
}

.card-content {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 5px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    padding: 10px;
}

.card-content::-webkit-scrollbar {
    width: 5px;
}

.card-content::-webkit-scrollbar-thumb {
    background: #444;
}

.card-list {
    list-style: none;
}

.card-list li {
    background: rgba(40, 40, 40, 0.5);
    margin-bottom: 8px;
    padding: 8px;
    border-left: 2px solid var(--rdr-red);
    text-align: right;
    direction: rtl;
    font-size: 0.9rem;
}

.card-btn {
    margin-top: 15px;
    background: var(--rdr-red);
    color: var(--rdr-white);
    border: 1px solid var(--rdr-gold);
    padding: 10px;
    font-family: var(--font-heading);
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.2s;
    text-align: center;
}

.card-btn:hover {
    background: var(--rdr-dark-red);
}

#team {
    background: url('https://www.transparenttextures.com/patterns/wood-pattern.png'), #201a16;
}

.team-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card {
    background: #d4c5a9;
    background-image: url('https://www.transparenttextures.com/patterns/aged-paper.png');
    width: 260px;
    padding: 15px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    position: relative;
    color: #2e2e2e;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #555, #000);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.wanted-header {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
    border-bottom: 3px solid #000;
    line-height: 1;
}

.team-role {
    font-family: var(--font-subheading);
    color: #000;
    font-size: 1.2rem;
    margin-top: 5px;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--rdr-red);
    margin: 10px 0;
}

footer {
    background: var(--rdr-black);
    color: #666;
    text-align: center;
    padding: 20px;
    border-top: 2px solid var(--rdr-red);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 850px) {
    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }


    h1 {
        font-size: 2.5rem;
    }

    .hero-logo {
        width: 200px;
    }

    .team-grid {
        flex-direction: row;
    }

    .team-card {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }

    section {
        padding: 40px 15px;
    }
}