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

:root {
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #7c3aed;
    --secondary: #ec4899;
    --secondary-light: #f472b6;
    --gold: #fbbf24;
    --gold-light: #fcd34d;
    --silver: #e2e8f0;
    --bg-dark: #0f0a1e;
    --bg-gradient: linear-gradient(135deg, #1a1035 0%, #0f0a1e 50%, #1a1035 100%);
    --bg: #1a1035;
    --text: #f5f3ff;
    --text-light: #c4b5fd;
    --text-muted: #a78bfa;
    --border: #4c1d95;
    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.15);
    --success-border: rgba(52, 211, 153, 0.4);
    --warning: #fbbf24;
    --error: #f87171;
    --error-bg: rgba(248, 113, 113, 0.15);
    --error-border: rgba(248, 113, 113, 0.4);
    --info: #60a5fa;
    --card-bg: rgba(139, 92, 246, 0.15);
    --card-border: rgba(139, 92, 246, 0.3);
    --card-bg-solid: rgba(26, 16, 53, 0.95);
    --surface: rgba(15, 10, 30, 0.8);
}

body {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--bg-gradient);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

.magical-body {
    position: relative;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 160px 120px, white, transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 250px 160px, white, transparent),
        radial-gradient(2px 2px at 300px 100px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 350px 200px, white, transparent),
        radial-gradient(2px 2px at 400px 150px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 500px 50px, white, transparent),
        radial-gradient(2px 2px at 600px 180px, rgba(255,255,255,0.6), transparent);
    background-size: 650px 250px;
    animation: twinkle 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

.sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(251, 191, 36, 0.6);
    opacity: 0;
}

.sparkle:nth-child(1) { left: 5%; animation: shoot1 8s linear infinite; animation-delay: 0s; }
.sparkle:nth-child(2) { left: 15%; animation: shoot2 12s linear infinite; animation-delay: 2s; }
.sparkle:nth-child(3) { left: 25%; animation: shoot3 6s linear infinite; animation-delay: 4s; }
.sparkle:nth-child(4) { left: 40%; animation: shoot4 10s linear infinite; animation-delay: 1s; }
.sparkle:nth-child(5) { left: 55%; animation: shoot5 7s linear infinite; animation-delay: 3s; }
.sparkle:nth-child(6) { left: 70%; animation: shoot1 9s linear infinite; animation-delay: 5s; }
.sparkle:nth-child(7) { left: 80%; animation: shoot3 11s linear infinite; animation-delay: 0.5s; }
.sparkle:nth-child(8) { left: 90%; animation: shoot2 8s linear infinite; animation-delay: 2.5s; }

@keyframes shoot1 {
    0% { transform: translateY(100vh) rotate(15deg); opacity: 0; }
    5% { opacity: 1; }
    15% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(15deg); opacity: 0; }
}
@keyframes shoot2 {
    0% { transform: translateY(100vh) rotate(-20deg); opacity: 0; }
    8% { opacity: 1; }
    20% { opacity: 1; }
    100% { transform: translateY(-150px) rotate(-20deg); opacity: 0; }
}
@keyframes shoot3 {
    0% { transform: translateY(100vh) rotate(30deg); opacity: 0; }
    3% { opacity: 1; }
    10% { opacity: 1; }
    100% { transform: translateY(-80px) rotate(30deg); opacity: 0; }
}
@keyframes shoot4 {
    0% { transform: translateY(100vh) rotate(-10deg); opacity: 0; }
    6% { opacity: 1; }
    18% { opacity: 1; }
    100% { transform: translateY(-120px) rotate(-10deg); opacity: 0; }
}
@keyframes shoot5 {
    0% { transform: translateY(100vh) rotate(25deg); opacity: 0; }
    4% { opacity: 1; }
    12% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(25deg); opacity: 0; }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 2;
}

