@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900");

* {
    margin: 0;
    padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: url('../images/background.png') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    height: 100vh;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #22222200;
    padding: 10px 20px;
    color: white;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-left img {
    vertical-align: middle;
}

.navbar-left a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-left a:hover {
    color: #1d7bf7;
}

.navbar-right {
    font-size: 14px;
    color: #ccc;
}

/* Container that holds content in the center */
.container {
    display: flex;
    height: 100%;
}

.content {
    text-align: center; /* Optional: centers text within content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.center-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Keeps it centered vertically */
    width: 100%;
    padding-top: 60px; /* Optional: Add padding to prevent overlap with navbar */
    box-sizing: border-box;
    text-align: center; /* To center text content */
    color: white;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.form-container {
    max-width: 400px;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #222;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
}

.form-container h2 {
    padding-bottom: 10px;
}
.logo-large {
    margin-bottom: 40px;
    max-width: 450px;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-bottom: 15px;
}

.input-group label {
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
}

.input-group input {
    width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

input[type="submit"] {
    background: #1d7bf7;
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block; /*CHANGED from flex */
}

input[type="submit"]:hover {
    background: #1053aa;
}

.message, .error {
    margin-bottom: 15px;
}

.message {
    color: white;
}

.error {
    color: red;
}

.button-group {
    display: block;
    width: auto;
}

/*     Order Pages     */
.item-list {
    margin-bottom: 20px;
}

.item-list label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: left;
}

.center-container form {
    width: 100%;
    max-width: 400px;
}

.btn-group {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn-group a, .btn-group button {
    flex: 1;
}

.scrollable-list {
    max-height: 300px; /* Increased from 150px to 300px */
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #444;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    background-color: #2b2b2b;
    width: 100%;
}

.scrollable-list label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

.scrollable-list input[type="number"] {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #111;
    color: white;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.order-table th,
.order-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #222;
}

.order-table th {
    background-color: #222;
    text-align: left;
}

.order-table td:last-child,
.order-table th:last-child {
    text-align: right;
}

.timestamp {
    font-size: 0.9rem;
    color: #888;
    margin-top: -10px;
    margin-bottom: 20px;
}

/* Footer styling */
footer {
    position: relative;
    bottom: 6px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin-top: 40px;
    padding: 20px 0;
}

footer a {
    text-decoration: none;
    color: white;
}

/* Discord Bot */
/* ---------------------------
   Home Hero Section Layout
---------------------------- */
.logo-desktop {
    width: 250px;
    display: inline-block;
}

.logo-mobile {
    height: 40px;
    display: none;
}

@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: inline-block;
    }
}

.home-hero {
    background: url('../images/your-hero-background.png') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .home-hero {
        padding-left: 10%;
    }
}

/* Text content on the left */
.text-section {
    max-width: 600px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-section h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.text-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}

/* Button Row */
.button-row {
    display: flex;
    gap: 12px;
}

/* Button Row: align side by side */
.button-row {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

/* Base Button Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: white;
    border: none;
    border-radius: 6px;
    height: 48px;
    min-width: 180px;
    padding: 0 24px;
    transition: background 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

/* Add To Server Button */
.register-btn {
    background-color: #12e451;
}

.register-btn:hover {
    background-color: #1ac54d;
}

/* Manage Servers Button */
.manage-btn {
    background-color: #ac0a0a;
}

.manage-btn:hover {
    background-color: #860202;
}

.skip-btn {
    background-color: #15bfdd;
}

.skip-btn:hover {
    background-color: #028299;
}


@media (max-width: 768px) {
    .container.home-layout {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        height: auto;
        width: 100%;
        box-sizing: border-box;
    }

    .text-section {
        max-width: 100%;
        text-align: center;
        align-items: center;
        margin: 0 auto;
    }

    .text-section h1 {
        font-size: 28px;
    }

    .text-section p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .button-row {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .register-btn,
    .manage-btn {
        width: 100%;
        max-width: 250px;
    }
}

.main-section {
    background-color: #333;
    padding: 60px 20px;
    min-height: 100vh;
    color: white;
}

/* Features */
.features-section {
    padding: 60px 20px;
    background-color: #333; /* body background */
    text-align: center;
}

.features-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: white;
}

.features-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

.feature-box {
    width: 300px;
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: white;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-5px);
    background-color: #444;
}

.feature-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-box p {
    font-size: 16px;
    color: #ccc;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #1d7bf7;
}

@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0 auto;
        width: 100%;       
        box-sizing: border-box;
    }

    .feature-box {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 20px auto;
        box-sizing: border-box;
    }
}

/* FAQ */
.faq-section {
    padding: 60px 20px;
    background-color: #333; /* body background */
    text-align: center;
}

.faq-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: white;
}

.faq-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.faq-box {
    width: 100%;
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    background: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 20px 25px;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.faq-label {
    flex: 1;
    text-align: left;
}

.faq-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.faq-question:hover {
    background-color: #2c2c2c;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 25px;
    background-color: #1e1e1e;
}

.faq-box.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-box.active .faq-icon {
    transform: rotate(180deg);
    content: "-";
}

.faq-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.faq-box p {
    font-size: 16px;
    color: #ccc;
    text-align: left;
    margin-top: 10px;
    line-height: 1.6;
}

.faq-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #1d7bf7;
}

@media (max-width: 768px) {
    .faq-container {
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0 auto;
        width: 100%;       
        box-sizing: border-box;
    }

    .faq-box {
        padding: 20px;
    }
}

#volume-slider {
    width: 150px;
    appearance: none;
    height: 6px;
    background: #cfcfcf;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    margin-left: 12px;
}

#volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: #7c7c7c;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

#volume-slider::-webkit-slider-thumb:hover {
    background: #5f5f5f;
}

.song-info {
    text-align: left;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.song-info.hidden {
    opacity: 0;
}