@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Comfortaa:wght@300..700&family=Huninn&display=swap');
@import url('https://fonts.cdnfonts.com/css/kelson');


:root {
    --mainbackgroundcolor: #11111f;
    --maintextcolor: #ffffff;
    --PrimaryColor: #b01bff;
    --SecondayColor: #b01bff;
    --ButtonText: #ffffff;
    --ButtonPrimary: #b01bff;
    --buttonSecondary: rgba(7, 16, 32, 0.9);
    --MainGradient: linear-gradient(90deg, #ff00f5, #8b3dff);
    --discordColor: #7289da;
    --Shadow: 0 0 40px rgba(0,0,0,0.4);
    --CardBackground: rgba(255,255,255,0.04);
    --TagBackground: rgba(176,27,255,0.18);
    --StatColor: #ffb347;
    --IconGlow: radial-gradient(circle, rgba(176,27,255,0.7), rgba(0,200,150,0.4));

}
body {
    background-color: var(--mainbackgroundcolor);
    font-family: 'Comfortaa', sans-serif;
    color: var(--maintextcolor);
}
.Header {
    position: sticky;
    top: 0;
    background: rgba(17, 17, 31, 0.75);
    backdrop-filter: blur(5px);
    z-index: 1;
}
p {
    color: var(--maintextcolor);
    font-family: 'Kelson', sans-serif;
}

i {
    color: var(--maintextcolor);
}

/* NAV WRAPPER */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.logo img {
    height: 50px;
    width: auto;
}

/* Navigation links */
.nav-links {
    display: flex;
    gap: 20px;
}

/* Nav links styling */
.nav-links a {
    color: var(--ButtonText);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--PrimaryColor);
}

/* Hamburger button */
.menu-btn {
    display: none;
    font-size: 30px;
    color: var(--ButtonText);
    cursor: pointer;
}
.header-img {
    width: auto;       /* full width */
    height: 50px;      /* fixed height on desktop */
    object-fit: cover; /* keeps proportions without stretching */
}

/* ----- MOBILE STYLES ----- */
@media screen and (max-width: 768px) {

    /* Show hamburger */
    .menu-btn {
        display: block;
    }

    /* Hide links by default */
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        width: 200px;
        padding: 20px;
        gap: 15px;
        display: none;
    }

    /* Show menu when active */
    .nav-links.active {
        display: flex;
    }

    nav {
        justify-content: space-between;
    }
}
/* Footer */
footer {
    background-color: var(--mainbackgroundcolor);
    padding:40px 0;
}

footer .f1 {
    max-width:1200px;
    margin:auto;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:30px;
    padding:0 20px;
}

footer .f1 .f1-companyinfo {
    flex:1 1 250px;
    min-width:250px;
}

footer .f1 .f1-quicklinks {
    flex:1 1 200px;
    min-width:200px;
}

footer .f1 .f1-Social {
    flex:1 1 200px;
    min-width:200px;
}

footer .footer-disclaimer {
    text-align:center;
    font-size:14px;
    color:#888;
}

/* AfterdarkRP */
.content-wrapper {
    margin: 0;
    padding: 0;

}

.adventure {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}
.adventure-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0,0,0,0.4);
}

.adventure-card h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.adventure-card h1 span {
    color: var(--maintextcolor);
}

.adventure-card p {
    opacity: 0.8;
    font-size: 18px;
    margin-bottom: 40px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: 0.2s;
    color: var(--ButtonText);
}

.server {
    background: var(--MainGradient);
}

.discord {
    background: var(--discordColor);
}


.version {
    margin-top: 10px;
    opacity: 0.6;
    font-size: 14px;
}

/* Title */
.updates-section {
    width: 100%;
    padding: 50px 8%;
    color: var(--maintextcolor);
}

.updates-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: var(--PrimaryColor);
}




/* Update Card */
.updates-section {
    width: 100%;
    padding: 50px 6%;
    color: var(--ButtonText);

}
.updates-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: var(--PrimaryColor);
}
.updates-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.update-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 30px;
    width: 100%;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 40px rgba(0,0,0,0.4);
}

.icon {
    font-size: 32px;
    color: var(--ButtonText);
}

/* Content */
.update-content {
    flex: 1;
}

.top-info {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.version-badge {
    background: var(--PrimaryColor);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.date {
    color: var(--PrimaryColor);
    font-weight: 600;
}

.update-title {
    font-size: 26px;
    font-weight: 700;
    margin: 10px 0;
}

.update-desc {
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 20px;
}



/* Tags */
.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


/* Title */
.quick-access {
    padding: 60px 5%;
    color: var(--ButtonText);
}

.title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: var(--PrimaryColor);
}

/* Card Grid */
.cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Card Styling */
.qa-card {
    width: 330px;
    background: var(--CardBackground);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    box-shadow: var(--Shadow);
}

.icon {
    font-size: 28px;
    color: var(--ButtonText);
}

h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Info Sections */
.info-box, .details {
    margin-top: 15px;
}

.line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.dot.online {
    width: 10px;
    height: 10px;
    background: var(--PrimaryColor);
    border-radius: 50%;
}

.link-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    opacity: 0.9;
}

.copy {
    cursor: pointer;
    opacity: 0.6;
}

