@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Saira', sans-serif;
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.main {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: 110% auto;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-image 5s ease-in-out;
    animation: kenBurns 40s infinite alternate ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes kenBurns {
    0% {
        background-size: 100% auto;
    }

    100% {
        background-size: 115% auto;
    }
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(48, 1, 123, 0.138);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(253, 252, 254, 0.271);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #1d045500;
    padding: 20px;
    flex: 1;
}

.header-logo {
    height: 70px;
    width: auto;
    margin-right: 25px;
}

.text-content {
    display: flex;
    flex-direction: column;
    color: #fdfcfc;
    font-family: sans-serif;
}

.main-title {
    font-family: 'Oswald', monospace;
    background: linear-gradient(45deg, rgba(138, 60, 239, 1), rgba(226, 224, 231, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    margin: 0 0 5px 0;
    letter-spacing: 3px;
}

.sub-title {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    opacity: 0.9;
}

/* Navigation Links */
.nav-links ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    gap: 20px;
    padding: 0 40px;
}

.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #e3dee8fb;
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex;
    letter-spacing: 3px;
    align-items: center;
}

.nav-links a:hover {
    background: linear-gradient(45deg, rgba(138, 60, 239, 1), rgba(226, 224, 231, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.2);
}

.home-section {
    width: 100%;
    padding: 120px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.information {
    max-width: 600px;
    text-align: left;
}

.information .header-text {
    font-size: 2.5rem;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    font-family: 'Arial', monospace;
    margin-top: 50px;
    padding: 12px 40px;
    background: linear-gradient(45deg, #c0a7e1, #4302bb);
    color: #ffffff;
    text-decoration: none;
    border-radius: 15px;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn:hover {
    background: transparent;
    border: 2px solid #ffffffc9;
}

.header-text {
    display: flex;
    justify-content: flex-start;
    border-radius: 1px 0 0;
    border-bottom: 3px solid #4302bb;
}

.server-info {
    text-align: right;
    max-width: 400px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border-radius: 25px 0 0;
    border-left: 5px solid #4302bb;
}

.server-header {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    padding-right: 10px;
    color: #c0a7e1;
}

/* INFORMATION ABOUT */
.storyline {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    margin-top: 30px;
}

/* Server Information */
.players {
    font-family: 'Poppins', sans-serif;
    font-weight: light;
    font-size: 0.8rem;
    padding-right: 100px;
}

.player-icon {
    color: #c0a7e1;
    margin-right: 8px;
    font-size: 0.9rem;
}

#player-count {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    padding-right: 13px;
}

/* ABOUT SERVER */
.information-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(45deg, rgba(138, 60, 239, 1), rgba(226, 224, 231, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-align: center;
}

.container-perks {
    display: flex;
    justify-content: space-between; /* Pushes them to opposite sides */
    align-items: flex-start;       /* Aligns them to the top */
    gap: 50px;                     /* Adds space between the columns */
    padding: 40px;
    background: transparentt;
}

.server-features {
    flex: 1;
}

.text {
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #4302bb;
    padding-bottom: 5px;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding-right: 80px;
    justify-items: start;
}

.features-list li {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #e3dee8;
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list li i {
    color: #d5baf8;
    font-size: 0.9rem;
}

/* SERVER MAPPINGS */
.server-mappings {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Optional: puts mapping images in two columns */
    gap: 20px;
}

.mappings-title {
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #4302bb;
}

.mapping-card {
    opacity: 0;
    transform: translateY(30px); /* Starts lower down */
    transition: all 0.6s ease-out; /* Controls speed of the slide */
    margin-bottom: 20px;
}

/* This class is added by JavaScript when scrolling */
.mapping-card.slide-in {
    opacity: 1;
    transform: translateY(0); /* Slides to original position */
}

.img-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: block;
}

/* Optional: Stagger the animations slightly */
.mapping-card:nth-child(2) { transition-delay: 0.1s; }
.mapping-card:nth-child(3) { transition-delay: 0.2s; }
.mapping-card:nth-child(4) { transition-delay: 0.3s; }

/* JOBS SECTION */
.server-jobs {
    position: relative;
    width: 80%;
    max-width: 500px;
    margin: 50px auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
}

.slides-container {
    overflow: hidden;
    width: 100%;
    border-radius: 20px;
}

.slides-wrapper {
    display: grid;
    width: 100%;
}

.job-card {
    grid-area: 1 / 1;
    opacity: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 1s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    align-items: flex-start;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(103, 9, 234, 0.3);
    border-color: #c0a7e1;
}

.job-card.active-slide {
    opacity: 1;
    pointer-events: auto;
}

.best-job {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.job-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;

    text-align: center;
}

.info-icon {
    margin-left: 8px;
    color: #c0a7e1;
    cursor: pointer;
}

/* SANCTUARY DONATION PACKAGES */
.donation-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(45deg, rgba(138, 60, 239, 1), rgba(226, 224, 231, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Responsive grid */
    width: 100%;
    height: 100%;
    gap: 30px;
    justify-content: center;
    /* Center grid items */
}

.donation-card {
    background: rgba(0, 0, 0, 0.3);
    /* Semi-transparent background */
    backdrop-filter: blur(8px);
    border-radius: 25px;
    padding: 15px 0;

}

.payment-btn {
    background: #4302bb;
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    width: 25%;
    margin: auto;
    color: white;
    font-size: 1rem;
}

/* SANCTUARY ADMIN TEAM */
.team-section {
    width: 100%;
    padding: 80px 5%;
    /* Add padding for spacing */
    text-align: center;
    /* Center the title */
    background: transparent;
    /* Ensure the section background is transparent */
}

.gaming-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(45deg, rgba(138, 60, 239, 1), rgba(226, 224, 231, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-division {
    margin-bottom: 60px;
    padding: 50px 0;
}

.icon {
    margin-right: 20px;
    font-size: 1.8rem;
    background: linear-gradient(45deg, rgb(226, 224, 231, 1), rgba(112, 3, 255));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.division-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #e3dee8;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    padding-bottom: 5px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Responsive grid */
    gap: 5px;
    /* Space between cards */
    justify-items: center;
    /* Center grid items */
    justify-content: center;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    /* Semi-transparent background */
    backdrop-filter: blur(8px);
    /* Frosted glass effect */
    -webkit-backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 50px 50px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(252, 252, 252, 0.845);
    /* Subtle border */
}

.team-card:hover {
    transform: translateY(-10px);
    /* Lift effect on hover */
    box-shadow: 0 10px 20px rgb(103, 9, 234);
    /* Subtle shadow on hover */
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    /* Circular avatars */
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #48059e;
    /* Accent border for avatars */
}

.team-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fcf9ff;
}

.team-role {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #bf90ee;
    margin-top: 15px;
    opacity: 100%;
}

/* SERVER NOTIFICATION */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

.samp-toast {
    min-width: 280px;
    max-width: min(360px, calc(100vw - 40px));
    padding: 14px 18px 16px;
    border-radius: 16px;
    background: rgba(14, 15, 20, 0.92);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: slideIn 0.45s ease forwards;
    pointer-events: auto;
}

.samp-toast strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 1px;
    margin-top: 2px;
}

.samp-toast small,
.samp-toast .toast-event {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.76rem;
    opacity: 0.78;
}

.samp-toast .toast-event {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.samp-toast.join {
    border-left: 4px solid #58d400;
}

.samp-toast.leave {
    border-left: 4px solid #ff5d5d;
}

.samp-toast .progress-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), currentColor);
    opacity: 0.9;
    animation: timer linear forwards;
}

.samp-toast.join .progress-bar {
    color: #58d400;
}

.samp-toast.leave .progress-bar {
    color: #ff5d5d;
}

@keyframes slideIn {
    from {
        transform: translateX(110%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes timer {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* CONTACT SECTION STYLES */
.report {
    padding: 80px 5%;
    text-align: center;
    width: 100%;
}

.report h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(45deg, rgba(138, 60, 239, 1), rgba(226, 224, 231, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.submit-report {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 25px;
    border: 1px solid rgba(144, 69, 243, 0.4);
}

.submit-report form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.submit-report input,
.submit-report select {
    padding: 12px 15px;
    border-radius: 10px;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

.submit-report select option {
    background: #1d0455;
    color: #fff;
}

.submit-report,
.submit {
    max-width: 200px;
    background: transparent;
    color: #ffffff;
    border: 2px solid #c0a7e1;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    padding: 10px 15px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.5s;
}

.submit:hover {
    box-shadow: 0 10px 15px rgb(103, 9, 234);
}

/* Footer Content */
.footer {
    width: 100%;
    padding: 40px 0;
    background: transparent;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-content a {
    color: #c0a7e1;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease-out, transform 1s ease-out;
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

@media (max-width: 768px) {
    .notification-container {
        top: 12px;
        right: 12px;
        left: 12px;
        align-items: stretch;
    }

    .samp-toast {
        min-width: 0;
        max-width: 100%;
    }
}