* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #1a0f0a 0%, #2d1810 50%, #1a0f0a 100%);
    color: #d4af37;
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-hero-wrapper {
    position: relative;
    background: 
        linear-gradient(
            rgba(26, 15, 10, 0.7) 0%, 
            rgba(26, 15, 10, 0.5) 40%, 
            rgba(26, 15, 10, 0.6) 70%, 
            rgba(26, 15, 10, 0.8) 85%,
            rgba(26, 15, 10, 0.95) 95%,
            #1a0f0a 100%
        ), 
        url('../img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.header-hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, #1a0f0a);
    pointer-events: none;
    z-index: 1;
}

.header-top {
    text-align: center;
    padding: 30px 0 20px;
    position: relative;
}

.server-logo {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    padding: 10px;
}

.logo-image {
    height: 320px;
    width: auto;
    display: block;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.server-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 
        0 0 10px #d4af37,
        0 0 20px #d4af37,
        2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 15px;
    background: linear-gradient(45deg, #d4af37, #ffd700, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.server-subtitle {
    font-size: 1.3rem;
    color: #f0f0f0;
    margin-bottom: 0;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.navigation {
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.95) 0%, 
        rgba(160, 82, 45, 0.95) 25%, 
        rgba(139, 69, 19, 0.95) 50%, 
        rgba(101, 67, 33, 0.95) 75%, 
        rgba(139, 69, 19, 0.95) 100%);
    border-top: 3px solid #d4af37;
    border-bottom: 3px solid #d4af37;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(212, 175, 55, 0.3),
        inset 0 -1px 0 rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            rgba(212, 175, 55, 0.1) 1px,
            transparent 2px,
            transparent 20px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            rgba(212, 175, 55, 0.05) 1px,
            transparent 2px,
            transparent 20px
        );
    pointer-events: none;
}

.navigation::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ffd700 20%, 
        #d4af37 50%, 
        #ffd700 80%, 
        transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-ornament-left,
.nav-ornament-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
}

.nav-ornament-left {
    left: 20px;
}

.nav-ornament-right {
    right: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50px;
    padding: 10px;
    border: 2px solid #d4af37;
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.4),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.nav-item {
    position: relative;
}

.nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, transparent, #d4af37, transparent);
}

.nav-item a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 25px;
    border-radius: 25px;
    transition: all 0.4s ease;
    position: relative;
    display: block;
    text-shadow: 
        0 0 5px rgba(255, 215, 0, 0.8),
        1px 1px 2px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.nav-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(212, 175, 55, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #d4af37, #ffd700);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-item a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.3), 
        rgba(255, 215, 0, 0.2));
    transform: translateY(-3px);
    text-shadow: 
        0 0 10px #ffd700,
        0 0 20px rgba(255, 215, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 5px 15px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-item a:hover::before {
    left: 100%;
}

.nav-item a:hover::after {
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    background: linear-gradient(135deg, #8b4513, #a0522d);
    border: 2px solid #d4af37;
    color: #d4af37;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 10000;
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, #a0522d, #8b4513);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.98) 0%, 
        rgba(160, 82, 45, 0.98) 25%, 
        rgba(139, 69, 19, 0.98) 50%, 
        rgba(101, 67, 33, 0.98) 75%, 
        rgba(139, 69, 19, 0.98) 100%);
    z-index: 9999;
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    overflow-y: auto;
    overflow: hidden;
}

.mobile-menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            rgba(212, 175, 55, 0.1) 1px,
            transparent 2px,
            transparent 20px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            rgba(212, 175, 55, 0.05) 1px,
            transparent 2px,
            transparent 20px
        );
    pointer-events: none;
}

