/* Global Reset & Base Styles */
:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary-gradient: linear-gradient(135deg, #ff0f7b 0%, #f89b29 100%);
    --secondary-gradient: linear-gradient(45deg, #7928ca, #ff0080);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-red: #ff3e3e;
    --accent-pink: #ff0f7b;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Animation */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-glow::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle at center, rgba(255, 15, 123, 0.15) 0%, transparent 60%);
    filter: blur(80px);
    animation: glowMove 15s infinite alternate;
}

.bg-glow::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle at center, rgba(121, 40, 202, 0.15) 0%, transparent 60%);
    filter: blur(80px);
    animation: glowMoveReverse 20s infinite alternate;
}

@keyframes glowMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20%, 20%);
    }
}

@keyframes glowMoveReverse {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-20%, -20%);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 15, 123, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 15, 123, 0.6);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 60px 0;
}

/* Logo removed as requested */
.hero-logo-large {
    display: none;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

/* Server Status Card */
.server-status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #2b2d31;
    border-radius: 12px;
    padding: 24px 28px;
    width: 100%;
    max-width: 520px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeIn 0.5s ease-out;
}

.server-status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.server-status-card img {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    flex-shrink: 0;
}

.server-info {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    /* More gap */
}

.server-info h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0;
    line-height: 1.1;
    font-weight: 700;
}

.server-counts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    /* Space between Online group and Members group */
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.count-group {
    display: flex;
    align-items: center;
    gap: 6px;
    /* Gap between dot and text */
}

/* Specific dot adjustment to align with text middle */
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 1px;
    /* Optical correction */
}

.status-dot.online {
    background-color: #23a559;
}

.status-dot.offline {
    background-color: #80848e;
}

.btn-join {
    background: #23a559;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 1rem;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-join:hover {
    background: #1a7f44;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards & Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 15, 123, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 15, 123, 0.2), rgba(248, 155, 41, 0.2));
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-pink);
    font-size: 1.2rem;
}

/* Verification Section */
.verification-section {
    padding: 80px 0;
    text-align: center;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 0.9rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.copy-box {
    background: #0f0f11;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 500px;
    margin: 16px auto;
    transition: border-color 0.2s;
}

.copy-box:hover {
    border-color: var(--text-secondary);
}

.copy-text {
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: var(--accent-pink);
}

/* Founders */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.founder-card {
    background: #111;
    border-radius: 16px;
    overflow: visible;
    position: relative;
    border: 1px solid var(--card-border);
    transition: transform 0.2s;
    z-index: 1;
}

.founder-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 15, 123, 0.3);
    z-index: 10;
}

.founder-content {
    padding: 32px 24px 24px;
    /* Increased top padding since no banner */
    position: relative;
    background: #111;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    /* align-items: center;  User didn't say center, looking at profile style they usually favor left or center. Discord profiles are centered in these lists mostly. */
}

.avatar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    /* No negative margin */
}

.founder-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #222;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.avatar-decoration {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 96px;
    /* 80 + 16 */
    height: 96px;
    pointer-events: none;
    z-index: 2;
}

.founder-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.founder-id {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .server-status-card {
        margin: 0 16px 40px;
        width: auto;
        max-width: none;
    }
}