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

:root {
    --minecraft-green: #4CAF50;
    --minecraft-dark: #0f172a;
    --minecraft-light: #1e293b;
    --minecraft-blue: #2196F3;
    --minecraft-purple: #7B1FA2;
    --minecraft-orange: #FF9800;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --border-color: rgba(59, 130, 246, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #0369a1 70%, #1e40af 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
    z-index: -2;
}

/* Fonts */
.pixelated {
    font-family: 'VT323', monospace;
    letter-spacing: 2px;
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

/* Particle Container */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-up 10s linear infinite;
}

@keyframes float-up {
    from {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    to {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.cube {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    border: 1px solid #60a5fa;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    animation: float 6s ease-in-out infinite;
}

.cube:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cube:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.cube:nth-child(3) {
    top: 80%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: #f1f5f9;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

.nav-brand span {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #3b82f6;
}

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

.cta-button {
    background: linear-gradient(135deg, var(--minecraft-green), #388E3C);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    background: linear-gradient(135deg, #388E3C, #2E7D32);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header span {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-links {
    padding: 2rem 0;
}

.mobile-menu-links a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-links a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0369a1 100%);
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.hero-badge.pulse i {
    animation: pulse 2s ease-in-out infinite;
    color: #4CAF50;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #f1f5f9;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #00ff00;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #ff00ff;
    z-index: -2;
}

@keyframes glitch-1 {

    0%,
    100% {
        clip: rect(0, 900px, 0, 0);
    }

    20% {
        clip: rect(20px, 900px, 40px, 0);
    }

    40% {
        clip: rect(40px, 900px, 60px, 0);
    }

    60% {
        clip: rect(60px, 900px, 80px, 0);
    }

    80% {
        clip: rect(80px, 900px, 100px, 0);
    }
}

@keyframes glitch-2 {

    0%,
    100% {
        clip: rect(0, 900px, 0, 0);
    }

    20% {
        clip: rect(100px, 900px, 80px, 0);
    }

    40% {
        clip: rect(80px, 900px, 60px, 0);
    }

    60% {
        clip: rect(60px, 900px, 40px, 0);
    }

    80% {
        clip: rect(40px, 900px, 20px, 0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: #cbd5e1;
}

.server-info {
    margin: 3rem 0;
}

.server-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.live-stats {
    margin-bottom: 2rem;
}

.players-online {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.player-count {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--minecraft-green);
    font-family: 'VT323', monospace;
}

.player-label {
    color: var(--text-secondary);
}

.server-ip {
    margin-bottom: 2rem;
}

.ip-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.5rem;
}

.ip-address {
    font-size: 2rem;
    font-weight: 600;
    font-family: 'VT323', monospace;
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid rgba(76, 175, 80, 0.3);
    padding: 8px 16px;
    border-radius: 4px;
    color: #4CAF50;
    letter-spacing: 2px;
}

.copy-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    color: white;
    padding: 10px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.copy-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat i {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #3b82f6;
    font-family: 'Bebas Neue', cursive;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    color: #94a3b8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Minecraft Button Style */
.minecraft-btn {
    position: relative;
    padding: 1rem 2rem;
    background: #6B6B6B;
    border: 2px solid #373737;
    color: white;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.1s ease;
    box-shadow:
        inset -2px -4px 0 0 #373737,
        inset 2px 2px 0 0 #FFFFFF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.minecraft-btn:hover {
    background: #7B7B7B;
    transform: translateY(-2px);
}

.minecraft-btn:active {
    transform: translateY(0);
    box-shadow:
        inset -1px -2px 0 0 #373737,
        inset 1px 1px 0 0 #FFFFFF;
}

.btn-primary.minecraft-btn {
    background: var(--minecraft-green);
    border-color: #2E7D32;
    box-shadow:
        inset -2px -4px 0 0 #2E7D32,
        inset 2px 2px 0 0 #81C784;
}

.btn-primary.minecraft-btn:hover {
    background: #66BB6A;
}

.btn-secondary.minecraft-btn {
    background: #546E7A;
    border-color: #37474F;
    box-shadow:
        inset -2px -4px 0 0 #37474F,
        inset 2px 2px 0 0 #78909C;
}

.btn-secondary.minecraft-btn:hover {
    background: #607D8B;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #f1f5f9;
    position: relative;
    z-index: 1;
    font-family: 'Bebas Neue', cursive;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(30, 64, 175, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.minecraft-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--minecraft-green), #388E3C);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow:
        inset -2px -4px 0 0 #2E7D32,
        inset 2px 2px 0 0 #81C784;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #f1f5f9;
    position: relative;
    z-index: 1;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

.feature-card p {
    color: #cbd5e1;
    position: relative;
    z-index: 1;
}

/* Showcase Section */
.showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 3rem;
}

.showcase-container {
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot-slider {
    position: relative;
}

.screenshot-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
    color: white;
    padding: 2rem;
}

.screenshot-info h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Swiper Customization */
.swiper-button-prev,
.swiper-button-next {
    color: var(--minecraft-green);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 4px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet-active {
    background: var(--minecraft-green);
}

/* Rules Section */
.rules-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.rule-card {
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.rule-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(59, 130, 246, 0.2);
    font-family: 'Bebas Neue', cursive;
    line-height: 1;
    margin-bottom: 1rem;
}

.rule-card h3 {
    color: var(--minecraft-green);
    margin-bottom: 0.5rem;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

/* Voting Section */
.voting-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.voting-sites {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.vote-card {
    display: block;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.vote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.vote-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #FFD700, #FFA000);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 2rem;
    color: white;
    box-shadow:
        inset -2px -4px 0 0 #F57C00,
        inset 2px 2px 0 0 #FFE082;
}

.vote-card h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
}

.vote-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.vote-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--minecraft-green);
    color: white;
    border-radius: 4px;
    font-family: 'VT323', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Community Section */
.community {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.community-info {
    color: #e2e8f0;
}

.community-info h3 {
    color: #f1f5f9;
    margin-bottom: 1rem;
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
}

.community-info ul {
    list-style: none;
    margin-top: 1rem;
}

.community-info li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.community-info i {
    color: var(--minecraft-green);
}

.discord-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.discord-stat {
    text-align: center;
}

.discord-stat i {
    color: #5865f2;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.discord-stat .count {
    font-size: 2rem;
    font-weight: 700;
    color: #5865f2;
    font-family: 'VT323', monospace;
    display: block;
}

.discord-stat span:last-child {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.discord-widget {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    border-radius: 8px;
    padding: 2rem;
    color: white;
    text-align: center;
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    position: relative;
}

.widget-header i {
    font-size: 1.5rem;
}

.discord-status {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.discord-preview {
    margin: 1rem 0;
    border-radius: 4px;
    overflow: hidden;
}

.discord-preview img {
    width: 100%;
    height: auto;
}

.discord-invite-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    margin: 1rem 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.discord-invite-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#discordWidgetStats {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Loading animation for Discord stats */
#discordWidgetStats:contains("Loading") {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #e2e8f0;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--minecraft-green);
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--minecraft-green);
    color: white;
    transform: translateY(-2px);
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--minecraft-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    color: #94a3b8;
}

.footer-bottom i {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--minecraft-green);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow:
        inset -2px -4px 0 0 #2E7D32,
        inset 2px 2px 0 0 #81C784;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title,
    .glitch {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .server-ip {
        flex-direction: column;
        gap: 0.5rem;
    }

    .ip-container {
        flex-direction: column;
    }

    .server-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .community-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .voting-sites {
        grid-template-columns: 1fr;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 10px 60px;
    }

    .hero-title,
    .glitch {
        font-size: 2rem;
    }

    .server-card {
        padding: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .player-count {
        font-size: 2rem;
    }

    .ip-address {
        font-size: 1.5rem;
    }
}

/* Additional modern effects */
@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(76, 175, 80, 0.5);
    }
}

.minecraft-icon {
    animation: glow 3s ease-in-out infinite;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--minecraft-green), #388E3C);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #388E3C, #2E7D32);
}

/* Placeholder Styles */
.screenshot-placeholder {
    width: 100% !important;
    max-width: 800px;
    height: auto !important;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.screenshot-placeholder:hover {
    transform: scale(1.02);
}

.discord-placeholder {
    width: 100% !important;
    max-width: 300px;
    height: auto !important;
    aspect-ratio: 3/2;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.discord-placeholder {
    font-size: 14px !important;
}

.discord-placeholder i {
    font-size: 28px !important;
}

/* Responsive adjustments for placeholders */
@media (max-width: 768px) {
    .screenshot-placeholder {
        font-size: 18px !important;
    }

    .screenshot-placeholder i {
        font-size: 36px !important;
    }

    .discord-placeholder {
        font-size: 14px !important;
    }

    .discord-placeholder i {
        font-size: 28px !important;
    }
}