/* --- VARIABLES & RESET --- */
:root {
    --color-bg-dark: #050a14;
    --color-bg-panel: #0f1c33;
    --color-bg-accent: #1a2b4d;
    --color-primary: #d4af37; /* Gold */
    --color-primary-light: #fceda8;
    --color-text: #e6e6e6;
    --color-text-muted: #a0aab5;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    --glow: 0 0 15px rgba(212, 175, 55, 0.3);
    --border-radius: 8px;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: var(--border-radius); }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 1rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #b8860b);
    color: #000;
    box-shadow: var(--glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #ffd700, #daa520);
}

.btn-secondary {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #fff;
}

.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.section-subtitle {
    color: var(--color-text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}
header.scrolled {
    background: rgba(5, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px var(--color-primary);
}
.nav-menu { display: flex; gap: 25px; align-items: center; }
.nav-link {
    font-size: 0.95rem;
    color: var(--color-text);
    position: relative;
    padding: 5px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--color-primary); }

.hamburger { display: none; cursor: pointer; color: #fff; font-size: 1.5rem; }

/* --- HERO --- */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at bottom, #1a2b4d 0%, #050a14 100%);
    overflow: hidden;
    text-align: center;
    padding-top: 80px;
}

/* Page Header (for subpages) */
.page-header {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at bottom, #1a2b4d 0%, #050a14 100%);
    overflow: hidden;
    text-align: center;
    padding-top: 80px;
}
.page-header h1 {
    font-size: 3rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    z-index: 2;
}

/* Stars Animation */
.stars {
    position: absolute;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 100px 200px #fff, 300px 100px #fff, 500px 300px #fff, 700px 100px #fff, 900px 400px #fff, 100px 500px #fff;
    animation: animStar 50s linear infinite;
}
.stars::after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 100px 200px #fff, 300px 100px #fff, 500px 300px #fff, 700px 100px #fff, 900px 400px #fff, 100px 500px #fff;
}
@keyframes animStar { from { transform: translateY(0px); } to { transform: translateY(-2000px); } }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}
.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #d0d0d0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.8s;
}
.hero-btns {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 1.1s;
}
.hero-btns .btn { margin: 0 10px; margin-bottom: 10px; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* --- SERVER INFO --- */
.server-info-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.server-card {
    background: rgba(15, 28, 51, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    flex-wrap: wrap;
    gap: 20px;
}
.server-details h3 { margin-bottom: 5px; color: var(--color-primary); }
.server-details p { color: #aaa; font-size: 0.9rem; }
.ip-box {
    background: rgba(0,0,0,0.3);
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}
.ip-box:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}
.ip-text {
    font-family: monospace;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 1px;
}
.status-badge {
    font-size: 0.8rem;
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

/* --- CARDS & GRID --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--color-bg-panel);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: rgba(212, 175, 55, 0.2);
}
.card-img {
    height: 200px;
    background-color: #000;
    background-size: cover;
    background-position: center;
    position: relative;
}
.card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-panel), transparent);
}
.card-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.4rem; color: #fff; }
.card-desc { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.card-link {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --- COMPONENTS --- */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.attraction-item {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 8px;
    transition: 0.3s;
}
.attraction-item:hover { background: rgba(255,255,255,0.06); }
.attraction-icon {
    width: 50px;
    height: 50px;
    background: var(--color-bg-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--color-primary);
    font-size: 1.5rem;
}
.attraction-info h4 { margin: 0; font-size: 1.1rem; }
.attraction-info span { font-size: 0.85rem; color: #888; }

.event-date {
    background: var(--color-primary);
    color: #000;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

/* Pricing */
.pricing-card {
    background: var(--color-bg-panel);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card.featured {
    border: 2px solid var(--color-primary);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.1) 0%, var(--color-bg-panel) 100%);
}
.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-primary);
    color: #000;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
}
.price { font-size: 2.5rem; color: #fff; margin: 20px 0; font-family: var(--font-heading); }
.price span { font-size: 1rem; color: #888; }
.features-list { text-align: left; margin: 30px 0; flex-grow: 1; }
.features-list li {
    margin-bottom: 12px;
    color: #ccc;
    display: flex;
    align-items: center;
}
.features-list li::before {
    content: '★';
    color: var(--color-primary);
    margin-right: 10px;
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.staff-card {
    background: var(--color-bg-panel);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}
.staff-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #000;
    margin: 0 auto 15px;
    border: 2px solid var(--color-primary);
    overflow: hidden;
}
.staff-role {
    color: var(--color-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text);
}
.form-control {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    color: #fff;
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Join Steps */
.steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}
.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}
.step-num {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* --- FOOTER --- */
footer {
    background: #02050b;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #888; }
.footer-col ul li a:hover { color: var(--color-primary); }
.legal {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
    color: #555;
    font-size: 0.85rem;
}

/* --- UTILS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    max-width: 600px;
}

#toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #000;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 3000;
}
#toast.show { opacity: 1; bottom: 50px; }

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 1000;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}
#back-to-top.show { opacity: 1; pointer-events: all; }

@media(max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 70%;
        height: 100vh;
        background: #0f1c33;
        flex-direction: column;
        padding: 100px 30px;
        transition: 0.4s;
        z-index: 999;
    }
    .nav-menu.active { right: 0; }
    .hamburger { display: block; z-index: 1001; }
    .hero h1, .page-header h1 { font-size: 2.2rem; }
    .server-card { flex-direction: column; text-align: center; }
}