:root {
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.profile-wrapper {
    padding-bottom: 60px;
    background-color: var(--bg-secondary);
    display: flex;
    justify-content: center;
}

.profile-container, .billing-container, .profile-edit-container, .notifications-container, .password-change-container, .player-settings-container, .about-container, .terms-container, .membership-container, .checkout-container {
    min-height: 100vh;
    padding: 10px;
    margin: 0px auto;
}

.profile-section, .billing-section, .password-change-section, .profile-edit-section, .notifications-section, .player-settings-section, .about-section, .terms-section, .membership-section, .app-section, .checkout-section {
    flex: 1 1 0%;
    min-height: 80vh;
    max-width: 100%;
}

.profile-section, .billing-section, .password-change-section, .profile-edit-section, .notifications-section, .player-settings-section, .about-section, .terms-section, .membership-section, .app-section, .checkout-section {
    display: none;
}

@media (min-width: 768px) {
    section:not(#profile-section) .page-header {
        visibility: hidden;
    }

    .puser-card {
        display: none;
    }

    .profile-section {
        max-width: 25%;
        min-width: 320px;
        flex: 1 1 0%;
    }

    .billing-section, .password-change-section, .profile-edit-section, .notifications-section, .player-settings-section, .about-section, .terms-section, .membership-section, .app-section, .checkout-section {
        flex: 2 1 0%;
        max-width: 60%;
        min-width: 400px;
    }
}

@media (min-width: 1024px) {
    section:not(#profile-section) .page-header {
        visibility: hidden;
    }

    .puser-card {
        display: none;
    }

    .profile-section {
        max-width: 25%;
        min-width: 320px;
        flex: 1 1 0%;
    }

    .billing-section, .password-change-section, .profile-edit-section, .notifications-section, .player-settings-section, .about-section, .terms-section, .membership-section, .app-section, .checkout-section {
        flex: 2 1 0%;
        max-width: 50%;
        min-width: 400px;
    }
}

@media (min-width: 1280px) {
    section:not(#profile-section) .page-header {
        visibility: hidden;
    }

    .puser-card {
        display: none;
    }

    .profile-section {
        max-width: 25%;
        min-width: 320px;
        flex: 1 1 0%;
    }

    .billing-section, .password-change-section, .profile-edit-section, .notifications-section, .player-settings-section, .about-section, .terms-section, .membership-section, .app-section, .checkout-section {
        flex: 2 1 0%;
        max-width: 40%;
        min-width: 400px;
    }
}

.page-header {
    margin-bottom: 30px;
    margin-top: 10px;
}

.page-header-content {
    display: flex;
    align-items: flex-start;
}

.page-title-wrapper {
    flex: 1 1 0%;
}

.page-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.billing-header, .profile-edit-header, .notifications-header, .password-change-header, .player-settings-header, .membership-header {
    margin-bottom: 30px;
    margin-top: 10px;
}

.billing-header h1, .profile-edit-header h1, .notifications-header h1, .password-change-header h1, .player-settings-header h1, .membership-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.billing-header p, .profile-edit-header p, .notifications-header p, .password-change-header p, .player-settings-header p, .membership-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-top: 2px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50%;
    transition: 0.2s;
    background: transparent;
}

.back-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.back-btn:active {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
}

.back-btn i {
    font-size: 18px;
}

.back-btn svg {
    width: 16px;
    height: 16px;
}

.puser-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.puser-info {
    display: flex;
    flex-direction: column;
}

.puser-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0px;
    padding: 0px 8px;
}

.puser-avatar-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.puser-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
}

.puser-status.platinum {
    background: rgb(255, 244, 230);
    color: var(--warning);
}

