/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a0e27;
    --secondary-color: #1a1f3a;
    --accent-color: #00f3ff;
    --accent-glow: #00f3ff;
    --accent-secondary: #bd00ff;
    --text-color: #ffffff;
    --text-muted: #a0aec0;
    --card-bg: rgba(26, 31, 58, 0.6);
    --card-border: rgba(0, 243, 255, 0.2);
}

body {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f1528 50%, var(--secondary-color) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

::selection {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    z-index: 10;
    position: relative;
}

.logo-container {
    margin-bottom: 3rem;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(0, 243, 255, 0.5);
    letter-spacing: 0.1em;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(0, 243, 255, 0.5));
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 40px rgba(0, 243, 255, 0.8));
    }
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: -1rem;
}

/* Server IP Box */
.server-ip-container {
    margin: 3rem auto;
    max-width: 500px;
}

.ip-label {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ip-box {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 243, 255, 0.1);
    transition: all 0.3s ease;
}

.ip-box:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 32px rgba(0, 243, 255, 0.3);
    transform: translateY(-2px);
}

.ip-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    flex: 1;
    user-select: all;
}

.copy-btn {
    background: var(--accent-color);
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    color: var(--primary-color);
}

.copy-btn:hover {
    background: var(--accent-secondary);
    transform: scale(1.1);
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-feedback {
    display: block;
    margin-top: 0.5rem;
    color: var(--accent-color);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-feedback.show {
    opacity: 1;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Hero Actions (Discord Button) */
.hero-actions {
    margin-top: 3rem;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #5865F2, #7289da);
    color: var(--text-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.5);
    border-color: #5865F2;
}

.discord-btn svg {
    width: 24px;
    height: 24px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--accent-color);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

/* Game Modes Overview */
.gamemodes-overview {
    padding: 100px 20px 60px;
    position: relative;
}

.gamemode-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.nav-btn {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    color: var(--text-color);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover {
    border-color: var(--accent-color);
    background: rgba(0, 243, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.3);
}

.nav-btn-active {
    border-color: #00ff00;
    background: rgba(0, 255, 0, 0.05);
}

.live-badge {
    background: #00ff00;
    color: #000;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.live-badge-large {
    display: inline-block;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: pulse-live 1.5s infinite;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

/* Individual Gamemode Sections */
.gamemode-section {
    padding: 80px 20px;
    position: relative;
    border-top: 1px solid var(--card-border);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.gamemode-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    z-index: 0;
    background-size: 100px 100px;
    background-image: 
        linear-gradient(var(--card-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--card-border) 1px, transparent 1px);
}

.gamemode-section.smp {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.05), transparent);
    border-top: 2px solid rgba(0, 255, 0, 0.2);
}

.gamemode-section.factions {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05), transparent);
}

.gamemode-section.dungeons {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05), transparent);
}

.gamemode-section.skyblock {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.05), transparent);
}

.gamemode-section.civilization {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), transparent);
}

.gamemode-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.mode-icon {
    font-size: 6rem;
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.5));
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.mode-title-group {
    flex: 1;
}

.mode-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-color), var(--text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.wip-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.mode-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.mode-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mode-description p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.mode-features h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: var(--text-muted);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    color: var(--text-color);
    padding-left: 1rem;
    border-color: var(--accent-color);
}

.feature-list .bullet {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* More Coming Section */
.more-coming {
    padding: 100px 20px;
    text-align: center;
    background: rgba(189, 0, 255, 0.03);
}

.coming-content {
    max-width: 800px;
    margin: 0 auto;
}

.coming-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: rotate-icon 4s linear infinite;
}

@keyframes rotate-icon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.coming-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.coming-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.coming-hints {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.hint {
    width: 80px;
    height: 80px;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-secondary);
    backdrop-filter: blur(10px);
    animation: hint-pulse 2s ease-in-out infinite;
}

.hint:nth-child(2) {
    animation-delay: 0.3s;
}

.hint:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes hint-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Community Poll Section */
.poll-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.03), rgba(189, 0, 255, 0.03));
}

.poll-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
    font-style: italic;
}

.poll-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.poll-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.poll-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2);
}

.poll-card.voted {
    border-color: var(--accent-color);
    background: rgba(0, 243, 255, 0.05);
}

.poll-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
}

.poll-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.vote-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.vote-count {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.vote-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.vote-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.vote-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 243, 255, 0.4);
}

.vote-btn:active {
    transform: scale(0.98);
}

.vote-btn.voted {
    background: linear-gradient(135deg, #00ff00, #00cc00);
}

.vote-btn.voted::after {
    content: ' ✓';
}

.vote-bar {
    margin-top: 1rem;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.vote-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    transition: width 0.5s ease;
    border-radius: 10px;
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: rgba(10, 14, 39, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.5));
}

.feature-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: linear-gradient(180deg, transparent, var(--primary-color));
    padding: 4rem 20px 2rem;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #5865F2;
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-discord-btn:hover {
    background: #7289da;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.footer-discord-btn svg {
    width: 20px;
    height: 20px;
}

.footer-brand h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-ip .ip-text-footer {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-text {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .ip-text {
        font-size: 1.2rem;
    }

    .ip-box {
        padding: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .gamemode-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-btn {
        justify-content: center;
    }

    .gamemode-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .mode-icon {
        font-size: 4rem;
    }

    .mode-title {
        font-size: 2rem;
    }

    .mode-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        margin-top: 2rem;
    }

    .discord-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .scroll-indicator {
        font-size: 0.8rem;
    }

    .coming-hints {
        gap: 1rem;
    }

    .hint {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .poll-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .poll-card {
        padding: 1.5rem;
    }

    .vote-count {
        font-size: 2rem;
    }
}
