@import url('./_variables.css');

/* prestige_dark.css - Premium Dark Theme */

:root {
    /* Background Colors */
    --bg-primary: #0d0d0f;
    --bg-secondary: #13131a;
    --bg-card: rgba(25, 25, 35, 0.8);
    --bg-card-hover: rgba(35, 35, 50, 0.9);

    /* Gradient Colors from Logo */
    --gradient-start: #4ecdc4;
    /* Cyan/Teal */
    --gradient-mid: #a29bfe;
    /* Purple */
    --gradient-end: #fd79a8;
    /* Pink */
    --gradient-accent: #ffeaa7;
    /* Gold/Yellow */

    /* Main gradient */
    --gradient-main: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    --gradient-glow: linear-gradient(135deg, rgba(78, 205, 196, 0.3), rgba(162, 155, 254, 0.3), rgba(253, 121, 168, 0.3));

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;

    /* Accent */
    --accent-gold: #ffd700;
    --accent-success: #00d26a;
    --accent-error: #ff4757;

    /* Effects */
    --glow-cyan: 0 0 40px rgba(78, 205, 196, 0.4);
    --glow-purple: 0 0 40px rgba(162, 155, 254, 0.4);
    --glow-pink: 0 0 40px rgba(253, 121, 168, 0.4);

    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Font */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Shared top navigation (used by /prestige) */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: saturate(1.2) blur(8px);
    -webkit-backdrop-filter: saturate(1.2) blur(8px);
    background: rgba(12, 14, 22, 0.5);
    z-index: -1;
}

.site-nav-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(12px, 3vw, 32px);
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    flex: 0 0 auto;
}

.site-nav-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: url('/assets/logo_noel_140.webp') center/cover no-repeat, var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

.site-nav-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
}

.site-nav-tab:hover {
    background: rgba(255, 255, 255, 0.11);
}

.site-nav-tab.active {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.35);
    background: rgba(255, 215, 0, 0.12);
}

.site-nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(88, 101, 242, 0.32);
}

.site-nav-action:hover {
    filter: brightness(1.06);
}

/* Animated Background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(78, 205, 196, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(253, 121, 168, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(162, 155, 254, 0.05) 0%, transparent 60%);
    z-index: -2;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-start);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.glow-2 {
    width: 350px;
    height: 350px;
    background: var(--gradient-end);
    bottom: -50px;
    right: -100px;
    animation-delay: -7s;
}

.glow-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-mid);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(10px, 10px) scale(1.05);
    }
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0 4rem;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.badge-text {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--gradient-main);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-logo {
    margin-bottom: 2rem;
}

.logo-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(78, 205, 196, 0.5));
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 30px rgba(78, 205, 196, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 50px rgba(253, 121, 168, 0.6));
    }
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price-period {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Section Title */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.section-title i {
    color: var(--gradient-start);
    font-size: 1.8rem;
}

/* Benefits Grid */
.benefits {
    padding: 2rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid rgba(78, 205, 196, 0.15);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(78, 205, 196, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.15);
}

.benefit-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(78, 205, 196, 0.15);
    border-radius: var(--radius-sm);
    color: var(--gradient-start);
    font-size: 1.4rem;
}

.benefit-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.benefit-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Bonus Section */
.bonus-section {
    padding: 2rem 0;
}

.bonus-card {
    position: relative;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(162, 155, 254, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.bonus-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.4rem 1rem;
    background: var(--accent-gold);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0 var(--radius-lg) 0 var(--radius-md);
}

.bonus-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.bonus-card h3 i {
    margin-right: 0.5rem;
}

.bonus-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.bonus-card p strong {
    color: var(--text-primary);
}

/* Purchase Section */
.purchase-section {
    padding: 2rem 0;
}

.purchase-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: visible;
    backdrop-filter: blur(10px);
}