.puser-status.basic {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.puser-status i {
    margin-right: 5px;
    font-size: 10px;
}

.puser-detail-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.sidebar {
    width: 100%;
    flex-shrink: 0;
}

.menu-section {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.menu-header {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.menu-header-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.menu-item {
    display: block;
    padding: 11px 16px;
    border-bottom: 0.5px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.15s;
    cursor: pointer;
}

.menu-item:last-child {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.menu-item:hover {
    background: var(--bg-secondary);
}

.menu-item.active {
    background: var(--primary-light);
    border-right: 3px solid var(--primary-color);
}

.menu-item.active .menu-icon {
    color: var(--primary-color);
}

.menu-item.active .menu-text h3 {
    color: var(--primary-color);
    font-weight: 600;
}

.menu-item.active .menu-text p {
    color: var(--primary-hover);
}

.menu-item-content {
    display: flex;
    align-items: center;
}

.menu-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.menu-text h3 {
    margin: 0px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.menu-text p {
    margin: 2px 0px 0px;
    font-size: 11px;
    color: var(--text-secondary);
}

.logout-btn {
    width: 100%;
    padding: 11px 16px;
    background: var(--error);
    color: white;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
}

.logout-btn:hover {
    background: rgb(204, 0, 0);
}

.main-content {
    flex: 1 1 0%;
    background: var(--bg-secondary);
    padding: 20px 0px;
}

.content-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.content-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.item-section-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
    min-height: 60vh;
}

.item-section-card .item-section-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 16px;
}

@media (max-width: 768px) {
    .item-section-card .item-section-header {
        display: none;
    }
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.profile-item {
    display: flex;
    flex-direction: column;
}

.profile-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.profile-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.upgrade-banner {
    background: linear-gradient(135deg, var(--accent) 0%, #b53200 100%);
    border-radius: var(--radius-lg);
    padding: 20px;
    color: white;
    margin-top: 20px;
}

.upgrade-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.upgrade-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.upgrade-text p {
    opacity: 0.9;
    font-size: 13px;
}

.upgrade-btn {
    background: white;
    color: var(--accent);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-size: 13px;
}

.upgrade-btn:hover {
    background: var(--bg-secondary);
    transform: translateY(-1px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.card-icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0px;
}

.notification-group {
    margin-bottom: 28px;
}

.group-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.notification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0px;
    border-bottom: 0.5px solid var(--border-color);
}

.notification-item:last-child {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.notification-info {
    flex: 1 1 0%;
}

.notification-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.notification-desc {
    font-size: 11px;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0px;
    height: 0px;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0px;
    background-color: rgb(210, 210, 215);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0px;
    height: 0px;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0px;
    background-color: rgb(210, 210, 215);
    transition: 0.3s;
    border-radius: 24px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider::before {
    transform: translateX(20px);
}

.password-requirements {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
}

.password-requirements h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.password-requirements ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.password-requirements li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.password-requirements li::before {
    content: "✓";
    position: absolute;
    left: 0px;
    color: var(--success);
}

.password-strength {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 500;
}

.password-strength.weak {
    color: var(--error);
}

.password-strength.medium {
    color: var(--warning);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: border-color 0.2s;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 15px;
    padding-right: 38px;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: rgba(29, 146, 197, 0.12) 0px 0px 0px 3px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: rgba(29, 146, 197, 0.12) 0px 0px 0px 3px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    justify-content: flex-end;
}

.form-actions .btn-secondary {
    text-align: center;
    text-decoration: none;
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 13px;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0px;
    border-bottom: 0.5px solid var(--border-color);
}

.setting-item:last-child {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.setting-info {
    flex: 1 1 0%;
    margin-right: 16px;
}

.setting-info h3 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.setting-info p {
    font-size: 11px;
    color: var(--text-secondary);
}

.range-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    min-width: 36px;
}

.range-input input[type="range"] {
    flex: 1 1 0%;
    max-width: 200px;
    accent-color: var(--primary-color);
}

.info-box {
    background: var(--primary-light);
    border: 1px solid rgba(29, 146, 197, 0.25);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-top: 20px;
}

.info-box-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-box-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-box-text {
    color: var(--primary-hover);
    font-size: 13px;
    margin: 0px;
}

.avatar-section {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.avatar-preview {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-secondary);
    border: 3px solid var(--bg-primary);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform 0.2s;
}

.avatar-preview:hover {
    transform: scale(1.05);
}

.membership-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.membership-avatar-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.membership-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bg-primary);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-secondary);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border-color) 100%);
}

.membership-user-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0px 0px 6px;
}

.membership-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.membership-details-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-group {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-color);
}

.detail-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0px 0px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.quota-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.quota-breakdown-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}

.quota-breakdown-card.base {
    background: linear-gradient(135deg, rgba(29, 146, 197, 0.08), rgba(29, 146, 197, 0.02));
}

.quota-breakdown-card.pack {
    background: linear-gradient(135deg, rgba(232, 68, 10, 0.08), rgba(232, 68, 10, 0.02));
}

.quota-breakdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.quota-breakdown-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.quota-breakdown-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.quota-breakdown-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.quota-breakdown-meta-item {
    min-width: 0px;
}

.quota-breakdown-meta-label {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.quota-breakdown-meta-value {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-word;
}

.quota-breakdown-track {
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.quota-breakdown-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.3s;
}

.quota-breakdown-empty {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    padding: 14px 12px;
    background: var(--bg-primary);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
}

.quota-hero-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgb(231, 238, 241) 0%, rgb(219, 229, 234) 52%, rgb(211, 221, 227) 100%);
    border: 1px solid rgba(89, 110, 124, 0.14);
    border-radius: 16px;
    padding: 18px;
    color: rgb(36, 51, 61);
    box-shadow: rgba(62, 78, 90, 0.08) 0px 10px 24px;
}

