/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    overflow-x: hidden;
    background: #0a0a0a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(220, 20, 60, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc143c;
}

.nav-logo i {
    margin-right: 0.5rem;
    color: #ff4444;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #f0f0f0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff4444;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #dc143c;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #f0f0f0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.minecraft-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(220, 20, 60, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(220, 20, 60, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Animated Hearts Background */
.hearts-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.heart {
    position: absolute;
    color: rgba(220, 20, 60, 0.6);
    font-size: 40px;
    animation: heartFloat 8s linear infinite;
    opacity: 0;
    filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.4));
    will-change: transform, opacity;
    --start-angle: 0deg;
    --end-angle: 0deg;
}

@keyframes heartFloat {
    0% {
        transform: translateY(100vh) rotate(var(--start-angle));
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(var(--end-angle));
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: #dc143c;
    color: white;
    border-color: #dc143c;
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.3);
}

.btn-primary:hover {
    background: #b01030;
    border-color: #b01030;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(220, 20, 60, 0.7);
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.2);
}

.btn-secondary:hover {
    background: rgba(220, 20, 60, 0.1);
    border-color: #dc143c;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.4);
    color: white;
    transform: translateY(-2px);
}

.server-status {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.status-indicator.online {
    background: rgba(74, 222, 128, 0.1);
}

.status-indicator.offline {
    background: rgba(239, 68, 68, 0.1);
}

.status-indicator.loading {
    background: rgba(251, 191, 36, 0.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.player-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}



/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #dc143c;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.3);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #1a1a1a;
    border-top: 1px solid rgba(220, 20, 60, 0.2);
    border-bottom: 1px solid rgba(220, 20, 60, 0.2);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(220, 20, 60, 0.2);
    backdrop-filter: blur(10px);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.2);
    border-color: rgba(220, 20, 60, 0.4);
}

.feature i {
    font-size: 2.5rem;
    color: #dc143c;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #f0f0f0;
}

/* Events Section */
.news {
    padding: 5rem 0;
    background: #0a0a0a;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(220, 20, 60, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
}

.soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 20, 60, 0.9);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.2);
    border-color: rgba(220, 20, 60, 0.4);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc143c;
    font-size: 3rem;
    border-bottom: 1px solid rgba(220, 20, 60, 0.3);
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.news-excerpt {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(220, 20, 60, 0.2);
    color: #dc143c;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(220, 20, 60, 0.3);
}

.view-more-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(220, 20, 60, 0.2);
    color: #dc143c;
    border: 1px solid rgba(220, 20, 60, 0.4);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.view-more-btn:hover {
    background: rgba(220, 20, 60, 0.3);
    border-color: rgba(220, 20, 60, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.2);
}

/* Event Modal Styles */
.event-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.event-modal-content {
    background: rgba(20, 20, 20, 0.95);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid #dc143c;
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.3);
    backdrop-filter: blur(10px);
}

.event-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(220, 20, 60, 0.3);
}

.event-modal-header h2 {
    color: #f0f0f0;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    color: #dc143c;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(220, 20, 60, 0.2);
    transform: scale(1.1);
}

.event-modal-body {
    padding: 1.5rem;
}

.event-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.event-icon i {
    font-size: 3rem;
    color: #dc143c;
    filter: drop-shadow(0 2px 8px rgba(220, 20, 60, 0.3));
}

.event-description {
    color: #f0f0f0;
    line-height: 1.7;
}

.event-description p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.event-description p:last-child {
    margin-bottom: 0;
}

/* Rules Section */
.rules {
    padding: 5rem 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(220, 20, 60, 0.2);
}

.rules-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.rules-card {
    text-align: left;
    padding: 2.5rem 2rem 2rem 2rem;
    background: rgba(20, 20, 20, 0.92);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.32);
    border: 2.5px solid #dc143c;
    max-width: 540px;
    margin: 0 auto;
    color: #f0f0f0;
    position: relative;
    backdrop-filter: blur(12px);
}
.rules-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}
.rules-list li {
    font-size: 1.15em;
    margin-bottom: 1.2em;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.rule-icon {
    font-size: 1.5em;
    margin-right: 0.7em;
    color: #dc143c;
    filter: drop-shadow(0 2px 8px rgba(220,20,60,0.18));
}
.rules-tagline {
    margin-top: 1.5em;
    font-size: 1.1em;
    color: #dc143c;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.rules-tagline em {
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Join Section */
.join {
    padding: 5rem 0;
    background: #1a1a1a;
    border-top: 1px solid rgba(220, 20, 60, 0.2);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(30, 30, 30, 0.85);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(220, 20, 60, 0.3);
    color: #f0f0f0;
    backdrop-filter: blur(10px);
}

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

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

.server-address code {
    background: rgba(20, 20, 20, 0.95);
    color: #fff;
    border: 1px solid #dc143c;
    border-radius: 6px;
    padding: 0.3em 0.7em;
    font-size: 1.1em;
    font-family: 'Fira Mono', 'Consolas', monospace;
    transition: border 0.2s;
}

.server-address code:focus, .server-address code:active {
    outline: none;
    border: 1.5px solid #ff4444;
}

.copy-btn {
    background: #4a7c59;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.copy-btn:hover {
    background: #3a6b4a;
}

.discord-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5865f2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.discord-link:hover {
    color: #4752c4;
}

.join-steps {
    background: rgba(30, 30, 30, 0.85);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    color: #f0f0f0;
    border: 1px solid rgba(220, 20, 60, 0.3);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.join-steps h3 {
    color: #dc143c;
}

.join-steps ol {
    margin-left: 1.2em;
}

.join-steps li {
    margin-bottom: 0.7em;
    color: #e0e0e0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: white;
    padding: 3rem 0 1rem;
    border-top: 2.5px solid #dc143c;
    position: relative;
}

.footer::before {
    content: '❤';
    position: absolute;
    top: 10px;
    right: 20px;
    color: #dc143c;
    font-size: 1.5rem;
    opacity: 0.7;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #dc143c;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #dc143c;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #ff4444;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #4a7c59;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #3a6b4a;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: none;
}

.discord-text-link {
    color: #5865F2 !important;
    font-weight: 700;
    font-size: 1.15em;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.18s;
}
.discord-text-link:hover {
    color: #7983f5 !important;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a7c59;
    color: #b8c5b8;
}

.footer-tagline {
    color: #dc143c;
    font-weight: 600;
    margin-top: 0.5em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(20, 20, 20, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(220, 20, 60, 0.2);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .server-status {
        flex-direction: column;
        align-items: center;
    }
    
    .join-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for events */
.news-card.loading {
    animation: pulse 1.5s infinite;
}

/* Success message for copy */
.copy-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4a7c59;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
} 

 

 