/* Global Styles */
:root {
    --primary-color: #0d1117;
    --secondary-color: #fec107;
    --accent-color: #ff9d05;
    --text-color: #f0f6fc;
    --dark-bg: #0d1117;
    --card-bg: #161b22;
    --border-color: #30363d;
    --transition-speed: 0.3s;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

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

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(254, 193, 7, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-primary i {
    margin-right: 8px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(254, 193, 7, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(254, 193, 7, 0.4);
}

.btn:active {
    transform: translateY(1px);
}

.btn i, .btn svg {
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.discord-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.discord-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100%;
    vertical-align: middle;
}

.discord-link span {
    margin-left: 4px;
    font-size: 1rem;
    font-weight: 500;
}

.discord-link svg {
    vertical-align: middle;
    margin-right: 4px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    transition: all var(--transition-speed) ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    transition: all var(--transition-speed) ease;
    max-width: 100%;
    object-fit: contain;
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links {
    display: flex;
    gap: 40px;
    background-color: rgba(22, 27, 34, 0.8);
    border-radius: 50px;
    padding: 10px 25px;
    border: 1px solid var(--border-color);
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 8px 15px;
    font-size: 1rem;
    opacity: 0.8;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    opacity: 1;
    color: var(--dark-bg);
    background-color: var(--secondary-color);
}

.connect-btn {
    margin-left: 20px;
    flex-shrink: 0;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    background-color: var(--dark-bg);
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-grid-layout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 10px;
    padding: 20px;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform;
}

.grid-item {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: background-color, box-shadow;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(254, 193, 7, 0.1), rgba(255, 157, 5, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.grid-item.highlight {
    background-color: rgba(254, 193, 7, 0.1);
    box-shadow: 0 0 15px rgba(254, 193, 7, 0.2);
}

.grid-item.highlight::before {
    opacity: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background-banner.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.35) contrast(1.1);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-logo {
    margin-bottom: 25px;
}

.hero-logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(254, 193, 7, 0.3));
}

.hero h1 {
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 4.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    animation: bounce 2s infinite;
    opacity: 0.7;
}

.scroll-indicator span {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

section:nth-child(odd) {
    background-color: var(--dark-bg);
}

section:nth-child(even) {
    background-color: #0a0d12;
}

/* Server Stats Section */
.server-stats {
    padding: 60px 0;
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.stats-header {
    text-align: center;
    margin-bottom: 30px;
}

.stats-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.stat-box {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    padding: 25px 35px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    min-width: 280px;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-right: 25px;
    text-shadow: 0 0 10px rgba(254, 193, 7, 0.3);
}

.stat-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    opacity: 0.9;
    font-weight: 600;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(254, 193, 7, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background-color: #0a0d12;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    opacity: 0.8;
    font-size: 1rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.about-text ul {
    margin-bottom: 30px;
}

.about-text li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.about-text li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 5px;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Gallery Section */
.gallery {
    background-color: var(--dark-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    height: 250px;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 17, 23, 0.9) 0%, rgba(13, 17, 23, 0) 70%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-info {
    color: var(--text-color);
    text-align: left;
}

.gallery-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    background-color: #0a0d12;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(254, 193, 7, 0.1) 0%, rgba(13, 17, 23, 0) 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Rules Page Styles */
.rules-content {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

.rules-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.table-of-contents {
    position: sticky;
    top: 120px;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    max-height: calc(100vh - 140px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.table-of-contents h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) var(--border-color);
}

.table-of-contents ul::-webkit-scrollbar {
    width: 6px;
}

.table-of-contents ul::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 3px;
}

.table-of-contents ul::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 3px;
}

.table-of-contents ul::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.table-of-contents li {
    margin-bottom: 12px;
}

.table-of-contents a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all var(--transition-speed) ease;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-of-contents a:hover {
    opacity: 1;
    color: var(--secondary-color);
    background-color: rgba(254, 193, 7, 0.1);
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

.rules-sections {
    max-width: 100%;
}

.rule-section {
    background-color: var(--card-bg);
    margin-bottom: 40px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.rule-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.rule-section h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.rule-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.rule-category {
    margin-bottom: 25px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.rule-category h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.rule-category p {
    margin-bottom: 10px;
    line-height: 1.6;
    opacity: 0.9;
}

.rule-category p strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.rule-category ul {
    margin: 15px 0;
    padding-left: 20px;
}

.rule-category li {
    margin-bottom: 8px;
    opacity: 0.9;
    line-height: 1.5;
}

.rule-category li::marker {
    color: var(--secondary-color);
}

/* Donation Products Section */
.donation-products {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.purchase-instructions {
    margin-bottom: 40px;
}

.instructions-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.instructions-card h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.instructions-card h3 i {
    margin-right: 10px;
}

.instructions-card p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.support-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
}

.support-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-methods span {
    font-weight: 600;
    color: var(--text-color);
}

.payment-icon {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.payment-icon:hover {
    transform: scale(1.1);
}

.product-controls {
    margin-bottom: 40px;
    text-align: center;
}

.sort-controls {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: var(--card-bg);
    padding: 15px 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.sort-controls label {
    font-weight: 600;
    color: var(--text-color);
}

.sort-select {
    background-color: var(--dark-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.sort-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(254, 193, 7, 0.2);
}

.sort-select option {
    background-color: var(--dark-bg);
    color: var(--text-color);
}

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

.product-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.product-images {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.nav-arrow:hover {
    background-color: rgba(254, 193, 7, 0.8);
    color: var(--dark-bg);
    transform: translateY(-50%) scale(1.1);
}

.nav-left {
    left: 15px;
}

.nav-right {
    right: 15px;
}

.nav-arrow i {
    font-size: 1.2rem;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-main-image {
    transform: scale(1.05);
}

.product-thumbnails {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.thumbnail {
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: var(--secondary-color);
}

.product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(254, 193, 7, 0.3);
}

.product-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
    flex: 1;
}

.product-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.product-card .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: auto;
}

/* Donation Disclaimer */
.donation-disclaimer {
    background-color: #0a0d12;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.disclaimer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-content p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
    line-height: 1.5;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

/* Coming Soon Sections */
.donation-coming-soon,
.rules-coming-soon,
.faq-coming-soon {
    padding: 100px 0;
    text-align: center;
}

.coming-soon-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}

.coming-soon-content i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.coming-soon-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.coming-soon-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #080a0e;
    color: var(--text-color);
    padding: 80px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
}

.footer-content::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(254, 193, 7, 0), rgba(254, 193, 7, 0.3), rgba(254, 193, 7, 0));
}

.footer-logo img {
    height: 50px;
    margin-bottom: 0;
}

.logo-underline {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin: 0 auto 15px;
    position: relative;
    top: 0;
}

@media screen and (min-width: 769px) {
    .footer-logo {
        text-align: left;
    }
    
    .footer-logo img {
        margin-bottom: 0;
        display: block;
    }
    
    .logo-underline {
        margin: 0 0 15px 0;
        position: relative;
        top: 0;
        width: 40px;
    }
}

.footer-logo p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.footer-links h3, .footer-connect h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.footer-links h3::after, .footer-connect h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.footer-links ul li {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-links ul li:hover {
    transform: translateX(5px);
}

.footer-links ul li a {
    opacity: 0.8;
    transition: all var(--transition-speed) ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer-connect p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.footer-connect p i {
    margin-right: 15px;
    color: var(--secondary-color);
}

.social-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 15px;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
    margin-right: 8px;
}

.discord-btn span {
    color: #ffffff;
    font-weight: 400;
    margin-left: 4px;
    font-size: 0.8rem;
}

.discord-btn svg {
    width: 14px;
    height: 14px;
    color: #ffffff;
}

.discord-btn.main-discord {
    border-left: 2px solid var(--secondary-color);
}

.discord-btn.support-discord {
    border-left: 2px solid var(--accent-color);
}

.discord-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}

.discord-btn:hover span {
    color: var(--secondary-color);
}

/* Keep for backwards compatibility */
.social-icons {
    display: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animation Classes */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 1s forwards;
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    overflow: hidden;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background-banner.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.35) contrast(1.1);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 40px;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Loading Screen */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-content {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 300px;
    padding: 0 20px;
}

.loading-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
    animation: pulse 2s infinite;
}

.loading-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: bounce 2s infinite alternate;
}

.loading-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.loading-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    animation: loading-bar 2s infinite;
    border-radius: 3px;
}

@keyframes loading-bar {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(0.95);
    }
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    nav {
        position: relative;
        left: auto;
        transform: none;
    }
}

@media screen and (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    nav {
        position: relative;
        left: auto;
        transform: none;
    }
    
    .hero-content {
        width: 100%;
        max-width: 90%;
    }
    
    .hero p {
        width: 100%;
        max-width: 100%;
    }
    
    .header-container {
        padding: 15px 25px;
    }
    
    .nav-links {
        gap: 30px;
        padding: 8px 20px;
    }
    
    .nav-links a {
        font-size: 0.95rem;
        padding: 6px 12px;
    }
    
    .connect-btn .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* Rules page tablet styles */
    .rules-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .table-of-contents {
        position: static;
        order: 1;
        margin-bottom: 40px;
    }
    
    .rules-sections {
        order: 2;
    }
    
    .rule-section {
        padding: 30px 25px;
    }
    
    .rule-section h2 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 850px) {
    .header-container {
        padding: 12px 20px;
    }
    
    .nav-links {
        gap: 25px;
        padding: 6px 15px;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
    
    .connect-btn .btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .logo img {
        height: 35px;
    }
}

@media screen and (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        min-height: 70px;
    }
    
    .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    nav {
        position: static;
        transform: none;
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
        max-width: 200px;
    }
    
    .nav-links {
        position: fixed;
        right: 0;
        top: 70px;
        background-color: rgba(13, 17, 23, 0.98);
        backdrop-filter: blur(15px);
        height: calc(100vh - 70px);
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 50px 0;
        clip-path: circle(0px at 90% -10%);
        -webkit-clip-path: circle(0px at 90% -10%);
        transition: all 0.5s ease-out;
        pointer-events: none;
        gap: 20px;
        z-index: 1000;
        border-radius: 0;
        overflow-y: auto;
        border: none;
    }
    
    .nav-links.active {
        clip-path: circle(1500px at 90% -10%);
        -webkit-clip-path: circle(1500px at 90% -10%);
        pointer-events: all;
    }
    
    .nav-links li {
        opacity: 1;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 20px;
        width: 80%;
        margin: 0 auto;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    
    .nav-links li.fade {
        opacity: 1;
    }
    
    .burger {
        display: flex;
        order: 3;
        z-index: 1001;
        flex-shrink: 0;
    }
    
    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .burger.active .line2 {
        opacity: 0;
    }
    
    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .connect-btn {
        order: 2;
        margin-left: 0;
        margin-right: 15px;
        flex-shrink: 0;
    }
    
    .connect-btn .btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-links h3::after, .footer-connect h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links, .footer-connect {
        text-align: center;
    }
    
    .footer-connect p {
        justify-content: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-box {
        width: 90%;
        max-width: 350px;
    }
    
    .discord-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero {
        height: 100vh;
        position: relative;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 1px;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 10px;
        line-height: 1.5;
    }
    
    .hero-logo {
        margin-bottom: 20px;
    }
    
    .hero-logo img {
        width: 100px;
    }
    
    .scroll-down {
        bottom: 20px;
    }
    
    .scroll-indicator {
        font-size: 0.8rem;
    }
    
    .social-buttons {
        justify-content: center;
    }
    
    .page-hero-content {
        padding: 0 15px;
        margin-top: 60px;
    }
    
    .page-hero h1 {
        font-size: 2.8rem;
    }
    
    .coming-soon-content {
        padding: 30px 15px;
    }
    
    .section-header {
        padding: 0 15px;
    }
    
    .about-text {
        padding: 0 15px;
    }
    
    .about-text p, .about-text ul {
        max-width: 100%;
        overflow-wrap: break-word;
    }
    
    .cta-content {
        padding: 0 15px;
    }
}

@media screen and (max-width: 576px) {
    .logo img {
        height: 35px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    p, li, h3, h4, h5, h6 {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 25px;
        padding: 0 5px;
        line-height: 1.6;
    }
    
    .hero-logo {
        margin-bottom: 15px;
    }
    
    .hero-logo img {
        width: 80px;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .hero-buttons .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .scroll-down {
        bottom: 15px;
    }
    
    .scroll-indicator {
        font-size: 0.7rem;
    }
    
    .scroll-indicator i {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .coming-soon-content {
        padding: 30px;
        margin: 0 15px;
    }
    
    
    /* Loading screen mobile fixes */
    .loading-overlay {
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
    }
    
    .loading-content {
        max-width: 280px;
        padding: 0 15px;
    }
    
    .loading-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
    
    .loading-text {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .about-text p, .about-text ul {
        width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .section-subtitle {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        padding: 0 10px;
    }
    
    .stat-box {
        min-width: 220px;
        padding: 20px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-content h3 {
        font-size: 0.9rem;
    }
    
    .discord-btn {
        padding: 8px 12px;
    }
    
    .discord-btn span {
        font-size: 0.9rem;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    /* Fix overflow issues */
    .about-content {
        padding: 0 15px;
    }
    
    .about-image {
        margin: 0 15px;
    }
    
    .gallery-item {
        margin: 0 15px;
        width: calc(100% - 30px);
    }
    
    .gallery-grid {
        padding: 0 15px;
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        padding: 0 15px;
    }
    
    .discord-link span {
        font-size: 0.9rem;
    }
    
    .discord-icon {
        width: 18px;
        height: 18px;
    }
    
    /* Fix header for small screens */
    .header-container {
        padding: 10px 15px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        min-height: 60px;
    }
    
    .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    .logo img {
        height: 30px;
    }
    
    .connect-btn {
        margin-left: 0;
        margin-right: 10px;
        order: 2;
        flex-shrink: 0;
    }
    
    .connect-btn .btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .connect-btn .btn i {
        margin-right: 4px;
    }
    
    .burger {
        order: 3;
        width: 25px;
        height: 25px;
        flex-shrink: 0;
    }
    
    .burger div {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }
    
    nav {
        order: 2;
        flex: 1;
        max-width: 150px;
    }
    
    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 12px 15px;
    }
    
    /* Rules page mobile styles */
    .rules-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .table-of-contents {
        position: static;
        order: 1;
        margin-bottom: 30px;
    }
    
    .rules-sections {
        order: 2;
    }
    
    .rule-section {
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .rule-section h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .rule-category {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .rule-category h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .table-of-contents {
        padding: 20px;
    }
    
    .table-of-contents h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .table-of-contents a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    /* Donation products mobile styles */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    .product-card {
        margin: 0 15px;
    }

    .product-images {
        height: 250px;
    }

    .product-info {
        padding: 25px 20px;
    }

    .product-info h3 {
        font-size: 1.5rem;
    }

    .product-price {
        font-size: 1.8rem;
    }

    .product-description {
        font-size: 0.95rem;
    }

    .product-features li {
        font-size: 0.9rem;
    }

    .product-card .btn {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .thumbnail {
        width: 35px;
        height: 25px;
    }

    .instructions-card {
        padding: 25px 20px;
        margin: 0 15px;
    }

    .instructions-card h3 {
        font-size: 1.3rem;
    }

    .instructions-card p {
        font-size: 1rem;
    }

    .payment-methods {
        gap: 15px;
    }

    .payment-icon {
        height: 35px;
    }

    .sort-controls {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }

    .nav-arrow {
        width: 35px;
        height: 35px;
    }

    .nav-arrow i {
        font-size: 1rem;
    }

    .nav-left {
        left: 10px;
    }

    .nav-right {
        right: 10px;
    }
}