.purchase-header {
    text-align: center;
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.purchase-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.purchase-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.big-price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.purchase-body {
    padding: 2rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.purchase-footer {
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.purchase-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Loading State */
.loading-state {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--gradient-start);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Login Button */
.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.login-btn i {
    font-size: 1.5rem;
}

.login-hint {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 300px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gradient-start);
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* PayPal Container */
.paypal-container {
    width: 100%;
    max-width: 360px;
    overflow: visible;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
    max-width: 360px;
    align-items: center;
}

.payment-option {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.payment-divider {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    opacity: 0.5;
    margin: -2px 0;
}

.stripe-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 15, 20, 0.8);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stripe-button:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.stripe-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.stripe-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* Success State */
.success-state {
    text-align: center;
    color: var(--accent-success);
}

.success-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-state h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.success-state p {
    color: var(--text-secondary);
}

/* Error State */
.error-state {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-error);
}

.info-state {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f1c40f;
}

/* Member Status (already subscribed) */
.member-status {
    text-align: center;
    width: 100%;
}

.member-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--gradient-main);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

.member-badge i {
    font-size: 2.5rem;
    color: white;
}

.member-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.member-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.member-label {
    font-size: 0.75rem;
    color: var(--gradient-start);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.member-thanks {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Cancellation Section */
.cancel-card {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(78, 205, 196, 0.18);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.08);
    color-scheme: dark;
}

.cancel-card.cancel-info {
    border-color: rgba(78, 205, 196, 0.3);
    background: rgba(78, 205, 196, 0.08);
}

.cancel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cancel-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.cancel-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.cancel-toggle {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-xl);
    border: none;
    background: var(--gradient-main);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--glow-cyan);
}

.cancel-toggle:hover {
    box-shadow: 0 12px 28px rgba(78, 205, 196, 0.35);
    transform: translateY(-1px);
}

.cancel-body {
    margin-top: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.cancel-body.open {
    display: flex;
}

.cancel-field label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.cancel-field select,
.cancel-field textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(78, 205, 196, 0.2);
    background: rgba(19, 19, 26, 0.85);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.cancel-field select {
    appearance: none;
    padding-right: 2.5rem;
    color-scheme: dark;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath fill='%23a0a0b0' d='M7.247 11.14 2.451 5.658A1 1 0 0 1 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 14px 14px;
}

.cancel-field select:invalid {
    color: var(--text-muted);
}

.cancel-field select option {
    background: #15151d;
    color: var(--text-primary);
}

.cancel-field textarea {
    resize: vertical;
    min-height: 90px;
}

.cancel-field select:focus,
.cancel-field textarea:focus {
    outline: none;
    border-color: var(--gradient-start);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.cancel-options {
    display: grid;
    gap: 0.75rem;
}

.cancel-option {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(78, 205, 196, 0.18);
    background: rgba(19, 19, 26, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-option:hover {
    border-color: rgba(78, 205, 196, 0.4);
}

.cancel-option input {
    margin-top: 0.2rem;
}

.cancel-option.static {
    cursor: default;
    background: rgba(78, 205, 196, 0.08);
    border-color: rgba(78, 205, 196, 0.3);
}

.option-title {
    display: block;
    font-weight: 600;
}

.option-note {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cancel-confirm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cancel-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cancel-submit {
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-xl);
    border: none;
    background: var(--accent-error);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.3);
}

.cancel-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cancel-support {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.cancel-error,
.cancel-success {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    display: none;
}

.cancel-error {
    color: var(--accent-error);
}

.cancel-success {
    color: var(--accent-success);
}

/* Terms Section */
.terms-section {
    padding: 2rem 0;
}

.terms-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.terms-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.terms-card h3 i {
    color: var(--accent-gold);
}

.terms-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.terms-card a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.terms-card li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.terms-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.terms-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-style: italic;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: underline;
}

.legal-placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: none;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.cookie-banner.active {
    display: flex;
}

.cookie-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 680px;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    cursor: pointer;
}

.cookie-btn.primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border-color: transparent;
    font-weight: 700;
}

.cookie-link {
    color: var(--accent-gold);
    text-decoration: underline;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .hero {
        padding: 2rem 0 3rem;
    }

    .logo-img {
        width: 100px;
        height: 100px;
    }

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

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 1rem;
    }

    .purchase-header,
    .purchase-body {
        padding: 1.5rem;
    }

    .cancel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cancel-confirm {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Test Section (TEMPORARY) */
.test-section {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px dashed rgba(255, 165, 0, 0.3);
    margin-top: 2rem;
}

.test-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 165, 0, 0.2);
    border: 1px solid rgba(255, 165, 0, 0.5);
    color: orange;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.test-btn:hover {
    background: rgba(255, 165, 0, 0.3);
    transform: translateY(-2px);
}

.test-result {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ==================== GIFT SECTION ==================== */
.gift-section {
    padding: 2rem 0;
    margin-top: 2rem;
}

.gift-card {
    background: var(--bg-card);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--glow-cyan);
}

.gift-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.gift-header i {
    font-size: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gift-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gift-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.gift-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Duration Selector */
.gift-duration-selector label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.duration-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.duration-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.duration-btn:hover {
    background: rgba(78, 205, 196, 0.1);
    border-color: rgba(78, 205, 196, 0.3);
    transform: translateY(-2px);
}

.duration-btn.active {
    background: rgba(78, 205, 196, 0.15);
    border-color: var(--gradient-start);
    color: var(--text-primary);
    box-shadow: var(--glow-cyan);
}

.duration-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.duration-price {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.duration-discount {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-success);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
}

/* Recipient Input */
.gift-recipient label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.gift-recipient input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.gift-recipient input:focus {
    outline: none;
    border-color: var(--gradient-start);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.gift-recipient input::placeholder {
    color: var(--text-muted);
}

.input-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Gift PayPal Container */
#gift-paypal-container {
    margin-top: 1rem;
}

#gift-error,
#gift-success {
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

#gift-error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--accent-error);
}

#gift-success {
    background: rgba(0, 210, 106, 0.1);
    border: 1px solid rgba(0, 210, 106, 0.3);
    color: var(--accent-success);
}

