/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #4CAF50;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid #4CAF50;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #4CAF50;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #4CAF50;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d4a2d 50%, #1a1a1a 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #4CAF50;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(76, 175, 80, 0.3); }
    to { text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7), 0 0 30px rgba(76, 175, 80, 0.5); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #b8860b;
    font-style: italic;
}

.server-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.server-badge, .version-badge {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid #8BC34A;
}

.hero-description {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.8;
}

.guild-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #4CAF50;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.stat-item h3 {
    color: #4CAF50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.stat-item p {
    color: #e0e0e0;
    font-weight: 500;
}

/* Ranks Section */
.ranks {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.ranks-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.rank-card {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.rank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rank-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

.rank-card:hover::before {
    opacity: 1;
}

.rank-1 { border-color: #FFD700; }
.rank-2 { border-color: #C0C0C0; }
.rank-3 { border-color: #CD7F32; }
.rank-4 { border-color: #4CAF50; }
.rank-5 { border-color: #8BC34A; }

.rank-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.rank-card h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.rank-card p {
    color: #cccccc;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Join Section */
.join {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.join-text h3, .join-info h3 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.join-text ul {
    list-style: none;
    padding-left: 0;
}

.join-text li {
    color: #cccccc;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.join-text li::before {
    content: '🌿';
    position: absolute;
    left: 0;
    top: 0;
}

.join-info p {
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #4CAF50;
}

.contact-item {
    color: #e0e0e0;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.contact-item strong {
    color: #4CAF50;
}

.discord-link {
    color: #7289da;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
}

.discord-link:hover {
    color: #5865f2;
    text-shadow: 0 0 8px rgba(114, 137, 218, 0.6);
}

.discord-link::before {
    content: '🎮 ';
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid #4CAF50;
}

.footer p {
    color: #888;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content,
    .join-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .guild-stats {
        grid-template-columns: 1fr;
    }
    
    .server-info {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .ranks-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #66BB6A;
}