.navbar {
    background: rgba(15, 10, 30, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.magic-icon {
    font-size: 1.8rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(15deg); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    margin-left: 1rem;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.nav-magic-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.nav-magic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.nav-admin-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.nav-admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

.nav-birthday-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #ff9ff3 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.nav-birthday-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.nav-logout-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid var(--card-border);
    color: var(--text-light);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logout-btn:hover {
    color: var(--error);
    border-color: var(--error);
}

.nav-lang-form {
    display: inline-block;
    margin: 0 0.25rem;
}

.nav-lang-select {
    background: rgba(255,255,255,0.1);
    color: var(--text);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.nav-lang-select:hover,
.nav-lang-select:focus {
    border-color: var(--primary);
    outline: none;
}

.nav-lang-select option {
    background: #1a1a2e;
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 101;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-close-link {
    display: none;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(251, 191, 36, 0.5));
    position: relative;
    z-index: 2;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.7);
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.6);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
}

.btn-danger {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.6);
}

.btn-small {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.characters {
    padding: 3rem 0;
}

.characters h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold);
}

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

.character-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.character-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3), 0 0 30px rgba(251, 191, 36, 0.2);
}

.character-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

.character-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    padding: 10px;
    border: 3px solid var(--gold);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.character-card:hover .character-image {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.character-card h3 {
    margin-bottom: 0.5rem;
    color: var(--gold);
    font-family: 'Cinzel', serif;
}

.character-card p {
    color: var(--text-light);
}

.character-card .btn-sample {
    margin-top: 1rem;
    width: 70px;
    min-width: 70px;
    max-width: 70px;
    height: 70px;
    min-height: 70px;
    max-height: 70px;
    padding: 0;
    font-size: 1.8rem;
    line-height: 1;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(236, 72, 153, 0.9) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.character-card .btn-sample:hover {
    transform: scale(1.15);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.7);
}

.character-card .btn-sample.playing {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    animation: pulse 1s infinite;
}

.character-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold) !important;
    margin-top: 1rem;
}

.how-it-works {
    padding: 3rem 0;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.auth-form, .purchase-form {
    max-width: 450px;
    margin: 2rem auto;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.auth-form h1, .purchase-form h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    color: var(--gold);
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 1rem;
}

.auth-card {
    max-width: 450px;
    width: 100%;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-group .age-input {
    width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
    text-align: center;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 15px;
    color: var(--text);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text);
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a78bfa' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: #1a1a2e;
    color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
}

.auth-link a {
    color: var(--gold);
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.alert-error {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid var(--error-border);
}

.alert-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid var(--success-border);
}

.character-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}

.character-option input {
    display: none;
}

.character-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.character-option-card:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.character-option input:checked + .character-option-card {
    border-color: var(--gold);
    background: rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.character-option-card .btn-sample {
    margin-top: 0.5rem;
    width: 56px;
    height: 56px;
    padding: 0;
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(236, 72, 153, 0.9) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.4);
}

.character-option-card .btn-sample:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
}

.character-option-card .btn-sample:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.character-option-card .btn-sample.playing {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(236, 72, 153, 0); }
}

.character-option-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.character-option-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid var(--card-border);
}

