:root {
    --primary-red: #dc3545;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-white: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
}

/* Page Transition */
body {
    animation: pageFadeIn 0.6s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Fade In Animation */
body {
    animation: pageFadeIn 0.6s ease-out;
}

/* Snowflakes Animation */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background-image: 
       radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
       radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 200px 200px, 150px 150px, 180px 180px, 220px 220px, 160px 160px;
    animation: snow 20s linear infinite;
}

@keyframes snow {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 200px 2000px, 150px 2000px, 180px 2000px, 220px 2000px, 160px 2000px;
    }
}

/* Header */
.header-section {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header-section.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    width: fit-content;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-white) !important;
}

.logo-red {
    color: var(--primary-red);
}

.navbar-nav .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.75rem !important;
    border-radius: 8px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    background: rgba(220, 53, 69, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover:not(.dropdown-toggle),
.navbar-nav .nav-link.active:not(.dropdown-toggle) {
    color: var(--primary-red) !important;
}

.navbar-nav .nav-link.dropdown-toggle:hover,
.navbar-nav .nav-link.dropdown-toggle[aria-expanded="true"] {
    color: var(--text-white) !important;
}

.navbar-nav .nav-link.dropdown-toggle:hover::before,
.navbar-nav .nav-link.dropdown-toggle[aria-expanded="true"]::before {
    width: 80%;
}

.dropdown-menu-dark {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: dropdownFadeIn 0.3s ease;
    margin-top: 0.5rem;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: var(--text-white) !important;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0.25rem 0.5rem;
    position: relative;
    overflow: hidden;
    display: block;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: rgba(139, 69, 19, 0.3);
    transition: width 0.3s ease;
    z-index: 0;
    border-radius: 5px;
}

.dropdown-item:hover::before {
    width: 100%;
}

.dropdown-item:hover {
    background: rgba(139, 69, 19, 0.3);
    color: var(--primary-red) !important;
    transform: translateX(5px);
}

.dropdown-item span,
.dropdown-item {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(20, 20, 20, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%231a1a1a" width="1200" height="800"/><path d="M0,400 Q300,200 600,400 T1200,400" stroke="%23333" fill="none" stroke-width="2" opacity="0.3"/></svg>');         
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-white);
    text-shadow: 
        0 0 10px rgba(220, 53, 69, 0.5),
        0 0 20px rgba(220, 53, 69, 0.3),
        2px 2px 0 rgba(0, 0, 255, 0.3),
        -2px -2px 0 rgba(255, 0, 0, 0.3);
    margin-top: 4rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    border-left: 3px solid var(--primary-red);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.hero-stats-section {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.hero-stats-section .stat-card {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    min-height: 250px;
    max-width: 300px;
    margin: 0 auto;
}

.server-connection {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.server-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 250px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.server-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.1), transparent);
    transition: left 0.5s ease;
}

.server-box:hover::before {
    left: 100%;
}

.server-box:hover {
    border-color: rgba(220, 53, 69, 0.5);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
    transform: translateY(-2px);
}

.server-box i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.server-box span {
    flex: 1;
    font-family: 'Courier New', monospace;
    color: var(--text-white);
}

.btn-copy {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-radius: 5px;
    position: relative;
    z-index: 1;
}

.btn-copy:hover {
    color: var(--primary-red);
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.1);
}

.btn-copy:active {
    transform: scale(0.95);
}

.btn-discord {
    background: #5865F2;
    color: var(--text-white);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-discord::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-discord:hover::before {
    width: 300px;
    height: 300px;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-3px) scale(1.05);
    color: var(--text-white);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}

.btn-discord:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-discord span,
.btn-discord i {
    position: relative;
    z-index: 1;
}

