/* Basic reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    background: #05060a;
    color: #f5f5f5;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Utility */
.section {
    padding: 80px 16px;
}

.section-alt {
    background: radial-gradient(circle at top, #121826 0, #05060a 55%);
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.4rem;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.section-subtitle {
    max-width: 640px;
    margin-bottom: 32px;
    color: #b3b7c3;
    line-height: 1.5;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(5, 6, 10, 0.95), rgba(5, 6, 10, 0.8), transparent);
    backdrop-filter: blur(16px);
}

.navbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo span {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo .accent {
    color: #4ade80;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #e5e7eb;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
    color: #4ade80;
    border-color: #4ade80;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #f5f5f5;
    margin: 3px 0;
}

/* Hero */
.hero {
    position: relative;
    min-height: 80vh;
    padding: 120px 16px 80px;
    background-image: url("https://images.pexels.com/photos/1461728/pexels-photo-1461728.jpeg");
    /* Replace with your own background, or host one in Pages and use relative path */
    background-size: cover;
    background-position: center center;
    color: #f9fafb;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(76, 175, 80, 0.1), transparent 55%),
                linear-gradient(to bottom, rgba(5, 6, 10, 0.9), rgba(5, 6, 10, 0.9));
}

.hero-content {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    margin-bottom: 12px;
}

.hero p {
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.6;
    color: #e5e7eb;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #02120a;
}

.btn.primary:hover {
    transform: translateY(-1px);
    border-color: #bbf7d0;
}

.btn.secondary {
    background: transparent;
    color: #e5e7eb;
    border-color: #4b5563;
}

.btn.secondary:hover {
    border-color: #9ca3af;
}

.btn.small {
    padding: 7px 14px;
    font-size: 0.8rem;
}

.btn.full-width {
    width: 100%;
}

/* Hero meta info */
.hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.meta-item {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 4px;
}

.meta-value {
    font-size: 0.92rem;
}

/* Cards grid (servers & store) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.card .tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
}

.card-text {
    font-size: 0.9rem;
    color: #d1d5db;
    line-height: 1.5;
    margin-top: 4px;
}

.card-list {
    margin-top: 8px;
    list-style: none;
    font-size: 0.85rem;
    color: #e5e7eb;
}

.card-list li + li {
    margin-top: 3px;
}

.card-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Price display in store */
.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4ade80;
}

/* Store note */
.store-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Rules */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 16px;
}

.rules-column h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.rules-column ul {
    list-style: none;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.rules-column li + li {
    margin-top: 4px;
}

.rules-footer {
    margin-top: 24px;
}

/* Discord block */
.discord-block {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.discord-meta {
    max-width: 320px;
    font-size: 0.9rem;
    color: #d1d5db;
}

/* Footer */
.footer {
    border-top: 1px solid #111827;
    background: #020617;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 54px;
        right: 16px;
        background: rgba(15, 23, 42, 0.98);
        border-radius: 12px;
        border: 1px solid rgba(148, 163, 184, 0.4);
        padding: 10px 14px;
        flex-direction: column;
        gap: 10px;
        min-width: 160px;
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding-top: 110px;
    }
}