.quota-hero-card::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(134, 154, 166, 0.12);
}

.quota-hero-card::after {
    content: "";
    position: absolute;
    bottom: -55px;
    left: -35px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(116, 136, 148, 0.08);
}

.quota-hero-content {
    position: relative;
    z-index: 1;
}

.quota-hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(36, 51, 61, 0.58);
    margin-bottom: 8px;
}

.quota-hero-main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.quota-hero-value-wrap {
    min-width: 0px;
}

.quota-hero-value {
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    color: rgb(31, 47, 56);
    letter-spacing: -0.03em;
}

.quota-hero-caption {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(36, 51, 61, 0.72);
}

.quota-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    color: rgb(48, 66, 77);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(91, 110, 123, 0.12);
}

.quota-hero-track {
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(84, 102, 114, 0.12);
    margin-bottom: 12px;
}

.quota-hero-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgb(159, 179, 191) 0%, rgb(127, 152, 166) 55%, rgb(102, 129, 143) 100%);
    transition: width 0.3s;
}

.quota-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0px, 1fr));
    gap: 8px;
}

.quota-hero-stat {
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(91, 110, 123, 0.1);
    border-radius: 12px;
    padding: 10px 11px;
    backdrop-filter: blur(4px);
}

.quota-hero-stat-label {
    display: block;
    font-size: 10px;
    color: rgba(36, 51, 61, 0.56);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quota-hero-stat-value {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: rgb(34, 50, 59);
    word-break: break-word;
}

.quota-hero-note {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(36, 51, 61, 0.72);
}

.quota-purchase-card {
    background: linear-gradient(rgb(255, 249, 244) 0%, rgb(255, 255, 255) 100%);
    border: 1px solid rgba(232, 68, 10, 0.12);
    border-radius: 14px;
    padding: 14px;
    box-shadow: rgba(232, 68, 10, 0.08) 0px 10px 24px;
}

.quota-purchase-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.quota-purchase-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0px;
}

.quota-purchase-desc {
    margin: 4px 0px 0px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.quota-purchase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(232, 68, 10, 0.08);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.quota-purchase-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.quota-purchase-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: 12px;
    padding: 11px 16px;
    background: linear-gradient(135deg, rgb(255, 122, 40) 0%, rgb(232, 68, 10) 100%);
    color: rgb(255, 255, 255);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: rgba(232, 68, 10, 0.18) 0px 12px 24px;
}

.quota-purchase-primary:hover {
    filter: brightness(1.02);
}

.quota-pack-quick-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quota-pack-quick-btn {
    border: 1px solid rgba(232, 68, 10, 0.14);
    background: rgb(255, 255, 255);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 9px 12px;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 92px;
}

.quota-pack-quick-btn strong {
    font-size: 12px;
    font-weight: 700;
}

.quota-pack-quick-btn span {
    font-size: 11px;
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .quota-breakdown-meta {
        grid-template-columns: 1fr;
    }

    .quota-hero-stats {
        grid-template-columns: 1fr;
    }

    .quota-purchase-actions {
        flex-direction: column;
    }

    .quota-purchase-primary {
        width: 100%;
    }

    .quota-pack-quick-list {
        width: 100%;
    }

    .quota-pack-quick-btn {
        flex: 1 1 calc(50% - 8px);
    }
}

.detail-group h4 i {
    color: var(--text-secondary);
    font-size: 13px;
}

.detail-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0px;
}

.detail-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.detail-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

.token-hero-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgb(217, 230, 245);
    background: linear-gradient(135deg, rgb(248, 251, 255) 0%, rgb(238, 245, 253) 100%);
    box-shadow: rgba(255, 255, 255, 0.85) 0px 1px 0px inset, rgba(41, 84, 128, 0.08) 0px 14px 30px;
}

.token-hero-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.token-hero-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(107, 127, 150);
    margin-bottom: 8px;
}

.token-hero-value {
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    color: rgb(24, 59, 99);
    letter-spacing: -0.04em;
}

.token-hero-note {
    font-size: 13px;
    line-height: 1.6;
    color: rgb(97, 117, 141);
    margin-bottom: 16px;
}

.token-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.token-hero-primary, .token-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s;
}

.token-hero-primary {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    color: rgb(255, 255, 255);
    background: linear-gradient(135deg, rgb(37, 99, 235) 0%, rgb(29, 78, 216) 100%);
    box-shadow: rgba(37, 99, 235, 0.22) 0px 10px 22px;
}

