/* Help Page — Dark Platform Theme */

:root {
  --primarycolor: #f4a261;
  --secondarycolor: #0f3460;
  --bg-color: #1A1A2E;
  --text-white: #fff;
  --body-font-size: 10px;
}

/* ── Page Wrapper ─────────────────────────────────────────── */
.help-page-wrapper {
    min-height: 100vh;
    padding: 3rem 0 5rem;
}

/* ── Hero Section ─────────────────────────────────────────── */
.help-hero {
    text-align: center;
    padding: 5rem 2rem 4rem;
    border-radius: 24px;
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
}

.help-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244,162,97,0.12) 0%, rgba(244,162,97,0.03) 50%, transparent 100%);
    pointer-events: none;
}

.help-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primarycolor), transparent);
}

.help-hero-content {
    position: relative;
    z-index: 2;
}

.help-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.4rem;
    letter-spacing: 1px;
}

.help-title i {
    color: var(--primarycolor);
    margin-right: 1.2rem;
    animation: pulse 2.5s infinite;
}

.help-subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
    font-weight: 400;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── FAQ Section ──────────────────────────────────────────── */
.faq-section {
    margin-bottom: 5rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── FAQ Item Card ────────────────────────────────────────── */
.faq-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(244,162,97,0.3);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}

.faq-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244,162,97,0.06) 0%, transparent 55%);
    pointer-events: none;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}

/* ── FAQ Header ───────────────────────────────────────────── */
.faq-header {
    padding: 2rem 2.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    transition: background 0.2s;
    position: relative;
    z-index: 1;
    user-select: none;
}

.faq-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(244,162,97,0.4), rgba(244,162,97,0.18));
    border: 1px solid rgba(244,162,97,0.45);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item:hover .faq-icon {
    transform: scale(1.06);
}

.faq-icon i {
    font-size: 1.6rem;
    color: var(--primarycolor);
}

.faq-question {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    flex-grow: 1;
    line-height: 1.4;
}

.faq-toggle {
    width: 36px;
    height: 36px;
    background: rgba(244,162,97,0.12);
    border: 1px solid rgba(244,162,97,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.faq-toggle i {
    color: var(--primarycolor);
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.faq-header[aria-expanded="true"] .faq-toggle {
    background: var(--primarycolor);
    border-color: var(--primarycolor);
}

.faq-header[aria-expanded="true"] .faq-toggle i {
    color: #fff;
    transform: rotate(180deg);
}

/* ── FAQ Content ──────────────────────────────────────────── */
.faq-content {
    padding: 0 2.4rem 2.4rem;
    position: relative;
    z-index: 1;
}

.faq-description {
    margin-bottom: 2rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.6rem;
}

.faq-description p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin: 0;
}

/* ── Tutorial Gallery ─────────────────────────────────────── */
.tutorial-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 1.6rem;
}

.tutorial-step {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(244,162,97,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    background: rgba(255,255,255,0.03);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.tutorial-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.tutorial-step img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.tutorial-step:hover img {
    transform: scale(1.04);
}

.step-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 28px;
    height: 28px;
    background: var(--primarycolor);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

/* ── Contact Section ──────────────────────────────────────── */
.help-contact {
    text-align: center;
    padding: 2rem 0 1rem;
}

.contact-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(244,162,97,0.3);
    padding: 4rem 3rem;
    border-radius: 22px;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244,162,97,0.07) 0%, transparent 60%);
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(0,0,0,0.35);
}

.contact-card h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.2rem;
    font-weight: 700;
    position: relative;
}

.contact-card h3 i {
    color: var(--primarycolor);
    margin-right: 0.8rem;
}

.contact-card p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 2.4rem;
    line-height: 1.6;
    position: relative;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primarycolor);
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    transition: opacity 0.2s, transform 0.2s;
    position: relative;
}

.contact-btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

