/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #9b59b6;
    --primary-dark: #8e44ad;
    --primary-light: #bb6bd9;
    --secondary: #6c5ce7;
    --accent: #a29bfe;
    --dark: #0a0a15;
    --darker: #050510;
    --light: #f0f2f5;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #0a0a15 0%, #1a0a25 25%, #150a20 50%, #0a0a15 100%);
    --gradient-purple: linear-gradient(135deg, #9b59b6, #6c5ce7);
    --gradient-button: linear-gradient(135deg, #9b59b6, #8e44ad);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 5px 20px rgba(155, 89, 182, 0.3);
    --glow: 0 0 30px rgba(155, 89, 182, 0.5);
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-hero);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== PARTICLES ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link.shop-btn {
    background: var(--gradient-purple);
    box-shadow: var(--shadow-light);
}

.nav-link.shop-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--glow);
}

/* Vote Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link i {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(20, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(155, 89, 182, 0.3);
    padding: 10px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: rgba(155, 89, 182, 0.3);
    border-top: none;
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--gradient-purple);
    transform: translateX(5px);
}

.dropdown-menu a i {
    color: var(--primary-light);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(155, 89, 182, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 50%, rgba(108, 92, 231, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 100% 50%, rgba(162, 155, 254, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(155, 89, 182, 0.1) 0%, transparent 50%),
        var(--gradient-hero);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(155, 89, 182, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(108, 92, 231, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(162, 155, 254, 0.05) 0%, transparent 50%);
    animation: nebula 20s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes nebula {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
}

/* Stars Effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 250px 90px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 300px 30px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 350px 110px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 400px 60px, rgba(255,255,255,0.9), transparent);
    background-repeat: repeat;
    background-size: 400px 150px;
    animation: twinkle 8s infinite ease-in-out;
    pointer-events: none;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-logo {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.4) 0%, rgba(108, 92, 231, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Logo Ring removed requested by user */
.logo-ring {
    display: none;
}


.logo-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(155, 89, 182, 0.5)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease, filter 0.5s ease;
    animation: logoFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 5;
}

.logo-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 50px rgba(155, 89, 182, 0.8)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Hero Actions */
.hero-action {
    position: absolute;
    z-index: 10;
}

.hero-action.left {
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
}

.hero-action.right {
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
}

.action-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    color: var(--white);
}

.action-content:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--glow);
    border-color: rgba(155, 89, 182, 0.5);
}

.count-badge, .member-badge {
    background: var(--gradient-purple);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.4);
}

.online-dot {
    font-size: 8px;
    color: #43b581;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.action-text {
    display: flex;
    flex-direction: column;
}

.action-title {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
}

.action-subtitle {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 2px;
}

.play-icon, .discord-icon {
    font-size: 32px;
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

.action-content:hover .play-icon,
.action-content:hover .discord-icon {
    transform: scale(1.1);
}

.discord-icon {
    color: #5865F2;
}

.copy-tooltip {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 5px 25px rgba(46, 204, 113, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-tooltip i {
    font-size: 16px;
}

.copy-tooltip.show {
    opacity: 1;
    visibility: visible;
    bottom: -60px;
    animation: tooltipBounce 0.5s ease;
}

@keyframes tooltipBounce {
    0% { transform: translateX(-50%) scale(0.5); }
    50% { transform: translateX(-50%) scale(1.1); }
    100% { transform: translateX(-50%) scale(1); }
}

/* Copied state for button */
.action-content.copied {
    background: rgba(46, 204, 113, 0.2) !important;
    border-color: rgba(46, 204, 113, 0.5) !important;
}

/* ===== FOOTER ===== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    pointer-events: none;
}

.impressum-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    margin: 0 5px;
}

.impressum-link:hover {
    color: var(--white);
    background: rgba(155, 89, 182, 0.3);
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #110b1a;
    border: 1px solid rgba(155, 89, 182, 0.3);
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-height: 85vh;
    overflow-y: auto;
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(155, 89, 182, 0.5);
    border-radius: 4px;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-light);
    border-bottom: 2px solid rgba(155, 89, 182, 0.2);
    padding-bottom: 10px;
}

.impressum-text {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    text-align: left;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-action.left,
    .hero-action.right {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
    }

    .hero {
        flex-direction: column;
        gap: 50px;
        padding-top: 150px;
    }
}

@media (max-width: 768px) {
    .navbar {
        gap: 5px;
        padding: 8px 15px;
    }

    .nav-link {
        padding: 8px 15px;
        font-size: 12px;
    }

    .logo-img {
        max-width: 280px;
    }

    .action-content {
        padding: 15px 20px;
        gap: 12px;
    }

    .action-title {
        font-size: 15px;
    }

    .play-icon, .discord-icon {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-wrap: wrap;
        border-radius: 20px;
        gap: 8px;
    }

    .hero {
        padding-top: 180px;
        gap: 40px;
    }

    .action-content {
        flex-direction: column;
        text-align: center;
        padding: 20px 25px;
    }

    .logo-img {
        max-width: 220px;
    }

    .count-badge, .member-badge {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-purple);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== SELECTION ===== */
::selection {
    background: var(--primary);
    color: var(--white);
}