.token-hero-secondary {
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: rgb(51, 65, 85);
    background: rgba(255, 255, 255, 0.86);
}

.token-hero-primary:hover, .token-hero-secondary:hover {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .membership-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .membership-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .detail-item {
        flex-direction: row;
        gap: 2px;
    }

    .detail-value {
        text-align: left;
    }

    .token-hero-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .token-hero-stats {
        grid-template-columns: 1fr;
    }

    .token-hero-value {
        font-size: 28px;
    }

    .membership-action {
        width: 100%;
    }
}

.notice-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(255, 244, 230);
    border: 1px solid var(--warning);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
}

.notice-text {
    flex: 1 1 0%;
    color: rgb(122, 68, 0);
    font-size: 12px;
}

.notice-action {
    margin-left: 10px;
}

.button-container {
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-flow: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

@media (min-width: 769px) {
    .button-container {
        gap: 14px;
    }
}

.checkout-table-tab {
    flex: 1 1 0%;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    user-select: none;
    position: relative;
}

.checkout-table-tab:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    color: var(--primary-color);
}

.checkout-table-tab.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border-color: var(--primary-color);
    box-shadow: rgba(29, 146, 197, 0.25) 0px 2px 8px;
    transform: translateY(1px);
}

.checkout-table-tab.active:hover {
    box-shadow: rgba(29, 146, 197, 0.35) 0px 3px 10px;
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
}

.checkout-table-tab.active:active {
    transform: translateY(2px);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px inset;
}

.checkout-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: var(--radius-sm);
    padding: 11px 22px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: rgba(29, 146, 197, 0.3) 0px 3px 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 160px;
    justify-content: center;
    max-width: 600px;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: rgba(29, 146, 197, 0.4) 0px 5px 14px;
}

.checkout-btn:active {
    transform: translateY(0px);
}

.checkout-btn:disabled {
    background: rgb(210, 210, 215);
    color: rgb(110, 110, 115);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    transform: none;
}

@media (max-width: 768px) {
    .checkout-btn {
        padding: 10px 18px;
        font-size: 13px;
        min-width: 110px;
    }
}

@media (max-width: 480px) {
    .checkout-btn {
        padding: 8px 14px;
        font-size: 12px;
        min-width: 100px;
    }
}

.status-badge i {
    margin-right: 3px;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-primary);
}

