:root {
    --bg-dark: #121017;
    --card-bg: #7c3aed;
    --card-surface: #1e1927;
    --text-white: #ffffff;
    --text-muted: #a1a1aa;
    --purple-primary: #7c3aed;
    --border-faq: #2d2638;
    --star-green: #00b67a;
    --discord-bg: #5865f2;
    --discord-bg-hover: #4752c4;
    --translucent-white-85: rgba(255, 255, 255, 0.85);
    --translucent-white-90: rgba(255, 255, 255, 0.9);
    --translucent-white-20: rgba(255, 255, 255, 0.2);
    --shadow-black-15: rgba(0, 0, 0, 0.2);
    --nav-height: 80px;
    --nav-padding-x: 48px;
}

::selection {
    background-color: var(--purple-primary);
    color: var(--text-white);
}

::-moz-selection {
    background-color: var(--purple-primary);
    color: var(--text-white);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
}

body {
    background-color: var(--bg-dark);
    background-image: linear-gradient(180deg, #1b1622 0%, rgba(18, 16, 23, 0) 45%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    user-select: none;
}

.navbar {
    width: 100%;
    height: var(--nav-height);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 var(--nav-padding-x);
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #1b1622 0%, rgba(18, 16, 23, 0) 100%);
    border: none;
    z-index: 1000;
}

.logo {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
}

.nav-link-item {
    font-size: 0.9rem;
    color: var(--text-muted);
    background-color: rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 30px;
    transition: color 0.25s ease, background-color 0.25s ease, opacity 0.2s ease;
    user-select: none;
}

.nav-link-item.active {
    color: var(--text-white);
    background-color: var(--purple-primary);
}

.nav-link-item:hover {
    color: var(--text-white);
    opacity: 0.9;
}

.nav-right-container {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    padding: 8px 18px 8px 8px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.auth-bar:hover {
    transform: scale(0.95);
    opacity: 0.9;
}

.auth-icon-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.auth-icon-circle svg {
    width: 14px;
    height: 14px;
}

.menu-toggle-btn {
    display: none;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-btn:hover {
    transform: scale(0.95);
    opacity: 0.9;
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--purple-primary);
    background-image: linear-gradient(180deg, #6d28d9 0%, #7c3aed 100%);
    z-index: 2500;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 24px 20px;
}

.fullscreen-menu.show {
    opacity: 1;
    visibility: visible;
}

.fullscreen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
}

.fullscreen-close-btn {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.fullscreen-close-btn:hover {
    transform: scale(0.95);
    opacity: 0.9;
}

.fullscreen-nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    width: 100%;
}

.fullscreen-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 16px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.fullscreen-nav-item:hover,
.fullscreen-nav-item.active {
    color: var(--text-white);
    opacity: 1;
}

.nav-item-arrow {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* HERO TITLE ANIMATION */
@keyframes heroSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.2;
    max-width: 800px;
    margin-bottom: 24px;
    animation: heroSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.faq-section {
    background-color: transparent;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 70px 24px 30px 24px;
    text-align: left;
}

.faq-section.support-faq {
    padding: 40px 24px 30px 24px;
}

.faq-header-title {
    font-size: 1.8rem;
    letter-spacing: -0.6px;
    margin-bottom: 24px;
    text-align: center;
}

.faq-container {
    display: flex;
    flex-direction: column;
}

.faq-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border-faq);
    border-radius: 0;
    overflow: hidden;
}

.faq-question {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: var(--text-white);
    user-select: none;
}

.faq-icon {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    padding: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 0 18px 0;
}

.result-wrapper {
    width: 100%;
    display: none;
    text-align: left;
}

.result-wrapper.show {
    display: block;
}

#ordersContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 18px;
    width: 100%;
}

.status-card {
    background-color: var(--card-surface);
    border: none;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.card-bg-watermark-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-bg-watermark-icon svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
}

.status-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-faq);
    padding-bottom: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.order-id-label {
    font-size: 1.05rem;
    color: var(--text-white);
    font-family: monospace;
}

.status-detail-list {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.detail-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-faq);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--text-white);
}

.detail-value {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: left;
    width: 100%;
    word-break: break-word;
    line-height: 1.5;
}

.order-status-info-box {
    background: transparent;
    padding: 10px 0 4px 0;
    margin-top: 6px;
    margin-bottom: 4px;
    border-top: 1px dashed var(--border-faq);
    position: relative;
    z-index: 1;
}

.open-qris-modal-btn {
    background-color: var(--purple-primary);
    color: var(--text-white);
    width: 100%;
    height: 46px;
    border-radius: 16px;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin-top: 6px;
    user-select: none;
}

.open-qris-modal-btn:hover {
    transform: scale(0.96);
    opacity: 0.9;
}

.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 20px;
}

.custom-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-modal-box {
    background-color: var(--card-surface);
    border: 1px solid var(--border-faq);
    width: 100%;
    max-width: 360px;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.custom-modal-overlay.show .custom-modal-box {
    transform: translateY(0);
}

.qris-modal-img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 8px;
    margin: 10px 0;
    display: block;
}