.stats-row {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.stat {
    flex: 1;
    background: var(--CardBackground);
    padding: 12px;
    border-radius: 10px;
}

.stat-title {
    font-size: 14px;
    opacity: 0.8;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
}

/* Mini Cards */
.grid-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.mini-card {
    background: var(--CardBackground);
    padding: 18px;
    border-radius: 12px;
    text-align: center;
}

.value {
    font-size: 20px;
    font-weight: 700;
}

.label {
    opacity: 0.7;
    font-size: 14px;
}

.purple {
    color: var(--PrimaryColor);
}

/* Features List */
.features li {
    list-style: none;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.features li::before {
    content: "•";
    color: var(--PrimaryColor);
    margin-right: 10px;
}

/* Buttons */
.discord-btn {
    display: block;
    background: var(--PrimaryColor);
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 20px;
    text-decoration: none;
    color: var(--ButtonText);
}

.footer-note {
    text-align: center;
    margin-top: 15px;
    opacity: 0.7;
}

/* Online Tag */
.online-tag {
    font-size: 14px;
    color: var(--PrimaryColor);
    margin-left: 5px;
}

/*--------------------------------------------- */

/* Section title */
.features-section {
    padding: 60px 6%;
    color: var(--ButtonText);
    text-align: center;
}

.features-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--PrimaryColor);
}

.underline {
    width: 110px;
    height: 5px;
    background: var(--MainGradient);
    border-radius: 12px;
    margin: 10px auto 40px;
}

/* Card layout */
.features-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

/* Single card */
.feature-card {
    background: var(--CardBackground);
    border-radius: 20px;
    padding: 30px 28px 26px;
    width: 320px;
    text-align: left;
    backdrop-filter: blur(15px);
    box-shadow: var(--Shadow);
}

/* Glow icon */
.icon-glow {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--IconGlow););
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}


/* Text */
.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* Tags */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--TagBackground);
    color: var(--PrimaryColor);
}

/* HERO WRAPPER */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* VIDEO BACKGROUND WITH BLUR */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(6px) brightness(0.7);
    transform: scale(1.05); /* so blurred edges don't show */
    z-index: -2;
}

/* extra dark gradient layer to make text readable */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(5, 8, 21, 0.4),
            rgba(5, 8, 21, 0.9)
    );
    z-index: -1;
}

/* MAIN CONTENT */
.hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.hero-content h1 span {
    background: var(--MainGradient);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.05rem;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 18px;
}

.btn {
    padding: 12px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background: var(--ButtonPrimary);
    color: var(--ButtonText);;
}

.btn.secondary {
    background: var(--buttonSecondary);
    color: var(--ButtonText);
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* VERSION TEXT */
.version {
    margin-bottom: 24px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* STATS BAR */
.stats-bar {
    display: flex;
    gap: 10px;
    justify-content: center;
    background: rgba(7, 16, 32, 0.88);
    border-radius: 16px;
    padding: 12px 18px;
    backdrop-filter: blur(12px);
}

.stat {
    min-width: 100px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.stat-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--StatColor);
}

.stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* SOCIAL BAR LEFT */
.social-bar {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 8px;
    background: rgba(7, 16, 32, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 999px;
}

.social-bar a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
}


/* SIMPLE RESPONSIVE TWEAKS */
@media (max-width: 768px) {
    .hero-content h1 {
        letter-spacing: 0.05em;
    }

    .stats-bar {
        flex-wrap: wrap;
    }

    .social-bar {
        left: 8px;
    }
}


/* Hero */
.hero-coming-soon {
    display: flex;
    align-items: center;
    justify-content: center; /* center horizontally */
    gap: 5.5rem; /* space between text and image */
    height: 500px;
    padding: 0 5%;
    max-width: 1400px; /* constrain total width on large screens */
    margin: 0 auto; /* center the hero section itself */
}

.hero-content-coming-soon {
    flex: 0 1 600px; /* content takes up to 600px but doesn’t stretch */
    text-align: center; /* center text */
}

.hero-coming-soon h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--MainGradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-coming-soon p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--maintextcolor);
    line-height: 1.6;
}

.btn-coming-soon {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--SecondayColor);
    color: var(--maintextcolor);
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: 0.3s;
}

.btn-coming-soon:hover {
    background: var(--maintextcolor);
    color: #000000;
    transform: scale(1.05);
}

.hero-image-coming-soon {
    flex: 0 1 600px; /* image up to 600px, doesn’t stretch */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-coming-soon img {
    width: 100%;
    max-width: 100%;
    border-radius: 1rem;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 900px) {
    .hero-coming-soon {
        flex-direction: column;
        text-align: center;
        padding: 4rem 2rem;
        gap: 2rem;
        height: auto;
    }

    .hero-content-coming-soon {
        padding-right: 0;
        margin-bottom: 2rem;
        flex: 0 1 200px;
    }

    .hero-image-coming-soon {
        flex: 0 1 200px; /* image up to 600px, doesn’t stretch */
    }

    .hero-image-coming-soon img {
        max-width: 90%;
    }
}

.rules-section {
    padding: 40px 5%;
    text-align: center;
}

.rules-title {
    font-size: 48px;
    font-weight: 700;
}

.rules-title span {
    color: var(--PrimaryColor);
}

.subtitle {
    opacity: 0.7;
    margin-bottom: 40px;
}

.rules-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(14px);
    box-shadow: var(--Shadow);
    text-align: left;
}

/* Accordion rule item */
.rule-item {
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.rule-header {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 18px 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--PrimaryColor);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.arrow {
    transition: 0.25s ease;
}

.rule-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    margin-bottom: 10px;
}

.rule-content p {
    padding: 10px 0 20px 0;
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
}

/* when opened */
.rule-item.open .rule-content {
    max-height: 500px;
    opacity: 1;
}

.rule-item.open .arrow {
    transform: rotate(180deg);
}

/* Footer */
.last-updated {
    margin-top: 40px;
    text-align: center;
    opacity: 0.6;
    font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
    .rules-title {
        font-size: 32px;
    }
    .rule-header {
        font-size: 18px;
    }
    .rule-content p {
        font-size: 14px;
    }
}
