/* Reset box-sizing for all elements */
* {
    box-sizing: border-box;
}

/* Global styles */
html,
body {
    font-family: 'Roboto', sans-serif;
    background-color: #171616;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    height: 100%;
    display: flex;
    flex-direction: column;

    /* Disable text selection */
    user-select: none;
    -webkit-user-select: none;
    /* Safari, Chrome */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
}

/* Main container */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
    flex: 1;
}

/* Page title */
h1 {
    text-align: center;
    font-size: 3rem;
    color: #ffcc00;
    margin-bottom: 50px;
}

/* FAQ Grid Layout */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Mobile: single column */
@media(max-width:768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Accordion Item */
.faq-item {
    background-color: #1f1e1e;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}

/* Accordion Question */
.faq-question {
    padding: 18px;
    font-size: 1rem;
    cursor: pointer;
    background: #2a2a2a;
    position: relative;
    font-weight: bold;
}

/* Add + sign */
.faq-question::after {
    content: '\002B';
    /* Plus sign */
    font-weight: bold;
    color: #ffcc00;
    position: absolute;
    right: 20px;
}

/* Change + to – when active */
.faq-item.active .faq-question::after {
    content: '\2212';
    /* Minus sign */
}

/* Accordion Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #333131;
    padding: 0 18px;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

/* Answer Text */
.faq-answer p {
    margin: 15px 0;
    padding-bottom: 15px;
}

/* Highlighted text */
.highlight {
    color: #ffcc00;
    font-weight: bold;
}

/* Tablet responsiveness */
@media (max-width:1024px) {
    h1 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1.1rem;
    }

    main {
        padding: 40px 15px;
    }
}

/* Mobile responsiveness */
@media (max-width:600px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    main {
        padding: 30px 10px;
    }
}

/* Disable image dragging & right-click saving */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}