.download-qris-bar-btn {
    background-color: var(--purple-primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    border-radius: 18px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    user-select: none;
}

.download-qris-bar-btn:hover {
    transform: scale(0.96);
    opacity: 0.9;
}

.modal-close-custom-btn {
    background-color: #2b2633;
    color: var(--text-white);
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 0.85rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    user-select: none;
}

.modal-close-custom-btn:hover {
    transform: scale(0.96);
    opacity: 0.9;
}

.ticket-support-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    border-top: 1px solid var(--border-faq);
    padding: 12px 0 0 0;
    margin-top: 14px;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.ticket-btn {
    background-color: #5865f2;
    color: var(--text-white);
    height: 44px;
    border-radius: 16px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    width: 100%;
    justify-content: center;
    user-select: none;
}

.ticket-btn:hover {
    transform: scale(0.98);
    opacity: 0.9;
}

.error-msg {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 14px;
    display: none;
}

.footer-wrapper {
    background-color: var(--bg-dark);
    margin-top: 0;
    width: 100%;
}

.trustpilot-box {
    background-color: transparent;
    text-align: center;
    padding: 30px 24px 16px 24px;
    transition: transform 0.2s ease;
}

.trustpilot-box:hover {
    transform: scale(0.95);
}

.trustpilot-title {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.trustpilot-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.star-badge {
    width: 30px;
    height: 30px;
    background-color: var(--star-green);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 0.85rem;
}

.footer-banner {
    background-color: var(--purple-primary);
    color: var(--text-white);
    text-align: center;
    padding: 60px 24px 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-banner-title {
    font-size: 2.2rem;
    letter-spacing: -1px;
    line-height: 1.2;
    max-width: 700px;
    margin-bottom: 16px;
}

.footer-banner-desc {
    font-size: 0.95rem;
    color: var(--translucent-white-85);
    max-width: 520px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.footer-cta-btn {
    background-color: var(--text-white);
    color: var(--purple-primary);
    height: 52px;
    padding: 0 32px;
    border-radius: 30px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    text-decoration: none;
    font-weight: 800;
}

.footer-cta-btn:hover {
    transform: scale(0.95);
}

.footer-divider {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background-color: var(--translucent-white-20);
    margin: 40px auto 20px auto;
}

.footer-bottom-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--translucent-white-90);
}

.hero {
    background-color: transparent;
    padding: 140px 24px 50px 24px;
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.selected-highlight {
    background-color: var(--purple-primary);
    color: var(--text-white);
    padding: 2px 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    font-weight: inherit;
}

.selected-highlight::before,
.selected-highlight::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--text-white);
    border: 2px solid var(--purple-primary);
    border-radius: 50%;
}

.selected-highlight::before {
    top: -3px;
    left: -3px;
}

.selected-highlight::after {
    bottom: -3px;
    right: -3px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.login-prompt-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.login-prompt-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.center-google-login-btn {
    background-color: var(--purple-primary);
    color: var(--text-white);
    border: none;
    height: 52px;
    padding: 0 32px;
    border-radius: 30px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.center-google-login-btn:hover {
    transform: scale(0.96);
    opacity: 0.9;
}

.discord-bar {
    background-color: var(--card-bg);
    color: var(--text-white);
    height: 48px;
    padding: 0 26px;
    border-radius: 35px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin-bottom: 40px;
}

.discord-bar.small-margin {
    margin-bottom: 20px;
}

.discord-bar:hover {
    transform: scale(0.95);
    opacity: 0.9;
}

.discord-icon {
    font-size: 1.1rem;
}

.cards-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.card-item {
    background-color: var(--card-bg);
    color: var(--text-white);
    border-radius: 12px;
    padding: 24px 20px;
    height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    transition: transform 0.2s ease;
}

.card-item:hover {
    transform: scale(0.95);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.card-title {
    font-size: 1.3rem;
    letter-spacing: -0.4px;
    line-height: 1.2;
    color: var(--text-white);
}

.card-arrow {
    font-size: 1.2rem;
    color: var(--text-white);
    line-height: 1;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--translucent-white-85);
    line-height: 1.5;
}

@media (min-width: 769px) {
    .footer-cta-btn {
        width: auto;
    }
}

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 18px;
    }
    
    .nav-links {
        display: none;
    }

    .nav-right-container #authContainer {
        display: none;
    }

    .menu-toggle-btn {
        display: flex;
    }

    .hero {
        padding: 95px 16px 20px 16px;
    }

    .hero-title {
        font-size: 2.1rem;
        letter-spacing: -0.9px;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }

    .cards-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding: 6px 16px 20px 16px;
        width: 100vw;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cards-grid::-webkit-scrollbar { display: none; }

    .card-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
        padding: 20px 16px;
        height: 200px;
        border-radius: 12px;
        justify-content: flex-start;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-desc {
        font-size: 0.85rem;
    }

    .faq-header-title { font-size: 1.5rem; }
    .faq-question { font-size: 0.95rem; }

    #ordersContainer {
        grid-template-columns: 1fr;
    }

    .status-card {
        padding: 18px 14px;
        border-radius: 18px;
    }

    .footer-banner-title {
        font-size: 1.6rem;
        letter-spacing: -0.6px;
    }

    .footer-banner {
        padding: 35px 16px 50px 16px;
    }

    .footer-banner-desc {
        font-size: 0.88rem;
        margin-bottom: 24px;
    }

    .footer-cta-btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
        font-size: 0.9rem;
        height: 48px;
        padding: 0 20px;
    }

    .center-google-login-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        height: 48px;
        font-size: 0.9rem;
    }
}