/* ── Responsive ───────────────────────────────────────────── */
@media screen and (max-width: 768px) {
    .help-hero {
        padding: 3.5rem 1.5rem 3rem;
        margin-bottom: 3rem;
        border-radius: 18px;
    }

    .help-title {
        font-size: 2.8rem;
    }

    .help-subtitle {
        font-size: 1.3rem;
    }

    .faq-header {
        padding: 1.6rem;
        gap: 1.2rem;
    }

    .faq-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .faq-icon i {
        font-size: 1.4rem;
    }

    .faq-question {
        font-size: 1.3rem;
    }

    .faq-content {
        padding: 0 1.6rem 1.8rem;
    }

    .tutorial-gallery {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }

    .tutorial-step img {
        height: 140px;
    }

    .contact-card {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }

    .contact-card h3 {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 480px) {
    .help-hero {
        padding: 3rem 1.2rem 2.5rem;
        border-radius: 14px;
    }

    .help-title {
        font-size: 2.2rem;
    }

    .help-title i {
        display: block;
        margin: 0 0 0.8rem;
    }

    .help-subtitle {
        font-size: 1.2rem;
    }

    .faq-header {
        padding: 1.4rem;
        gap: 1rem;
    }

    .faq-question {
        font-size: 1.2rem;
    }

    .tutorial-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tutorial-step img {
        height: 120px;
    }

    .contact-card {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }

    .contact-btn {
        padding: 1rem 2.2rem;
        font-size: 1.3rem;
    }
}


/* Main Page Wrapper */
.help-page-wrapper {
    min-height: 100vh;
    padding: 2rem 0;
}

/* Hero Section */
.help-hero {
    text-align: center;
    padding: 4rem 0 3rem;
    background: var(--gradient-bg);
    border-radius: 20px;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.help-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="manga-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23manga-pattern)"/></svg>');
    opacity: 0.3;
}

.help-hero-content {
    position: relative;
    z-index: 2;
}

.help-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.help-title i {
    margin-right: 1rem;
    animation: pulse 2s infinite;
}

.help-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 300;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 4rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--tran-03);
    border: 2px solid transparent;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primarycolor);
}

.faq-header {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--tran-03);
    position: relative;
}

.faq-header:hover {
    background: linear-gradient(135deg, var(--admin-bg-color) 0%, #fff 100%);
}

.faq-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.faq-question {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--black);
    margin: 0;
    flex-grow: 1;
}

.faq-toggle {
    width: 40px;
    height: 40px;
    background: var(--primarycolor);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tran-03);
}

.faq-toggle i {
    color: var(--white);
    font-size: 1rem;
    transition: var(--tran-03);
}

.faq-header[aria-expanded="true"] .faq-toggle {
    background: var(--iconcolor);
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 2rem 2rem;
}

.faq-description {
    margin-bottom: 2rem;
}

.faq-description p {
    font-size: 1.1rem;
    color: var(--secondarycolor);
    line-height: 1.6;
    margin: 0;
}

/* Tutorial Gallery */
.tutorial-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tutorial-step {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--tran-03);
    background: var(--white);
}

.tutorial-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tutorial-step img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: var(--tran-03);
}

.tutorial-step:hover img {
    transform: scale(1.05);
}

.step-number {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: var(--gradient-bg);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.help-contact {
    text-align: center;
    padding: 3rem 0;
}

.contact-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid var(--border-light);
}

.contact-card h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card h3 i {
    color: var(--primarycolor);
    margin-right: 0.5rem;
}

.contact-card p {
    font-size: 1.6rem;
    color: var(--primarycolor);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-bg);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--tran-03);
    border: 1px solid var(--primarycolor);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 162, 97, 0.4);
    color: var(--white);
    text-decoration: none;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .help-hero {
        padding: 3rem 1rem 2rem;
        margin-bottom: 3rem;
    }

    .help-title {
        font-size: 2.5rem;
    }

    .help-subtitle {
        font-size: 1.1rem;
    }

    .faq-header {
        padding: 1.5rem;
        gap: 1rem;
    }

    .faq-icon {
        width: 50px;
        height: 50px;
    }

    .faq-question {
        font-size: 1.2rem;
    }

    .faq-content {
        padding: 0 1.5rem 1.5rem;
    }

    .tutorial-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .tutorial-step img {
        height: 150px;
    }

    .contact-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
}

@media screen and (max-width: 480px) {
    .help-title {
        font-size: 2rem;
    }

    .faq-header {
        padding: 1rem;
        text-align: center;
        gap: 1rem;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .tutorial-gallery {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .contact-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}