.benefit-item i {
    font-size: 15px;
    color: var(--primary-color);
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    font-weight: 700;
    color: rgb(139, 126, 114);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.orders-header-left {
    text-align: left;
}

.orders-header-right {
    text-align: right;
}

.billing-list-shell {
    display: flex;
    flex-direction: column;
    gap: 0px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgb(237, 233, 227);
    background: rgb(255, 255, 255);
}

.order-item {
    position: relative;
    padding: 16px 18px 16px 24px;
    background: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(242, 237, 232);
    transition: background 0.14s;
    box-sizing: border-box;
    overflow: hidden;
}

.order-item:last-child {
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
}

.order-item:hover {
    background: rgb(253, 252, 251);
}

.billing-record-type {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgb(242, 237, 231);
    color: rgb(124, 110, 98);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.billing-record-type.spending {
    background: rgb(255, 240, 239);
    color: rgb(192, 57, 43);
}

.order-summary-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0px;
}

.order-row {
    display: grid;
    grid-template-columns: minmax(0px, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-width: 0px;
}

.order-title {
    font-size: 15px;
    font-weight: 600;
    color: rgb(26, 24, 20);
    line-height: 1.4;
    min-width: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-amount {
    font-size: 12px;
    font-weight: 700;
    color: rgb(26, 24, 20);
    letter-spacing: -0.03em;
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
}

.order-amount.spending {
    color: rgb(110, 110, 115);
}

.order-meta {
    font-size: 11px;
    color: rgb(160, 150, 144);
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0px;
}

.order-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.order-status.TRADE_SUCCESS {
    background: rgb(240, 253, 244);
    color: rgb(22, 163, 74);
}

.order-status.TRADE_PENDING {
    background: rgb(255, 251, 235);
    color: rgb(217, 119, 6);
}

.order-status.TRADE_REFUND {
    background: rgb(248, 250, 252);
    color: rgb(100, 116, 139);
}

.order-status.status-failed {
    background: rgb(254, 242, 242);
    color: rgb(220, 38, 38);
}

.order-time {
    font-size: 11px;
    color: rgb(160, 150, 144);
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

.order-info-left {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.info-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 5px;
    background: rgb(245, 242, 238);
    flex-shrink: 0;
    max-width: 100%;
}

.info-label {
    font-weight: 600;
    color: rgb(160, 150, 144);
}

.info-value {
    color: rgb(74, 69, 64);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 9px 13px;
    border: 1px solid rgba(161, 146, 127, 0.24);
    background: rgb(255, 253, 250);
    color: rgb(91, 82, 73);
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.18s;
    box-shadow: rgba(66, 45, 20, 0.05) 0px 10px 22px;
}

.page-btn:hover {
    background: rgb(255, 244, 234);
    border-color: rgb(230, 177, 122);
}

.page-btn.active {
    background: rgb(183, 106, 56);
    color: white;
    border-color: rgb(183, 106, 56);
    font-weight: 600;
}

.page-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
}

.empty-state-icon {
    font-size: 44px;
    margin-bottom: 14px;
    color: rgb(210, 210, 215);
}

.empty-state h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 13px;
}

.loading {
    text-align: center;
    padding: 36px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .orders-header {
        display: none;
    }

    .order-item {
        padding: 13px 14px 13px 20px;
    }

    .order-row {
        gap: 10px;
    }

    .order-title {
        font-size: 14px;
        white-space: normal;
    }

    .order-meta {
        white-space: normal;
    }

    .order-amount {
        font-size: 16px;
    }

    .order-info-left {
        gap: 5px;
    }

    .info-item {
        padding: 3px 7px;
    }
}

.alert {
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    border-left: 3px solid;
    font-size: 13px;
}

.alert-info {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-hover);
}

.alert-success {
    background-color: rgb(230, 250, 243);
    border-color: var(--success);
    color: rgb(10, 124, 74);
}

.email-display {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0px;
}

.email-status-unbound {
    color: var(--error);
}

.email-status-unverified {
    color: var(--warning);
}

.email-status-pending {
    color: var(--warning);
}

.email-status-verified {
    color: var(--success);
}

.verification-steps {
    margin-top: 14px;
}

.verification-steps h4 {
    margin: 0px 0px 7px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
}

.verification-steps ol, .verification-steps ul {
    margin: 0px;
    padding-left: 18px;
}

.verification-steps li {
    margin-bottom: 7px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.4;
}

#camouflageStatus {
    margin-left: 10px;
}

.auth-modal-close:hover {
    background: var(--bg-secondary);
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 18px;
}

.auth-modal-header h2 {
    margin: 0px 0px 6px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

.auth-modal-header p {
    margin: 0px;
    color: var(--text-secondary);
    font-size: 13px;
}

.promotion-content {
    margin-bottom: 18px;
}

.promotion-content ul {
    margin: 0px 0px 14px;
    padding-left: 18px;
}

.promotion-content li {
    margin-bottom: 7px;
    color: var(--text-secondary);
    font-size: 13px;
}

.promotion-conditions {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 18px;
}

.promotion-conditions h4 {
    margin: 0px 0px 10px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
}

.promotion-conditions ul {
    margin: 0px;
    padding-left: 18px;
}

.promotion-conditions li {
    margin-bottom: 5px;
    color: var(--text-secondary);
    font-size: 12px;
}

.plans-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.plan-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 30px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.plan-card:hover {
    transform: translateX(4px);
    box-shadow: rgba(0, 0, 0, 0.12) 0px 4px 16px;
}

.plan-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.082) 0%, rgba(118, 75, 162, 0.082) 100%);
    box-shadow: rgba(102, 126, 234, 0.2) 0px 4px 16px;
}

.plan-card.popular::before {
    content: "最受欢迎";
    position: absolute;
    top: 15px;
    right: -35px;
    background: orange;
    color: white;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: rgba(244, 115, 33, 0.4) 0px 2px 8px;
}

.plan-card-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1 1 0%;
}

.plan-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.token-plan-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    position: relative;
    box-shadow: rgba(255, 255, 255, 0.7) 0px 1px 0px inset, rgba(37, 99, 235, 0.12) 0px 12px 24px;
}

.token-plan-icon i {
    font-size: 26px;
    line-height: 1;
}

.token-plan-icon-basic {
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.96) 0%, rgba(186, 230, 253, 0.92) 100%);
    color: rgb(3, 105, 161);
    border: 1px solid rgba(56, 189, 248, 0.32);
}

.token-plan-icon-premium {
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.98) 0%, rgba(254, 215, 170, 0.94) 100%);
    color: rgb(194, 65, 12);
    border: 1px solid rgba(251, 146, 60, 0.34);
    box-shadow: rgba(255, 255, 255, 0.78) 0px 1px 0px inset, rgba(249, 115, 22, 0.16) 0px 14px 26px;
}