.mobile-menu-overlay.active {
    display: flex !important;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #8b4513, #a0522d);
    border: 2px solid #d4af37;
    color: #d4af37;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.mobile-menu-close:hover {
    background: linear-gradient(135deg, #a0522d, #8b4513);
    transform: translateY(-3px) rotate(90deg);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.6);
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    z-index: 10000;
    position: relative;
    width: 100%;
    max-width: 300px;
    margin-top: 60px;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-menu-item {
    position: relative;
    width: 100%;
}

.mobile-menu-item a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 15px 25px;
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    display: block;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.5);
    text-align: center;
    width: 100%;
}

.mobile-menu-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(212, 175, 55, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.mobile-menu-item a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.4), 
        rgba(255, 215, 0, 0.3));
    transform: none;
    text-shadow: 
        0 0 15px #ffd700,
        0 0 30px rgba(255, 215, 0, 0.8),
        3px 3px 6px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 5px 15px rgba(212, 175, 55, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    border-color: #d4af37;
}

.mobile-menu-item a:hover::before {
    left: 100%;
}

.hero-section {
    position: relative;
    padding: 120px 0 180px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    flex: 1;
    text-align: left;
    max-width: 900px;
    min-width: 700px;
}

.hero-sidebar {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-self: flex-start;
    margin-top: 40px;
}

.hero-player-count {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-count-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffd700;
    display: block;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hero-count-label {
    font-size: 0.9rem;
    color: #daa520;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.hero-ip-copy {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-ip-copy:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
}

.hero-ip-label {
    color: #daa520;
    margin-bottom: 5px;
    font-size: 0.85rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.hero-ip-address {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffd700;
    font-family: 'Courier New', monospace;
    margin-bottom: 5px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.hero-ip-hint {
    color: #b8860b;
    font-size: 0.75rem;
    margin-top: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.8),
        0 0 20px rgba(212, 175, 55, 0.5);
}

.hero-description {
    font-size: 1.4rem;
    margin-bottom: 35px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    color: #f0f0f0;
    line-height: 1.7;
}

.hero-buttons {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    z-index: 3;
    width: auto;
}

.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(45deg, #8b4513, #a0522d);
    color: #d4af37;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #d4af37;
    transition: all 0.3s ease;
    text-shadow: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, #a0522d, #8b4513);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 32px;
    background: transparent;
    color: #d4af37;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #d4af37;
    transition: all 0.3s ease;
    text-shadow: none;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.content-section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #ffd700;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '⚔️';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.section-title::before {
    left: -50px;
}

.section-title::after {
    right: -50px;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid #d4af37;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 120px 1fr 200px;
    gap: 30px;
    align-items: center;
    min-height: 150px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.feature-icon {
    font-size: 4rem;
    text-align: center;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffd700;
}

.feature-description {
    font-size: 1.1rem;
    color: #daa520;
    line-height: 1.6;
}

.feature-stats {
    text-align: center;
    padding: 20px;
    background: rgba(139, 69, 19, 0.3);
    border-radius: 10px;
    border: 1px solid #8b4513;
}

.feature-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    display: block;
}

.feature-stat-label {
    font-size: 0.9rem;
    color: #daa520;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.step-card {
    background: rgba(139, 69, 19, 0.3);
    border: 2px solid #8b4513;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4af37;
    color: #1a0f0a;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 10px 0 10px;
    color: #ffd700;
}

.step-description {
    color: #daa520;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.step-action-btn {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    color: #1a0f0a;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.step-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, #ffd700, #d4af37);
}

.server-ip-box {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #d4af37;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-ip-box:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.02);
}

.server-ip {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffd700;
    font-family: 'Courier New', monospace;
}

.discord-banner {
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.9) 0%, 
        rgba(160, 82, 45, 0.9) 25%, 
        rgba(139, 69, 19, 0.9) 50%, 
        rgba(101, 67, 33, 0.9) 75%, 
        rgba(139, 69, 19, 0.9) 100%);
    padding: 60px 0;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #d4af37;
    border-bottom: 3px solid #d4af37;
}

.discord-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent 0px,
            rgba(212, 175, 55, 0.1) 1px,
            transparent 2px,
            transparent 30px
        );
    pointer-events: none;
}