/* Responsive */
@media (max-width: 480px) {
    .duration-options {
        grid-template-columns: 1fr;
    }

    .gift-card {
        padding: 1.5rem;
    }
}

/* Gift CTA Styles (for main prestige page link) */
.gift-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gift-price-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.gift-price-preview strong {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.25rem;
}

.gift-discount-tag {
    background: var(--accent-success);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
}

.gift-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-main);
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--glow-cyan);
}

.gift-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.4);
}

.gift-cta-btn i {
    font-size: 1.25rem;
}

/* Back link */
.back-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-muted);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-secondary);
}

/* Mobile hamburger navigation */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    z-index: 120;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.12s ease;
}
.nav-hamburger:hover { background: rgba(255, 255, 255, 0.10); }
.nav-hamburger .bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-hamburger.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-active .bar:nth-child(2) { opacity: 0; }
.nav-hamburger.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
    .nav-hamburger { display: flex; }

    .site-nav-inner {
        min-height: 56px;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
    }

    .site-nav-tabs {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 16px;
        background: rgb(12, 14, 22);
        z-index: 999;
        overflow-y: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-nav-tabs.mobile-open { display: flex; }

    .site-nav-tabs .site-nav-tab {
        width: 100%;
        padding: 14px 18px;
        font-size: 15px;
        font-weight: 700;
        border-radius: 14px;
        justify-content: flex-start;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(255, 255, 255, 0.03);
    }

    .site-nav-tabs .site-nav-tab:hover { background: rgba(255, 215, 0, 0.08); border-color: rgba(255, 215, 0, 0.15); }
    .site-nav-tabs .site-nav-tab.active { background: rgba(255, 215, 0, 0.10); border-color: rgba(255, 215, 0, 0.3); color: #ffd700; }

    .site-nav-action {
        font-size: 13px;
        padding: 8px 14px;
        flex-shrink: 0;
    }
}

@media (max-width: 520px) {
    .site-nav-action { display: none; }
}

/* ── Crypto payment panel ── */
.crypto-button i { font-size: 1.1rem; color: #f7931a; }

.crypto-panel {
  margin-top: 1rem;
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(15,15,20,0.9);
  backdrop-filter: blur(12px);
}
.crypto-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.6rem;
}
.crypto-panel-header h4 {
  margin: 0; font-size: 0.95rem; display: flex; align-items: center; gap: 0.4rem;
}
.crypto-close {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  font-size: 1.1rem; padding: 4px;
}
.crypto-close:hover { color: #fff; }

.crypto-instructions {
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; margin: 0 0 0.8rem;
}
.crypto-instructions strong { color: #fff; }

.crypto-duration-selector {
  display: flex; gap: 0.5rem; margin-bottom: 1rem;
}
.crypto-dur {
  flex: 1; padding: 0.45rem 0; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12);
  background: transparent; color: var(--text-muted); font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease;
}
.crypto-dur:hover { border-color: rgba(255,255,255,0.25); color: #fff; }
.crypto-dur.active {
  background: rgba(247,147,26,0.15); border-color: rgba(247,147,26,0.5); color: #f7931a;
}

/* Crypto coin card selector */
.crypto-coin-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 1rem;
}
@media (max-width: 420px) { .crypto-coin-cards { grid-template-columns: repeat(2, 1fr); } }
.crypto-coin-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  padding: 0.6rem 0.3rem; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.025);
  cursor: pointer; transition: all 0.2s ease; color: var(--text-muted);
  font-family: inherit;
}
.crypto-coin-card:hover {
  border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.05);
}
.crypto-coin-card.selected {
  border-color: rgba(247,147,26,0.5); background: rgba(247,147,26,0.07);
  box-shadow: 0 0 16px rgba(247,147,26,0.08);
}
img.crypto-coin-icon {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  transition: transform 0.2s ease;
}
.crypto-coin-card:hover .crypto-coin-icon,
.crypto-coin-card.selected .crypto-coin-icon { transform: scale(1.1); }
.crypto-coin-name { font-size: 0.76rem; font-weight: 600; color: #fff; }
.crypto-coin-network { font-size: 0.6rem; color: rgba(255,255,255,0.3); }

.crypto-generate-btn {
  width: 100%; padding: 0.7rem; border-radius: 10px;
  border: 1px solid rgba(247,147,26,0.35);
  background: linear-gradient(135deg, rgba(247,147,26,0.14), rgba(247,147,26,0.04));
  color: #f7931a; font-size: 0.88rem; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all 0.2s ease;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  margin-bottom: 0.8rem;
}
.crypto-generate-btn:hover:not(:disabled) {
  border-color: rgba(247,147,26,0.65);
  background: linear-gradient(135deg, rgba(247,147,26,0.22), rgba(247,147,26,0.08));
}
.crypto-generate-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* Recipient preview card */
.recipient-preview {
  display: flex; align-items: center; gap: 0.7rem;
  margin-top: 0.6rem; padding: 0.6rem 0.8rem;
  border-radius: 10px; border: 1px solid rgba(78,205,196,0.25);
  background: rgba(78,205,196,0.06); animation: fadeInUp 0.2s ease;
}
.recipient-preview.rp-error {
  border-color: rgba(255,80,80,0.25); background: rgba(255,80,80,0.06);
}
.recipient-preview .rp-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(78,205,196,0.3);
}
.recipient-preview .rp-info { display: flex; flex-direction: column; min-width: 0; }
.recipient-preview .rp-display {
  font-size: 0.88rem; font-weight: 600; color: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.recipient-preview .rp-username {
  font-size: 0.72rem; color: var(--text-muted, #8a94a6);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.recipient-preview .rp-loading {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; color: var(--text-muted, #8a94a6);
}

.crypto-selected-addr {
  margin-bottom: 0.6rem; animation: fadeInUp 0.2s ease;
}
.crypto-manual-tx {
  width: 100%; padding: 0.6rem 0.8rem; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(0,0,0,0.3);
  color: #fff; font-size: 0.85rem; font-family: inherit;
  margin-bottom: 0.6rem; box-sizing: border-box;
}
.crypto-manual-tx:focus { outline: none; border-color: rgba(247,147,26,0.5); }

/* Legacy address row (used in invoice display) */
.crypto-addr-row {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.7rem; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem; overflow: hidden;
}
.crypto-addr-label {
  font-weight: 700; min-width: 50px; color: #f7931a; font-size: 0.7rem; text-transform: uppercase;
}
.crypto-addr-value {
  flex: 1; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
}
.crypto-addr-copy {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  font-size: 0.85rem; padding: 2px 4px; flex-shrink: 0; transition: color 0.2s;
}
.crypto-addr-copy:hover { color: #fff; }
.crypto-addr-copy.copied { color: #4ecdc4; }

.crypto-success {
  display: flex; align-items: center; gap: 0.4rem;
  color: #4ecdc4; font-size: 0.85rem; margin: 0.5rem 0 0;
}

/* ── Premium crypto invoice ── */
.crypto-invoice { padding: 0.2rem 0; animation: fadeInUp 0.3s ease; }

.ci-amount-card {
  text-align: center; padding: 1.2rem 1rem;
  border-radius: 14px; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(247,147,26,0.08) 0%, rgba(247,147,26,0.02) 100%);
  border: 1px solid rgba(247,147,26,0.15);
  position: relative;
}
.ci-coin-logo {
  width: 32px; height: 32px; border-radius: 50%; margin-bottom: 0.4rem;
}
.ci-send-label { font-size: 0.75rem; color: var(--text-muted, #8a94a6); margin-bottom: 0.15rem; }
.ci-amount {
  font-size: 1.6rem; font-weight: 800; color: #f7931a;
  font-family: 'JetBrains Mono', monospace; letter-spacing: -0.5px;
}
.ci-ticker { font-size: 0.85rem; font-weight: 600; opacity: 0.7; }
.ci-fiat { font-size: 0.72rem; color: var(--text-muted, #8a94a6); margin-top: 0.1rem; }
.ci-timer {
  font-size: 0.7rem; color: var(--text-muted, #8a94a6); margin-top: 0.4rem;
  display: flex; align-items: center; justify-content: center; gap: 0.3rem;
}
.ci-timer span {
  font-weight: 700; font-family: 'JetBrains Mono', monospace; color: #f7931a;
}

.ci-qr-wrap { text-align: center; margin-bottom: 1rem; }
.ci-qr-inner {
  display: inline-block; padding: 10px; border-radius: 14px;
  background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.ci-qr-inner img { width: 180px; height: 180px; display: block; border-radius: 6px; }
.ci-qr-hint {
  font-size: 0.65rem; color: rgba(255,255,255,0.3); margin-top: 0.4rem;
}

.ci-addr-box {
  padding: 0.7rem; border-radius: 10px; margin-bottom: 0.7rem;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
}
.ci-addr-label {
  font-size: 0.7rem; color: var(--text-muted, #8a94a6); margin-bottom: 0.4rem;
  display: flex; align-items: center; gap: 0.3rem;
}
.ci-addr-row { display: flex; align-items: center; gap: 0.5rem; }
.ci-addr-value {
  flex: 1; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 0.4rem 0.6rem; border-radius: 6px; background: rgba(0,0,0,0.3);
}
.ci-addr-copy {
  flex-shrink: 0; padding: 0.4rem 0.7rem; border-radius: 6px;
  border: 1px solid rgba(247,147,26,0.3); background: rgba(247,147,26,0.08);
  color: #f7931a; font-size: 0.72rem; font-weight: 600;
  cursor: pointer; transition: all 0.15s ease;
  display: flex; align-items: center; gap: 0.25rem; font-family: inherit;
}
.ci-addr-copy:hover { background: rgba(247,147,26,0.15); border-color: rgba(247,147,26,0.5); }
.ci-addr-copy.copied { color: #4ecdc4; border-color: rgba(78,205,196,0.4); background: rgba(78,205,196,0.08); }

.ci-status {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem; border-radius: 10px; font-size: 0.85rem; font-weight: 500;
  margin-bottom: 0.5rem;
}
.ci-status--waiting {
  background: rgba(247,147,26,0.06); border: 1px solid rgba(247,147,26,0.15);
  color: var(--text-muted, #8a94a6);
}
.ci-status--confirming {
  background: rgba(247,147,26,0.1); border: 1px solid rgba(247,147,26,0.3);
  color: #f7931a;
}
.ci-status--confirmed {
  background: rgba(78,205,196,0.08); border: 1px solid rgba(78,205,196,0.3);
  color: #4ecdc4; font-weight: 600;
}
.ci-status--error {
  background: rgba(255,80,80,0.06); border: 1px solid rgba(255,80,80,0.2);
  color: #ff5050;
}
.ci-status--expired {
  background: rgba(255,80,80,0.06); border: 1px solid rgba(255,80,80,0.2);
  color: #ff5050;
}

.ci-network-warn {
  font-size: 0.62rem; color: rgba(255,255,255,0.2); text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 0.3rem;
  line-height: 1.4;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.loading-spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid rgba(247,147,26,0.2); border-top-color: #f7931a;
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Accessibility: reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