.token-plan-icon-premium::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 210, 128, 0.9) 45%, rgba(255, 153, 0, 0.18) 100%);
    box-shadow: rgba(255, 153, 0, 0.32) 0px 0px 16px;
}

.plan-info {
    flex: 1 1 0%;
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0px;
}

.plan-card-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.plan-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    white-space: nowrap;
}

.plan-price small {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 4px;
}

.savings-badge {
    display: inline-block;
    background: rgb(255, 243, 205);
    color: rgb(133, 100, 4);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .plan-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .plan-card-left {
        width: 100%;
    }

    .plan-card-right {
        width: 100%;
        justify-content: space-between;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
    }

    .plan-icon {
        font-size: 36px;
    }

    .token-plan-icon {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }

    .token-plan-icon i {
        font-size: 22px;
    }

    .plan-price {
        font-size: 28px;
    }

    .plan-price small {
        font-size: 14px;
    }

    .page-title {
        font-size: 20px;
    }
}

.payment-card {
    display: none;
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.payment-card.active {
    display: block;
}

.loading-animation {
    width: 80px;
    height: 80px;
    margin: 0px auto 20px;
}

.loading-circle {
    width: 100%;
    height: 100%;
    border-width: 4px;
    border-style: solid;
    border-right-color: rgb(240, 240, 240);
    border-bottom-color: rgb(240, 240, 240);
    border-left-color: rgb(240, 240, 240);
    border-image: initial;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: 1s linear 0s infinite normal none running spin;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0px;
}

.payment-expire {
    color: var(--error-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.order-info {
    text-align: left;
    margin: 30px 0px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.order-info div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.order-info div span:first-child {
    color: var(--text-secondary);
}

.order-info div span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.check-button {
    background: var(--primary-color);
    color: white;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: 8px;
    padding: 14px 0px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.check-button:hover:not(:disabled) {
    background: var(--primary-hover);
}

.check-button:disabled {
    background: rgb(204, 204, 204);
    cursor: not-allowed;
}

.check-button .spinner {
    display: none;
    animation: 1s linear 0s infinite normal none running spin;
}

.check-button.loading .spinner {
    display: inline-block;
}

.check-button.loading .text {
    display: none;
}

.timer-text {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 10px;
}

.status-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.status-message.success {
    background-color: rgb(212, 237, 218);
    color: rgb(21, 87, 36);
    display: block;
}

.status-message.error {
    background-color: rgb(248, 215, 218);
    color: rgb(114, 28, 36);
    display: block;
    margin-bottom: 16px;
}

.creating-order {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.creating-order.active {
    display: flex;
}

.checkout-terms {
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.checkout-terms a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkout-terms a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .plans-container {
        grid-template-columns: 1fr;
    }
}

.promotion-content {
    text-align: center;
}

.promotion-content ul {
    list-style: none;
    padding: 0px;
    margin: 16px 0px;
}

.promotion-content li {
    padding: 8px 0px;
    color: rgb(51, 51, 51);
    font-size: 16px;
}

.promotion-conditions {
    background: rgb(248, 249, 250);
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0px;
    text-align: left;
}

.promotion-conditions h4 {
    margin: 0px 0px 12px;
    color: rgb(28, 28, 30);
    font-size: 16px;
    font-weight: 600;
}

.promotion-conditions ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.promotion-conditions li {
    padding: 4px 0px;
    color: rgb(102, 102, 102);
    font-size: 14px;
}

.btn-submit {
    background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%);
    color: white;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
    margin-top: 20px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: rgba(102, 126, 234, 0.3) 0px 8px 20px;
}

.btn-submit:disabled {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.promotion-card {
    background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: rgba(102, 126, 234, 0.3) 0px 8px 32px;
    position: relative;
    overflow: hidden;
    animation: 0.6s ease-out 0s 1 normal none running slideInFromTop;
}

.promotion-card::before {
    content: "";
    position: absolute;
    inset: 0px;
    background: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><defs><pattern id=\"grain\" width=\"100\" height=\"100\" patternUnits=\"userSpaceOnUse\"><circle cx=\"25\" cy=\"25\" r=\"1\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"75\" cy=\"75\" r=\"1\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"50\" cy=\"10\" r=\"0.5\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"10\" cy=\"50\" r=\"0.5\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"90\" cy=\"50\" r=\"0.5\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"50\" cy=\"90\" r=\"0.5\" fill=\"rgba(255,255,255,0.1)\"/></pattern></defs><rect width=\"100\" height=\"100\" fill=\"url(%23grain)\"/></svg>");
    opacity: 0.3;
    pointer-events: none;
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.promotion-card-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.promotion-icon {
    font-size: 48px;
    animation: 2s ease 0s infinite normal none running bounce;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0px);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.promotion-info {
    flex: 1 1 0%;
    color: white;
}

.promotion-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0px 0px 8px;
    text-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px;
}

.promotion-desc {
    font-size: 16px;
    margin: 0px 0px 12px;
    opacity: 0.9;
}

.promotion-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.promotion-claim-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: rgba(0, 0, 0, 0.2) 0px 1px 2px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 16px;
}

.promotion-claim-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 24px;
}

.promotion-claim-btn:active {
    transform: translateY(0px);
}

.app-promotion-card {
    background: linear-gradient(135deg, rgb(0, 184, 148) 0%, rgb(0, 206, 201) 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: rgba(0, 184, 148, 0.3) 0px 8px 32px;
    position: relative;
    overflow: hidden;
    animation: 0.6s ease-out 0s 1 normal none running slideInFromTop;
}

.app-promotion-card::before {
    content: "";
    position: absolute;
    inset: 0px;
    background: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><defs><pattern id=\"grain2\" width=\"100\" height=\"100\" patternUnits=\"userSpaceOnUse\"><circle cx=\"25\" cy=\"25\" r=\"1\" fill=\"rgba(255,255,255,0.1)\"/><circle cx=\"75\" cy=\"75\" r=\"1\" fill=\"rgba(255,255,255,0.1)\"/></pattern></defs><rect width=\"100\" height=\"100\" fill=\"url(%23grain2)\"/></svg>");
    opacity: 0.3;
    pointer-events: none;
}

@media (max-width: 768px) {
    .promotion-card-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .promotion-icon {
        font-size: 40px;
    }

    .promotion-title {
        font-size: 20px;
    }

    .promotion-features {
        justify-content: center;
    }

    .promotion-claim-btn {
        width: 100%;
        justify-content: center;
    }
}

.reset-plan-btn {
    background: rgb(243, 244, 246);
    border: 1px solid rgb(209, 213, 219);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    color: rgb(55, 65, 81);
    cursor: pointer;
    margin-right: 12px;
    transition: 0.2s;
}

.reset-plan-btn:hover {
    background: rgb(229, 231, 235);
    border-color: rgb(156, 163, 175);
}

.app-container {
    max-width: 1000px;
    margin: 0px auto;
}

.app-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgb(29, 146, 197) 0%, rgb(22, 128, 173) 100%);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: rgba(29, 146, 197, 0.2) 0px 20px 50px;
}

.app-hero-content {
    flex: 1 1 0%;
    color: rgb(255, 255, 255);
}

.app-hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.app-hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.app-hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-download-btn {
    background: rgb(255, 255, 255);
    color: rgb(29, 146, 197);
    padding: 15px 35px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 20px;
}

.hero-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 30px;
}