.discord-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.discord-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    color: #d4af37;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.discord-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.discord-description {
    font-size: 1.2rem;
    color: #daa520;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.discord-btn {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    color: #1a0f0a;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid #8b4513;
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, #ffd700, #d4af37);
}

.rules-section {
    margin: 80px 0;
}

.rules-container {
    max-width: 900px;
    margin: 0 auto;
}

.rules-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    gap: 0;
}

.rules-tab {
    padding: 15px 30px;
    background: rgba(139, 69, 19, 0.3);
    border: 2px solid #8b4513;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    color: #daa520;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
}

.rules-tab:first-child {
    border-right: 1px solid #8b4513;
}

.rules-tab.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    border-bottom: 2px solid rgba(212, 175, 55, 0.1);
    color: #ffd700;
    transform: translateY(0);
    z-index: 10;
}

.rules-tab:hover:not(.active) {
    background: rgba(212, 175, 55, 0.05);
    color: #ffd700;
}

.rules-content {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid #d4af37;
    border-radius: 0 0 15px 15px;
    border-top-right-radius: 15px;
    padding: 40px;
    margin-top: 0;
}

.rules-panel {
    display: none;
}

.rules-panel.active {
    display: block;
}

.rule-item {
    border-left: 4px solid #d4af37;
    padding-left: 25px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.rule-item:last-child {
    border-bottom: none;
}

.rule-title {
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.rule-description {
    color: #daa520;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.rule-punishment {
    background: rgba(139, 69, 19, 0.4);
    border: 1px solid #8b4513;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.punishment-label {
    color: #ff6b6b;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.punishment-text {
    color: #ffcccb;
    font-size: 0.95rem;
}

.footer {
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.9) 0%, 
        rgba(160, 82, 45, 0.9) 25%, 
        rgba(139, 69, 19, 0.9) 50%, 
        rgba(101, 67, 33, 0.9) 75%, 
        rgba(139, 69, 19, 0.9) 100%);
    border-top: 3px solid #d4af37;
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            rgba(212, 175, 55, 0.1) 1px,
            transparent 2px,
            transparent 20px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            rgba(212, 175, 55, 0.05) 1px,
            transparent 2px,
            transparent 20px
        );
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ffd700 20%, 
        #d4af37 50%, 
        #ffd700 80%, 
        transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #daa520;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 2;
}

.footer-ornament {
    margin: 0 auto 20px;
}

@media (max-width: 1024px) {
    .hero-main {
        gap: 60px;
        max-width: 1400px;
    }
    
    .hero-text {
        min-width: 500px;
    }
}

@media (max-width: 768px) {
    .nav-ornament-left,
    .nav-ornament-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .server-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 60px 0 120px 0;
        min-height: auto;
    }

    .hero-main {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-text {
        text-align: center;
        min-width: auto;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-sidebar {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 30px;
        flex-direction: column;
        gap: 15px;
    }

    .section-title::before,
    .section-title::after {
        display: none;
    }

    .feature-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rules-tabs {
        flex-direction: column;
        align-items: center;
    }

    .rules-tab {
        border-radius: 10px;
        border: 2px solid #8b4513;
        margin-bottom: 5px;
    }

    .rules-tab:first-child {
        border-right: 2px solid #8b4513;
    }

    .rules-content {
        border-radius: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mobile-menu-items {
        gap: 10px;
        margin-top: 80px;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .mobile-menu-item a {
        font-size: 1.1rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .server-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .mobile-menu-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .mobile-menu-items {
        margin-top: 70px;
        gap: 8px;
    }

    .mobile-menu-item a {
        font-size: 1rem;
        padding: 10px 15px;
    }
}

@media (max-height: 600px) {
    .mobile-menu-items {
        margin-top: 60px;
        gap: 8px;
        max-height: calc(100vh - 80px);
    }

    .mobile-menu-item a {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}