html { background-color: #07090e; }
:root {
    --bg-color: #07090e;
    --bg-gradient: linear-gradient(135deg, #07090e 0%, #111827 100%);
    --card-bg: rgba(17, 24, 39, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #9ca3af;
    --text-title: #ffffff;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.6);
    --discord-color: #5865F2;
    --vote-color: #f59e0b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background: transparent;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
}

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

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 5vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 25px var(--accent-glow));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.subtitle-glow {
    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.server-status {
    margin-top: 3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    width: 100%;
    flex-wrap: wrap;
}

.ip-box-wrapper {
    position: relative;
}

.ip-box {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--card-border);
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    
    -webkit-
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.ip-box:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2), inset 0 0 20px rgba(59, 130, 246, 0.1);
}

.icon-accent {
    color: var(--accent);
    font-size: 1.2rem;
}

.ip-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-title);
    letter-spacing: 1px;
}

.copy-icon {
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: color 0.3s;
}

.ip-box:hover .copy-icon {
    color: var(--text-title);
}

.tooltip {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease, top 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(59,130,246,0.4);
}

.tooltip.show {
    opacity: 1;
    top: -60px;
}

.player-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-title);
    background: rgba(17, 24, 39, 0.8);
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.05);
    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.player-count-pill:hover {
    transform: translateY(-5px);
}

.status-dot {
    width: 12px;
    height: 12px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 10px #ef4444;
}

.status-dot.online {
    background-color: #22c55e;
    box-shadow: 0 0 12px #22c55e;
    animation: pulse 2s infinite;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Features Section */
.features {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-title);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-primary);
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-decoration: none;
    color: inherit;
    
    -webkit-
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

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

.card > * {
    transform: translateZ(30px);
    z-index: 2;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-title);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    transition: all 0.3s;
}

.card:hover .card-icon {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 20px var(--accent-glow);
}

.discord-card:hover .card-icon {
    background: var(--discord-color);
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.4);
}

.card h3 {
    color: var(--text-title);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-title);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.card:hover .card-link {
    gap: 1rem;
    color: var(--accent);
}

/* Footer */
footer {
    background: #030407;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1.5rem;
    filter: brightness(0.8);
}

.footer-col p {
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
}

.admin-link {
    color: #4b5563 !important;
    font-size: 0.9rem;
}

.admin-link:hover {
    color: var(--accent) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

/* Animations */
.animate-fade-in { animation: fadeIn 1s ease forwards; }
.animate-slide-up { animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-slide-up-delay { animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards; opacity: 0; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .logo { max-width: 280px; }
    .subtitle-glow { font-size: 0.9rem; letter-spacing: 2px; }
    
    .server-status {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .ip-box, .player-count-pill { 
        padding: 1rem 2rem; 
        font-size: 1.1rem;
    }
    .ip-text { font-size: 1.1rem; }
}

.background-anim {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(13,17,23,0) 0%, #07090e 80%),
                conic-gradient(from 0deg, transparent 0deg, rgba(59, 130, 246, 0.1) 90deg, transparent 180deg, rgba(59, 130, 246, 0.1) 270deg, transparent 360deg);
    
    z-index: -2;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