.hero-download-btn i {
    font-size: 22px;
}

.app-hero-qr {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-box {
    width: 180px;
    height: 180px;
    background: rgb(255, 255, 255);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 10px 30px;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.qr-box::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, rgb(29, 146, 197), rgb(22, 128, 173), rgb(29, 146, 197)) 0% 0% / 300% 300%;
    border-radius: 18px;
    z-index: -1;
    animation: 3s ease 0s infinite normal none running gradientMove;
}

@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.qr-box canvas, .qr-box img {
    border-radius: 8px;
    display: block;
}

.qr-box > span {
    text-align: center;
}

.qr-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qr-label i {
    font-size: 16px;
}

.download-section {
    background: rgb(255, 255, 255);
    border-radius: 20px;
    padding: 40px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 20px 50px;
}

.download-header {
    text-align: center;
    margin-bottom: 40px;
}

.download-header h2 {
    font-size: 28px;
    color: rgb(29, 29, 31);
    margin-bottom: 10px;
}

.download-header p {
    color: rgb(110, 110, 115);
    font-size: 16px;
}

.download-card {
    background: linear-gradient(135deg, rgb(0, 184, 148) 0%, rgb(0, 206, 201) 100%);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 184, 148, 0.3) 0px 15px 40px;
}

.download-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-icon i {
    font-size: 40px;
    color: rgb(255, 255, 255);
}

.download-info {
    flex: 1 1 0%;
    color: rgb(255, 255, 255);
}