.character-option:hover .character-option-image,
.character-option input:checked ~ .character-option-card .character-option-image {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

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

.duration-option input {
    display: none;
}

.duration-card {
    display: block;
    padding: 1rem 0.5rem;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: var(--text-light);
}

.duration-card:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.duration-option input:checked + .duration-card {
    border-color: var(--gold);
    background: rgba(139, 92, 246, 0.3);
    color: var(--gold);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
}

.total-price-display {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid var(--gold);
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.total-label {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-right: 0.5rem;
}

.total-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Cinzel', serif;
}

.dashboard h1 {
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    color: var(--gold);
}

.dashboard-welcome {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dashboard-actions .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.order-actions .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

.order-actions form {
    display: inline;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-character {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold);
}

.order-details p {
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.phone-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
}

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

.call-history {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.call-history h3 {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.call-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    text-decoration: none;
    color: var(--text-light);
}

.call-item a:hover {
    color: var(--gold);
}

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

.status-pending, .status-active, .status-expired, .status-in_progress, .status-completed {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: var(--warning);
}

.status-active {
    background: rgba(52, 211, 153, 0.2);
    color: var(--success);
}

.status-expired {
    background: rgba(248, 113, 113, 0.2);
    color: var(--error);
}

.status-in_progress {
    background: rgba(96, 165, 250, 0.2);
    color: var(--info);
}

.status-completed {
    background: rgba(52, 211, 153, 0.2);
    color: var(--success);
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.empty-state .btn {
    margin-top: 1rem;
}

.call-detail {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--text-muted);
    text-decoration: none;
}

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

.call-meta {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.call-meta p {
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.transcript {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
}

.transcript h2 {
    margin-bottom: 1rem;
    color: var(--gold);
    font-family: 'Cinzel', serif;
}

.transcript-content {
    font-family: Georgia, serif;
    line-height: 1.8;
}

.transcript-line {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.transcript-line:last-child {
    border-bottom: none;
}

.admin-dashboard h1 {
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
    color: var(--gold);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-card h3 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.admin-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.admin-section {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
    overflow-x: auto;
}

.admin-section h2 {
    display: inline;
    margin-right: 1rem;
    color: var(--gold);
    font-family: 'Cinzel', serif;
}

.admin-section > a {
    float: right;
    color: var(--gold);
    text-decoration: none;
}

.admin-section > a:hover {
    text-decoration: underline;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
}

.data-table th {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.data-table td a {
    color: var(--gold);
    text-decoration: none;
}

.data-table td a:hover {
    text-decoration: underline;
}

.admin-page {
    max-width: 1100px;
    margin: 0 auto;
}

.admin-dashboard .admin-header,
.admin-page .admin-header,
.order-detail-page .admin-header,
.call-detail .admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--card-border);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-dashboard .admin-header h1,
.admin-page .admin-header h1,
.order-detail-page .admin-header h1,
.call-detail .admin-header h1 {
    margin: 0;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.8rem;
}

.admin-dashboard .admin-header,
.admin-page .admin-header,
.order-detail-page .admin-header,
.call-detail .admin-header,
.dashboard .admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--card-border);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-dashboard .admin-header h1,
.admin-page .admin-header h1,
.order-detail-page .admin-header h1,
.call-detail .admin-header h1,
.dashboard .admin-header h1 {
    margin: 0;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.8rem;
}

.admin-dashboard .admin-header .btn-secondary,
.admin-page .admin-header .btn-secondary,
.order-detail-page .admin-header .btn-secondary,
.call-detail .admin-header .btn-secondary,
.dashboard .admin-header .btn-secondary {
    margin-left: auto;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.admin-section .btn-primary {
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.character-descriptions {
    margin: 1.5rem 0;
}

.character-description {
    display: none;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.character-description h3 {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    margin-bottom: 0.5rem;
}

.character-price-display {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.character-description-text {
    color: var(--text-light);
    line-height: 1.7;
}

.character-editor {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.character-editor h3 {
    margin-bottom: 1rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cinzel', serif;
}

.character-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.character-form-row.full {
    grid-template-columns: 1fr;
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    min-height: 100px;
    color: var(--text);
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.switch-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.switch-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.footer p {
    font-size: 1rem;
}

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

.magic-features {
    padding: 3rem 0;
    position: relative;
}

.magic-features h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.magic-feature {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.magic-feature:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.magic-feature h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.magic-feature p {
    color: var(--text-light);
}

.testimonials {
    padding: 3rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.testimonial p {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.testimonial span {
    color: var(--gold);
    font-weight: 600;
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 30px;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.cta-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-section .btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

.magic-circle {
    display: inline-block;
    margin-bottom: 1rem;
}

.magic-sparkle {
    font-size: 4rem;
    display: inline-block;
    animation: sparkle-rotate 3s ease-in-out infinite;
}

@keyframes sparkle-rotate {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(10deg); }
    50% { transform: scale(1.2) rotate(0deg); }
    75% { transform: scale(1.1) rotate(-10deg); }
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}

/* ================================
   RESPONSIVE - TABLET (768px)
   ================================ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 301;
    }

    .hamburger.active {
        position: fixed;
        top: 16px;
        right: 16px;
    }

    .nav-links {
        display: none !important;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        min-height: calc(100vh - 60px);
        height: auto;
        background: rgba(15, 10, 30, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        z-index: 300;
        padding: 1rem 1.5rem 4rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links > a,
    .nav-links > form {
        display: block;
        width: 100%;
        text-align: center;
        flex-shrink: 0;
    }

    .nav-links a {
        margin: 0;
        font-size: 1.2rem;
        padding: 0.7rem 1.5rem;
        display: block;
        width: 100%;
        border-radius: 10px;
    }

    .nav-logout-btn {
        display: block;
        width: 100%;
        padding: 0.7rem 1.5rem;
        font-size: 1.2rem;
        text-align: center;
        background: none;
        border: 1px solid var(--card-border);
        border-radius: 10px;
        color: var(--text-light);
        box-shadow: none;
        flex-shrink: 0;
        margin-bottom: 0.5rem;
    }

    .nav-magic-btn,
    .nav-admin-btn {
        display: block;
        width: 100%;
        padding: 0.7rem 1.5rem;
        font-size: 1.2rem;
        text-align: center;
        background: none;
        border: none;
        border-radius: 10px;
        color: var(--text-light);
        box-shadow: none;
        flex-shrink: 0;
        margin-bottom: 0.5rem;
    }

    .nav-magic-btn:hover,
    .nav-admin-btn:hover,
    .nav-logout-btn:hover {
        color: var(--gold);
        text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
        transform: none;
        box-shadow: none;
    }

    .nav-lang-form {
        display: block;
        width: 100%;
        text-align: center;
        flex-shrink: 0;
        margin-bottom: 0.5rem;
    }

    .nav-lang-select {
        width: 100%;
        padding: 0.7rem;
        font-size: 1rem;
    }

    .nav-close-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.7rem 1.5rem;
        font-size: 1.2rem;
        color: var(--text-muted);
        text-decoration: none;
        flex-shrink: 0;
        margin-bottom: 0.5rem;
        border-radius: 10px;
    }

    .nav-close-link:hover {
        color: var(--gold);
    }

    .hero {
        padding: 2.5rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1.05rem;
    }

    .character-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .features-container {
        grid-template-columns: 1fr;
    }

    .auth-form, .purchase-form {
        margin: 1rem;
        padding: 1.5rem;
    }

    .auth-card {
        margin: 1rem;
    }

    .duration-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .character-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-actions {
        gap: 0.5rem;
    }

    .dashboard-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .cta-section {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .data-table {
        font-size: 0.8rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }

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

    .stat-number {
        font-size: 1.5rem;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .order-actions .btn {
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* ================================
   RESPONSIVE - MOBILE (640px)
   ================================ */
@media (max-width: 640px) {
    .container {
        padding: 1rem 0.75rem;
    }

    .hero {
        padding: 2rem 0.75rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .character-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .character-card {
        padding: 1.5rem;
    }

    .character-card:hover {
        transform: translateY(-5px);
    }

    .character-image {
        width: 90px;
        height: 90px;
    }

    .character-icon {
        font-size: 3rem;
    }

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

    .btn-large {
        width: 100%;
    }

    .auth-form, .purchase-form {
        margin: 0.5rem;
        padding: 1.25rem;
        border-radius: 15px;
    }

    .auth-card {
        padding: 1.25rem;
    }

    .duration-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .character-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .character-option-card {
        padding: 0.75rem;
    }

    .character-option-icon {
        font-size: 2rem;
    }

    .dashboard-actions {
        flex-direction: column;
    }

    .dashboard-actions .btn {
        width: 100%;
        text-align: center;
    }

    .order-actions {
        flex-direction: column;
    }

    .order-actions .btn {
        width: 100%;
        text-align: center;
    }

    .order-actions form {
        width: 100%;
    }

    .order-actions form .btn {
        width: 100%;
    }

    .call-item a {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .admin-dashboard .admin-header h1,
    .admin-page .admin-header h1,
    .order-detail-page .admin-header h1,
    .call-detail .admin-header h1,
    .dashboard .admin-header h1 {
        font-size: 1.4rem;
    }
    
    .admin-dashboard .admin-header .btn-secondary,
    .admin-page .admin-header .btn-secondary,
    .order-detail-page .admin-header .btn-secondary,
    .call-detail .admin-header .btn-secondary,
    .dashboard .admin-header .btn-secondary {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .content-wrapper {
        overflow-x: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .footer {
        padding: 1.5rem 1rem;
    }

    .footer p {
        font-size: 0.85rem;
    }

    .how-it-works h2,
    .characters h2,
    .magic-features h2,
    .testimonials h2 {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.4rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .character-form-row {
        grid-template-columns: 1fr;
    }

    /* Table horizontal scroll on mobile */
    .admin-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        min-width: 600px;
    }
}

/* ================================
   RESPONSIVE - SMALL MOBILE (480px)
   ================================ */
@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.2rem;
    }

    .magic-icon {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-sub {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }

    .character-options {
        grid-template-columns: 1fr;
    }

    .duration-options {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cta-section {
        padding: 2rem 1rem;
    }

    .cta-section .btn {
        font-size: 1rem;
        padding: 0.85rem 1.5rem;
    }
}

/* ================================
   GLOBAL RESPONSIVE UTILITIES
   ================================ */
.responsive-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
}

.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.content-page h1 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.content-page .subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.content-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: var(--text);
    line-height: 1.8;
    backdrop-filter: blur(10px);
}

.content-card h2 {
    color: var(--gold);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.content-card h3 {
    color: var(--primary-light);
}

.content-card ul,
.content-card ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-card li {
    margin-bottom: 0.25rem;
}

.content-card hr {
    border-color: var(--border);
    margin: 2rem 0;
}

.content-card a {
    color: var(--primary-light);
    text-decoration: none;
}

.content-card a:hover {
    text-decoration: underline;
}

.content-card table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.content-card table th {
    text-align: left;
    padding: 8px;
    color: var(--gold);
    border-bottom: 1px solid var(--border);
}

.content-card table td {
    padding: 8px;
    border-bottom: 1px solid var(--border);
}

.content-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .content-grid-2 {
        grid-template-columns: 1fr;
    }

    .content-card {
        padding: 1.25rem;
    }

    .content-card table {
        font-size: 0.85rem;
    }

    .content-card table th,
    .content-card table td {
        padding: 6px;
    }
}

/* Contact form page styling */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.contact-card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-card h3 {
    color: var(--gold);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.contact-card p {
    color: var(--text-light);
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
}

.contact-card a {
    color: var(--primary-light);
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* FAQ Accordion */
.faq-section {
    margin-bottom: 2.5rem;
}

.faq-section h2 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

details {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    padding: 0;
}

details summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::after {
    content: '+';
    color: var(--primary-light);
    font-size: 1.2rem;
    font-weight: 700;
}

details[open] summary::after {
    content: '−';
}

details[open] summary {
    border-bottom: 1px solid var(--card-border);
}

details[open] > div, details[open] > p {
    padding: 0.5rem 1.25rem 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
}

details a {
    color: var(--primary-light);
}

details ul, details ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

details li {
    margin-bottom: 0.25rem;
}

/* Animated content reveal */
details[open] > div {
    animation: fadeSlideIn 0.2s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Schedule radio options (reusable) */
.schedule-options-radio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.schedule-radio-option {
    cursor: pointer;
    display: block;
}

.schedule-radio-option input[type="radio"] {
    display: none;
}

.schedule-radio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid var(--card-border);
    border-radius: 10px;
    text-align: center;
    transition: all 0.2s;
    background: var(--surface);
    min-height: 100px;
    height: 100%;
    color: var(--text);
}

.schedule-radio-option input:checked + .schedule-radio-card {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.schedule-radio-icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.schedule-radio-title { font-weight: 600; font-size: 0.9rem; color: var(--text); margin-bottom: 0.15rem; }
.schedule-radio-desc { font-size: 0.75rem; color: var(--text-muted); }

/* Scheduling fields */
.scheduling-options {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.schedule-field label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.schedule-field input,
.schedule-field select {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-size: 1rem;
}

.schedule-field select option {
    background: #1a1a2e;
    color: #fff;
}

/* Phone input styles */
.phone-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.phone-label {
    text-align: center;
    font-size: 1.2rem !important;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    display: block;
}

.phone-input-wrapper {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.phone-input {
    font-size: 1.5rem !important;
    padding: 1rem 1.5rem !important;
    text-align: center;
    max-width: 400px;
    width: 100%;
    border: 2px solid var(--border) !important;
    border-radius: 12px !important;
    background: var(--surface) !important;
    letter-spacing: 1px;
    color: var(--text) !important;
}

.phone-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.phone-hint {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.language-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a78bfa' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.language-select:focus {
    outline: none;
    border-color: var(--primary);
}

.language-select option {
    background: #1a1a2e;
    color: #fff;
}

/* Audio add-on */
.audio-addon-box {
    border: 2px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    background: var(--card-bg);
}

.audio-addon-box:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.audio-addon-box.checked {
    border-color: var(--success);
    background: var(--success-bg);
}

.audio-addon-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    padding-right: 3rem;
}

.audio-icon {
    font-size: 1.5rem;
}

.audio-title {
    font-weight: 700;
    color: var(--text);
    flex-grow: 1;
    font-size: 1.1rem;
}

.audio-price {
    font-weight: 700;
    color: var(--success);
    font-size: 1.2rem;
    background: var(--success-bg);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.audio-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0 0 0.75rem 0;
    padding-right: 4rem;
    line-height: 1.5;
}

.audio-checkbox-visual {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 28px;
    height: 28px;
    border: 2px solid var(--text-muted);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.audio-checkbox-visual.checked {
    background: var(--success);
    border-color: var(--success);
}

.audio-checkbox-visual .checkmark {
    color: white;
    font-size: 1rem;
    display: none;
}

.audio-checkbox-visual.checked .checkmark {
    display: block;
}

/* Price breakdown */
.price-breakdown {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.breakdown-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.breakdown-line.audio-line {
    color: var(--success);
    font-weight: 500;
}

.breakdown-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    border-top: 2px solid var(--border);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

/* Call direction options */
.call-direction-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.call-direction-option {
    cursor: pointer;
}

.call-direction-option input {
    display: none;
}

.direction-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid var(--card-border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s;
    background: var(--surface);
    color: var(--text);
}

.call-direction-option input:checked + .direction-card {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.2);
}

.direction-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.direction-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.direction-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Child selection cards */
.child-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.child-option {
    cursor: pointer;
    display: block;
}

.child-option input[type="radio"] {
    display: none;
}

.child-card {
    border: 2px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    background: var(--card-bg);
    transition: all 0.3s ease;
    text-align: center;
}

.child-option:hover .child-card,
.child-option.selected .child-card {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.child-option.selected .child-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
}

.child-name {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.child-age {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.child-location {
    display: block;
    font-size: 0.85rem;
    color: var(--success);
}

.add-child-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
}

.add-child-link:hover {
    text-decoration: underline;
}

/* Alert component variants */
.alert-info {
    background: rgba(96, 165, 250, 0.15);
    color: var(--info);
    border: 1px solid rgba(96, 165, 250, 0.4);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-gold {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(102, 126, 234, 0.15));
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.alert-free-call {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(251, 191, 36, 0.15));
    border: 2px solid rgba(74, 222, 128, 0.5);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Recordings list */
.recordings-list {
    margin-bottom: 2rem;
}

/* Responsive scheduling */
@media (max-width: 640px) {
    .call-direction-options {
        grid-template-columns: 1fr;
    }

    .scheduling-options {
        grid-template-columns: 1fr;
    }

    .schedule-options-radio {
        grid-template-columns: 1fr;
    }

    .child-selection {
        grid-template-columns: 1fr;
    }

    .phone-section {
        padding: 1.25rem;
    }

    .phone-input {
        font-size: 1.2rem !important;
        padding: 0.85rem 1rem !important;
    }

    .audio-addon-header {
        padding-right: 0;
    }

    .audio-desc {
        padding-right: 0;
    }

    .audio-addon-box {
        padding: 1.25rem;
    }

    .audio-checkbox-visual {
        top: 1rem;
        right: 1rem;
    }
}

/* Responsive call history table */
.call-history-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 1.5rem;
}

.call-history-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
}

.call-history-table th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1rem 0.75rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.call-history-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--card-border);
    font-size: 0.95rem;
    vertical-align: middle;
    color: var(--text-light);
}

.call-history-table tr:hover {
    background: rgba(139, 92, 246, 0.05);
}

.call-row.call-completed {
    border-left: 3px solid #48bb78;
}

.call-row.call-active {
    border-left: 3px solid #ed8936;
}

.call-row.call-pending {
    border-left: 3px solid #a0aec0;
}

.ref-number {
    white-space: nowrap;
}

.call-ref {
    display: block;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--gold);
}

.ref-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.phone-col {
    white-space: nowrap;
}

.outbound-label {
    color: var(--success);
    font-weight: 600;
}

.inbound-label {
    color: var(--info);
    font-weight: 600;
}

.time {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.status-completed {
    background: rgba(52, 211, 153, 0.2);
    color: #34d399;
}

.status-badge.status-in_progress {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.status-badge.status-failed {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.status-badge.status-pending {
    background: rgba(160, 174, 192, 0.2);
    color: #a0aec0;
}

.actions-col {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .call-history-table th,
    .call-history-table td {
        padding: 0.5rem 0.35rem;
        font-size: 0.8rem;
    }
}

/* Affiliate page styles */
.affiliate-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.affiliate-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.affiliate-card h2 {
    margin-top: 0;
    color: var(--gold);
}

.referral-link-box {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.referral-link-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: var(--surface);
    color: var(--text);
    font-size: 0.95rem;
    min-width: 0;
}

.referral-link-box button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s;
    white-space: nowrap;
}

.referral-link-box button:hover {
    transform: scale(1.05);
}

.progress-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.progress-stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.progress-stat .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.progress-stat .label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.progress-bar-container {
    background: var(--surface);
    border-radius: 10px;
    height: 24px;
    overflow: hidden;
    margin: 1rem 0;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 10px;
    transition: width 0.5s ease;
    min-width: 0;
}

.progress-bar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.rewards-list {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.reward-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: var(--surface);
}

.reward-card.available {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(102, 126, 234, 0.08) 100%);
}

.reward-card.redeemed {
    opacity: 0.6;
}

.reward-icon {
    font-size: 2rem;
}

.reward-info {
    flex: 1;
    min-width: 0;
}

.reward-info h4 {
    margin: 0;
    color: var(--text);
}

.reward-info p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.reward-action .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

.referrals-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.referrals-table th,
.referrals-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-light);
}

.referrals-table th {
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.step-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.step-card h4 {
    margin: 0 0 0.5rem;
    color: var(--text);
}

.step-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 600px) {
    .progress-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works {
        grid-template-columns: 1fr;
    }

    .referral-link-box {
        flex-direction: column;
    }

    .reward-card {
        flex-direction: column;
        text-align: center;
    }

    .reward-action .btn {
        width: 100%;
    }
}

/* Form container (child profile form) */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
    .form-container {
        margin: 1rem 0.5rem;
        padding: 1.25rem;
    }
}

/* Children grid */
.children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.child-card-item {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.child-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--card-border);
}

.child-header-info h3 {
    margin: 0;
    color: var(--gold);
    font-family: 'Cinzel', serif;
}

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

.child-location-info,
.child-interests-info,
.child-notes-info {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.child-location-info {
    color: var(--success);
}

.child-interests-info {
    color: #ed8936;
}

.child-notes-info {
    color: var(--text-muted);
    font-style: italic;
}

.child-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Payment success page */
.success-container {
    text-align: center;
    padding: 3rem 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

.success-container h1 {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.success-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.success-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: left;
    backdrop-filter: blur(10px);
}

.detail-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.detail-card h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.next-steps {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
    font-size: 0.95rem;
}

.next-steps li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.order-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--card-border);
}

.order-mini:last-child {
    border-bottom: none;
}

.order-mini-character {
    font-weight: 600;
    color: var(--text);
}

.order-mini-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .success-details {
        grid-template-columns: 1fr;
    }

    .success-container h1 {
        font-size: 1.6rem;
    }
}

/* Order detail page */
.order-detail-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.order-detail-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    color: var(--text);
}

.order-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.order-header-row h1 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text);
}

.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.schedule-info {
    background: var(--surface);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    border: 1px solid var(--card-border);
}

.schedule-info h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: var(--text);
}

.calls-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.calls-section h2 {
    margin: 0 0 1rem 0;
    color: var(--text);
}

.call-item-detail {
    padding: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.call-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.call-item-header a {
    text-decoration: none;
    color: var(--text-light);
}

.call-item-header a:hover {
    color: var(--primary-light);
}

.call-date {
    font-weight: 500;
}

.call-ref-cell {
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-left: 0.75rem;
}

.pending-notice {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.pending-notice p {
    margin: 0;
    color: var(--gold);
}

@media (max-width: 640px) {
    .order-info-grid {
        grid-template-columns: 1fr;
    }

    .order-detail-page {
        padding: 1rem 0.75rem;
    }

    .order-detail-card {
        padding: 1.25rem;
    }

    .order-header-row h1 {
        font-size: 1.2rem;
    }
}

/* Audio upsell page */
.audio-upsell-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

.audio-upsell-container h1 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.call-info {
    margin-bottom: 2rem;
}

.child-name {
    font-size: 1.25rem;
    color: var(--text-light);
    margin: 0;
}

.call-date {
    color: var(--text-muted);
    margin: 0.25rem 0 0 0;
}

.upsell-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.audio-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.upsell-box h2 {
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
    color: white;
}

.upsell-description {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
}

.features {
    text-align: left;
    max-width: 300px;
    margin: 0 auto 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.75rem 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.95);
}

.feature .check {
    background: rgba(255,255,255,0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.pricing {
    margin: 2rem 0;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.note {
    opacity: 0.8;
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.purchase-btn {
    background: white;
    color: var(--primary);
    font-size: 1.25rem;
    padding: 1rem 3rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.skip-link {
    display: block;
    margin-top: 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.skip-link:hover {
    color: white;
}

.upsell-testimonial {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    font-style: italic;
    backdrop-filter: blur(10px);
}

.upsell-testimonial p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.6;
}

.upsell-testimonial span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .upsell-box {
        padding: 2rem 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }
}

/* Auth card heading */
.auth-card h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    color: var(--gold);
}

/* Data flow diagram */
.data-flow {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 2;
}

.data-flow p {
    margin: 0;
}

/* Back to home link */
.back-home {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.back-home a {
    color: var(--primary-light);
    text-decoration: none;
}

.back-home a:hover {
    text-decoration: underline;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-success {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 211, 153, 0.6);
}

/* FAQ CTA section */
.faq-cta {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.faq-cta h2 {
    color: var(--gold);
    margin-top: 0;
}

.faq-cta .subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.faq-cta .hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.faq-cta .actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Utility Classes for Inline Style Migration */
.text-center { text-align: center; }
.icon-lg { font-size: 2rem; margin-bottom: 1rem; display: inline-block; }
.icon-xl { font-size: 3rem; margin-bottom: 1rem; display: inline-block; }
.content-card-sm { 
    background: var(--card-bg); 
    border: 1px solid var(--card-border); 
    border-radius: 12px; 
    padding: 1.5rem; 
    margin: 1rem 0;
}
.message-box { 
    padding: 1rem 1.25rem; 
    border-radius: 8px; 
    margin-bottom: 1rem;
    border: 1px solid transparent;
}
.message-box.success { 
    background: var(--success-bg); 
    border-color: var(--success-border); 
    color: var(--success);
}
.message-box.error { 
    background: var(--error-bg); 
    border-color: var(--error-border); 
    color: var(--error);
}
.message-box.warning { 
    background: rgba(251, 191, 36, 0.15); 
    border-color: rgba(251, 191, 36, 0.4); 
    color: var(--warning);
}
.order-actions { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.5rem; 
    margin-top: 1rem;
}
.order-actions .btn { 
    font-size: 0.8rem; 
    padding: 0.4rem 0.8rem;
}
.auth-link-secondary {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.auth-link-secondary:hover {
    color: var(--gold);
}