/* Christmas Tree */
.christmas-tree {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 80px;
    height: 100px;
    background: linear-gradient(to bottom, #0a5d0a 0%, #0a5d0a 30%, transparent 30%),
                linear-gradient(to bottom, #0a5d0a 0%, #0a5d0a 30%, transparent 30%),
                linear-gradient(to bottom, #0a5d0a 0%, #0a5d0a 30%, transparent 30%),
                radial-gradient(circle at 50% 0%, #ffd700 0%, #ffd700 15%, transparent 15%);
    background-size: 60% 30%, 60% 30%, 60% 30%, 20% 20%;
    background-position: 20% 50%, 50% 60%, 80% 50%, 50% 0%;
    background-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-white);
    text-shadow: 
        0 0 10px rgba(220, 53, 69, 0.5),
        0 0 20px rgba(220, 53, 69, 0.3);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transition: width 0.5s ease;
}

.section-title:hover::after {
    width: 100%;
}

.section-title:hover {
    transform: scale(1.05);
}

/* Features Section */
.features-section {
    background: var(--dark-bg);
    position: relative;
    padding: 5rem 0;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 53, 69, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

.feature-card:active {
    transform: translateY(-5px) scale(1.01);
}

.feature-card.featured {
    border: 2px solid var(--primary-red);
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    display: inline-block;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1rem;
}

/* Announcements Section */
.announcements-section {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.announcement-box {
    background: var(--card-bg);
    border: 2px dashed var(--border-color);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 5px;
}

.announcement-box i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.announcement-box p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Stats Section */
.stats-section {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
}

.stat-card-active {
    background: rgba(139, 69, 19, 0.2);
    border: 2px solid var(--primary-red);
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.4);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

.stat-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.stat-icon.status-active {
    color: rgba(40, 167, 69, 0.1);
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

/* Rules Page Section */
.rules-page-section {
    background: var(--dark-bg);
    padding: 5rem 0;
    min-height: 80vh;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-white);
    text-shadow: 
        0 0 10px rgba(220, 53, 69, 0.5),
        0 0 20px rgba(220, 53, 69, 0.3);
    margin-bottom: 3rem;
}

.rules-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
}

.rules-content h2,
.rules-content h3 {
    color: var(--text-white);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.rules-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 0.5rem;
}

.rules-content h3 {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.rules-content p {
    margin-bottom: 1rem;
}

.rules-content ul,
.rules-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.rules-content li {
    margin-bottom: 0.5rem;
}

/* Application Form Section */
.application-form-section {
    background: var(--dark-bg);
    padding: 5rem 0;
    min-height: 80vh;
}

.application-form-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-question {
    margin-bottom: 2rem;
}

.question-label {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.form-textarea {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-textarea:focus {
    background: rgba(30, 30, 30, 0.9);
    border-color: var(--primary-red);
    color: var(--text-white);
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
    outline: none;
}

.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-textarea:disabled {
    background: rgba(15, 15, 15, 0.5);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}

select.form-textarea {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

select.form-textarea option {
    background: var(--card-bg);
    color: var(--text-white);
}

/* Discord Login Prompt */
.discord-login-prompt {
    margin-bottom: 2rem;
}

.discord-login-prompt .alert {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
}

.discord-login-prompt .alert i {
    color: #ffc107;
}

/* Session Info Display */
.session-info {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.session-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.session-id {
    color: #5865F2;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.form-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

#charCount {
    font-weight: 600;
}

.btn-donate {
    background: var(--primary-red);
    border: none;
    color: var(--text-white);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-donate:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
    color: var(--text-white);
}

.rule-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
    overflow: visible;
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 10px;
}

.rule-card:hover::before {
    opacity: 1;
}

.rule-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.25);
    border-color: rgba(220, 53, 69, 0.4);
}

.rule-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
}

.rule-card h4 {
    color: var(--text-white);
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.rule-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Members Section */
.members-section {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.member-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.member-card:hover::before {
    width: 300px;
    height: 300px;
}

.member-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

.member-avatar {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.member-card:hover .member-avatar {
    transform: scale(1.1) rotate(5deg);
}

.member-avatar {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.member-card h3,
.member-card h4 {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 1.1rem;
    line-height: 1.4;
}

.member-role {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title {
    color: var(--primary-red);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.member-status {
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
}

.member-status.online {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.member-status.offline {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

/* Donate Section */
.donate-section {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.donate-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.donate-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), #5865F2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.donate-card:hover::after {
    transform: scaleX(1);
}

.donate-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.3);
}

.donate-icon {
    transition: transform 0.4s ease;
}

.donate-card:hover .donate-icon {
    transform: scale(1.2) rotate(10deg);
}

.donate-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.donate-card h4 {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.donate-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.donate-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.btn-donate {
    background: var(--primary-red);
    color: var(--text-white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-donate:hover::before {
    width: 400px;
    height: 400px;
}

.btn-donate:hover {
    background: #c82333;
    color: var(--text-white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.5);
}

.btn-donate:active {
    transform: translateY(-1px) scale(1.01);
}

.support-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    text-align: center;
    border-radius: 10px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.support-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.support-box:hover::before {
    opacity: 1;
}

.support-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.3);
}

.support-box i {
    font-size: 4rem;
    color: #5865F2;
    margin-bottom: 1.5rem;
}

.support-box h3 {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.support-box p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.support-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.support-methods .btn-discord {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.support-methods .btn-email {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    gap: 0.5rem;
}

.support-methods .btn-email:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-white);
}

.support-methods .btn-email i {
    font-size: 2.5rem;
    margin: 0;
}

.support-methods .btn-email span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Streamers Section */
.streamers-section {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.streamer-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
}

.streamer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(220, 53, 69, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.streamer-card > * {
    position: relative;
    z-index: 1;
}

.streamer-card .btn,
.streamer-card a.btn {
    position: relative !important;
    z-index: 999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.streamer-card a {
    position: relative !important;
    z-index: 999 !important;
    pointer-events: auto !important;
}

.streamer-card:hover::before {
    opacity: 1;
}

.streamer-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

.streamer-avatar {
    font-size: 4rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    display: inline-block;
}

.streamer-card:hover .streamer-avatar {
    transform: scale(1.2) rotate(-5deg);
    text-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}

.streamer-card h4 {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.streamer-platform {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

/* Application Section */
.application-section {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.application-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    text-align: center;
    border-radius: 5px;
}

.application-box i {
    font-size: 4rem;
    color: #5865F2;
    margin-bottom: 1.5rem;
}

.application-box h2 {
    color: var(--text-white);
    font-weight: 700;
}

.application-box p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Register Section */
.register-section {
    background: var(--dark-bg);
    padding: 5rem 0;
}

.register-box,
.application-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    text-align: center;
    border-radius: 10px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.register-box::before,
.application-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.register-box:hover::before,
.application-box:hover::before {
    opacity: 1;
}

.register-box:hover,
.application-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.3);
}

.register-box i {
    font-size: 4rem;
    color: #5865F2;
    margin-bottom: 1.5rem;
}

.register-box h2 {
    color: var(--text-white);
    font-weight: 700;
}

.register-box p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* User Profile Card */
.user-profile-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--primary-red);
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    min-width: 250px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-red);
    flex-shrink: 0;
    position: relative;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(220, 53, 69, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 2rem;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-status {
    color: var(--primary-red);
    font-size: 0.875rem;
    opacity: 0.8;
}

.user-logout {
    background: transparent;
    border: none;
    color: var(--primary-red);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.user-logout:hover {
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.1);
}

/* Footer */
.footer-section {
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid var(--border-color);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding-left: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .server-connection {
        flex-direction: column;
    }
    
    .server-box {
        width: 100%;
    }
    
    .btn-discord {
        width: 100%;
        justify-content: center;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .christmas-tree {
        width: 60px;
        height: 75px;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar .container {
        border-radius: 10px;
        padding: 0.5rem 1rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .btn {
        margin: 0.5rem auto;
        display: block;
        width: fit-content;
    }
    
    .navbar-nav .nav-item:last-child {
        width: 100%;
        text-align: center;
    }
    
    .navbar-nav .nav-item:last-child .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
}

/* Rules Section */
.rules-section {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

.rules-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.tab-link {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

.tab-link:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.tab-link.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--text-white);
}

.page-title {
    color: var(--primary-red);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rules-content {
    max-width: 1200px;
    margin: 0 auto;
}

.rule-category {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.rule-category:hover {
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
}

.rule-category-title {
    color: var(--primary-red);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.rule-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rule-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--primary-red);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(220, 53, 69, 0.05);
    border-left-color: var(--primary-red);
    transform: translateX(5px);
}

.rule-item p {
    margin: 0;
    color: var(--text-white);
    line-height: 1.8;
    font-size: 1rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--text-white);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-white);
    opacity: 0.7;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: var(--text-white);
    opacity: 0.5;
    padding: 0 0.5rem;
}

@media (max-width: 768px) {
    .rules-tabs {
        flex-direction: column;
    }
    
    .tab-link {
        width: 100%;
        text-align: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .rule-category {
        padding: 1.5rem;
    }
    
    .rule-category-title {
        font-size: 1.5rem;
    }
}