.download-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.download-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.download-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.download-btn {
    background: rgb(255, 255, 255);
    color: rgb(0, 184, 148);
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.download-btn:hover {
    background: rgb(240, 255, 244);
    transform: scale(1.05);
}

.download-btn i {
    font-size: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.feature-card {
    background: rgb(248, 249, 250);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    background: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 30px;
    transform: translateY(-3px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgb(29, 146, 197) 0%, rgb(22, 128, 173) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px auto 15px;
}

.feature-icon i {
    font-size: 28px;
    color: rgb(255, 255, 255);
}

.feature-card h4 {
    font-size: 16px;
    color: rgb(29, 29, 31);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: rgb(110, 110, 115);
    line-height: 1.5;
}

.install-guide {
    margin-top: 40px;
    padding: 30px;
    background: rgb(248, 249, 250);
    border-radius: 12px;
}

.install-guide h3 {
    font-size: 20px;
    color: rgb(29, 29, 31);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.install-guide h3 i {
    color: rgb(29, 146, 197);
}

.install-steps {
    display: flex;
    gap: 20px;
}

.install-step {
    flex: 1 1 0%;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgb(29, 146, 197) 0%, rgb(22, 128, 173) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 15px;
    color: rgb(29, 29, 31);
    margin-bottom: 5px;
}

.step-content p {
    font-size: 13px;
    color: rgb(110, 110, 115);
    line-height: 1.5;
}

.disclaimer {
    margin-top: 30px;
    padding: 20px;
    background: rgb(255, 243, 205);
    border-radius: 10px;
    border-left: 4px solid rgb(255, 193, 7);
}

.disclaimer p {
    font-size: 13px;
    color: rgb(133, 100, 4);
    margin: 0px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.disclaimer i {
    font-size: 16px;
    margin-top: 2px;
}

@media (max-width: 900px) {
    .app-hero {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 30px;
    }

    .app-hero-title {
        font-size: 32px;
    }

    .app-hero-subtitle {
        font-size: 16px;
    }

    .app-hero-actions {
        justify-content: center;
    }

    .app-hero-qr {
        order: -1;
    }

    .qr-box {
        width: 150px;
        height: 150px;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .install-steps {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .app-hero {
        padding: 30px 20px;
    }

    .app-hero-title {
        font-size: 26px;
    }

    .download-section {
        padding: 25px 20px;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 30px;
    }

    .hero-download-btn {
        width: 100%;
        justify-content: center;
    }

    .download-meta {
        flex-direction: column;
        gap: 8px;
    }
}

.privacy-container {
    max-width: 800px;
    margin: 0px auto;
    padding: 40px 20px;
    line-height: 1.6;
}

.privacy-header {
    text-align: center;
    margin-bottom: 40px;
}

.privacy-header h1 {
    color: rgb(29, 29, 31);
    font-size: 20px;
    margin-bottom: 10px;
}

.privacy-header p {
    color: rgb(110, 110, 115);
    font-size: 16px;
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-section h2 {
    color: rgb(29, 29, 31);
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.privacy-section h3 {
    color: rgb(29, 29, 31);
    font-size: 16px;
    margin: 20px 0px 10px;
}

.privacy-section p {
    color: rgb(61, 61, 63);
    margin-bottom: 15px;
}

.privacy-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-section li {
    color: rgb(61, 61, 63);
    margin-bottom: 8px;
}

.contact-info {
    background-color: rgb(248, 248, 250);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-info h3 {
    margin-top: 0px;
}

.last-updated {
    text-align: center;
    color: rgb(110, 110, 115);
    font-style: italic;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgb(229, 229, 231);
}

.terms-header {
    text-align: center;
    margin-bottom: 40px;
}

.terms-header h1 {
    color: rgb(29, 29, 31);
    font-size: 20px;
    margin-bottom: 10px;
}

.terms-header p {
    color: rgb(110, 110, 115);
    font-size: 16px;
}

.terms-item-section {
    margin-bottom: 30px;
}

.terms-item-section h2 {
    color: rgb(29, 29, 31);
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.terms-item-section h3 {
    color: rgb(29, 29, 31);
    font-size: 14px;
    margin: 20px 0px 10px;
}

.terms-item-section p {
    color: rgb(61, 61, 63);
    margin-bottom: 15px;
}

.terms-item-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.terms-item-section li {
    color: rgb(61, 61, 63);
    margin-bottom: 8px;
}

.important-notice {
    background-color: rgb(255, 243, 205);
    border: 1px solid rgb(255, 234, 167);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0px;
}

.important-notice h3 {
    color: rgb(133, 100, 4);
    margin-top: 0px;
}

.contact-info {
    background-color: rgb(248, 248, 250);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-info h3 {
    margin-top: 0px;
}

.last-updated {
    text-align: center;
    color: rgb(110, 110, 115);
    font-style: italic;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgb(229, 229, 231);
}
