:root {
    --primary-color: #8b5cf6;
    --primary-hover: #7c3aed;
    --secondary-color: #a855f7;
    --background-dark: #0f0f23;
    --background-light: #1a1a2e;
    --card-background: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #c4b5fd;
    --accent-color: #d946ef;
    --danger-color: #ef4444;
    --border-radius: 8px;
    --shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Play', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-light) 50%, #0e1628 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-color)20, var(--accent-color)40, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.8; }
}

.logo-section {
    margin-bottom: 40px;
}

.server-name {
    font-family: 'Exo 2', 'Arial Black', sans-serif;
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.tagline {
    font-family: 'Play', sans-serif;
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: 0.02em;
}

/* Discord Button */
.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-family: 'Play', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

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

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.discord-icon {
    width: 24px;
    height: 24px;
}

/* Content */
.content {
    flex: 1;
    padding-bottom: 60px;
}

.content section {
    margin-bottom: 60px;
}

.content h2 {
    font-family: 'Exo 2', 'Arial Black', sans-serif;
    font-size: 2rem;
    margin-bottom: 32px;
    text-align: center;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Tools Section */
.tool-card {
    background: var(--card-background);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.tool-card h3 {
    font-family: 'Exo 2', 'Arial Black', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex: 1;
}



/* Servers Section */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.server-card {
    background: var(--card-background);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.server-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.server-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.server-card h3 {
    font-family: 'Exo 2', 'Arial Black', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.server-card p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    flex: 1;
}

.password {
    color: var(--secondary-color);
    font-weight: 600;
    font-family: 'Courier New', monospace;
    background: rgba(168, 85, 247, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
}

.server-link, .copy-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    margin-top: auto;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Play', sans-serif;
    letter-spacing: 0.02em;
}

.copy-btn {
    background: var(--secondary-color);
}

.server-link:hover, .copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.copy-btn:hover {
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--secondary-color);
    color: white;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .server-card, .tool-card {
        padding: 24px;
    }
    
    .discord-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .content h2 {
        font-size: 1.5rem;
    }
    
    .tool-card h3, .server-card h3 {
        font-size: 1.25rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero::before {
        animation: none;
    }
}