/* ============================================================
   No BS SMP - style.css
   Shared theme + page styles for index.html / privacy.html
   ============================================================ */

/* ---------- Base / Theme ---------- */

:root {
    --accent: #ff2d2d;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #1c1c1c;
    color: #e0e0e0;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: #ff5c5c;
    border-bottom: 1px solid var(--accent);
}

section, #features, #apply {
    scroll-margin-top: 80px;
}

footer {
    background-color: #1c1c1c;
    border-top: 1px solid #2a2a2a;
}

.age-indicator:hover {
    text-shadow: 0 0 8px rgba(255,45,45,0.5);
}

/* ---------- Top Navigation ---------- */

.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #2a2a2a;
    padding: 0.75rem 0;
}

.top-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.top-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.top-nav a:hover {
    color: #fff;
}

.top-nav a:hover::after {
    width: 100%;
}

/* ---------- Hero ---------- */

.hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #1c1c1c;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size:
        64px 64px,
        64px 64px,
        16px 16px,
        16px 16px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,45,45,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255,45,45,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.hero-logo {
    width: clamp(140px, 20vw, 280px);
    flex-shrink: 0;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
}

.hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #ccc;
    margin-bottom: 0.5rem;
}

.hero .tagline {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    color: #888;
    margin-bottom: 2rem;
}

@media (max-width: 767.98px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        text-align: center;
    }
    .hero-text .d-flex {
        justify-content: center;
    }
    .hero-logo {
        width: clamp(120px, 40vw, 180px);
    }
}

#particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #555;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.2s;
}

.scroll-arrow:hover {
    color: var(--accent);
}

.scroll-arrow svg {
    width: 28px;
    height: 28px;
}

/* ---------- Buttons ---------- */

.btn-accent {
    background-color: var(--accent);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-accent:hover {
    background-color: #e02525;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 45, 45, 0.25);
}

.btn-accent:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    background: transparent;
    transition: background-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-outline-accent:hover {
    background-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 45, 45, 0.2);
}

.btn-outline-accent:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ---------- Cards ---------- */

.card {
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    transition: transform 0.2s, border-color 0.3s, box-shadow 0.3s, opacity 0.6s, translate 0.6s;
    opacity: 0;
    translate: 0 20px;
}

.card.visible {
    opacity: 1;
    translate: 0 0;
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 45, 45, 0.35);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 45, 45, 0.1);
}

.card-title {
    color: var(--accent);
    font-weight: 600;
}

/* Application card glow */
.application-card {
    border: 1px solid rgba(255, 45, 45, 0.15);
    position: relative;
}

.application-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 0 rgba(255, 45, 45, 0);
    transition: box-shadow 0.3s ease;
}

.application-card:hover::after {
    box-shadow: 0 0 20px rgba(255, 45, 45, 0.25);
}

.form-success {
    display: none;
    color: #4caf50;
    font-weight: 600;
    margin-top: 1rem;
}

.form-success.show {
    display: block;
}

.form-error {
    display: none;
    color: #f44336;
    font-weight: 600;
    margin-top: 1rem;
}

.form-error.show {
    display: block;
}

/* Honeypot field: rendered but kept off-screen so real users never see it */
.honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ---------- Lists ---------- */

.status-list,
.rules-list {
    padding-left: 1rem; /* Indent bullets slightly */
}

.status-list li,
.rules-list li {
    margin-bottom: 0.25rem; /* Small gap between items */
}

/* About card PvP highlights */
#about-content strong.pvp-highlight,
#about-content i.pvp-highlight {
    color: var(--accent);       /* red accent from your theme */
    font-weight: 600;           /* bold it slightly more */
}

#about-content .pvp-highlight::after {
    content: " ⚔️";             /* small sword icon to hint PvP */
    margin-left: 0.25rem;
}

/* ---------- Gallery ---------- */

.gallery-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.5rem;
    background-color: #333;
    transition: transform 0.25s, filter 0.25s;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.03);
    filter: brightness(1.15);
}

.modal-backdrop.show {
    opacity: 0.92;
}

/* ---------- Server Status ---------- */

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-online { background-color: #4caf50; }
.status-offline { background-color: #f44336; }

/* ---------- Copy Toast ---------- */

#copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(1rem);
    background-color: var(--accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

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