/* ============================================
   POLSTREAM TV — Pages Styles
   Polish Avant-Garde + VHS Theme
   ============================================ */

/* Nav Alt State */
.nav-wrapper.scrolled-alt {
    background: rgba(241, 250, 238, 0.98);
    backdrop-filter: blur(10px);
}

.nav-link.active::after {
    width: 100%;
}

/* ============================================
   PAGE HERO
   ============================================ */

.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg .diagonal-stripe {
    width: 200px;
    height: 200%;
    right: 10%;
    top: -50%;
    opacity: 0.08;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.page-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: var(--space-md);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.page-title .dot {
    color: var(--red);
}

.page-desc {
    font-size: 1.2rem;
    color: var(--navy-light);
    margin-top: var(--space-md);
    max-width: 500px;
}

/* ============================================
   TRIAL BANNER
   ============================================ */

.trial-banner {
    background: var(--red);
    padding: var(--space-xl) var(--space-xl);
}

.trial-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.trial-badge {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    animation: pulse 2s ease infinite;
}

.trial-text h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin: var(--space-xs) 0;
}

.trial-text p {
    color: rgba(255, 255, 255, 0.8);
}

.btn-trial-large {
    padding: var(--space-md) var(--space-xl);
    background: var(--white);
    color: var(--red);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-trial-large:hover {
    background: var(--navy);
    color: var(--white);
    transform: skewX(-5deg);
}

/* ============================================
   PACKAGES FULL
   ============================================ */

.packages-full {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.packages-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.swipe-hint {
    display: none;
}

.package-full {
    background: var(--cream);
    border: 2px solid var(--navy);
    position: relative;
    transition: all var(--transition);
}

.package-full:hover {
    transform: translateY(-10px);
    box-shadow: 15px 15px 0 var(--red);
}

.package-full.featured-package {
    background: var(--navy);
    color: var(--white);
    transform: scale(1.02);
}

.package-full.featured-package:hover {
    transform: scale(1.02) translateY(-10px);
}

.featured-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 8px 20px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    z-index: 2;
}

.package-header-full {
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.featured-package .package-header-full {
    border-color: rgba(255, 255, 255, 0.2);
}

.package-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.6;
}

.package-name-full {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin: var(--space-xs) 0 var(--space-sm);
}

.package-price-full {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.package-price-full .currency {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.package-price-full .amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.package-price-full .cents {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.package-price-full .period {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-left: 4px;
}

.package-body-full {
    padding: var(--space-md) var(--space-lg);
}

.package-body-full h4 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: var(--space-md);
}

.package-list {
    list-style: none;
    margin-bottom: var(--space-md);
}

.package-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 4px 0;
    font-size: 0.95rem;
}

.package-list li span {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.package-list li.included span {
    color: #22c55e;
}

.package-list li.excluded {
    opacity: 0.4;
}

.package-list li.excluded span {
    color: currentColor;
}

.package-list li.highlight {
    background: rgba(230, 57, 70, 0.1);
    margin: 0 calc(var(--space-sm) * -1);
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
}

.featured-package .package-list li.highlight {
    background: rgba(255, 255, 255, 0.1);
}

.package-periods {
    margin-bottom: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Trial Mini Banner */
.trial-mini-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(230, 57, 70, 0.05) 100%);
    border: 1px dashed var(--red);
    cursor: pointer;
    transition: all var(--transition);
}

.trial-mini-banner:hover {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.25) 0%, rgba(230, 57, 70, 0.1) 100%);
    transform: scale(1.02);
}

.trial-mini-banner .trial-icon-svg {
    width: 18px;
    height: 18px;
    stroke: var(--red);
    flex-shrink: 0;
}

.featured-package .trial-mini-banner .trial-icon-svg {
    stroke: #fbbf24;
}

.trial-mini-banner .trial-text {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red);
}

.trial-mini-banner .trial-price {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--navy);
    background: var(--white);
    padding: 2px 8px;
}

.featured-package .trial-mini-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.featured-package .trial-mini-banner:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.featured-package .trial-mini-banner .trial-text {
    color: var(--white);
}

.featured-package .trial-mini-banner .trial-text {
    color: var(--white);
}

.featured-package .trial-mini-banner .trial-price {
    background: var(--white);
    color: var(--red);
}

/* Trial included banner (for LIVE package) */
.trial-included-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.1) 0%, rgba(29, 53, 87, 0.05) 100%);
    border: 1px dashed var(--navy);
    transition: all var(--transition);
}

.trial-included-banner .trial-icon-svg {
    width: 18px;
    height: 18px;
    stroke: var(--navy);
}

.trial-included-banner .trial-text {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy);
}

.trial-included-tag {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
    background: var(--navy);
    padding: 2px 8px;
}

[data-theme="dark"] .trial-included-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: var(--text-secondary);
}

[data-theme="dark"] .trial-included-banner .trial-icon-svg {
    stroke: var(--text-primary);
}

[data-theme="dark"] .trial-included-banner .trial-text {
    color: var(--text-primary);
}

[data-theme="dark"] .trial-included-tag {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.trial-mini-note {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: var(--navy-light);
    opacity: 0.7;
    margin-top: -4px;
    margin-bottom: var(--space-sm);
}

.featured-package .trial-mini-note {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .trial-mini-note {
    color: var(--text-secondary);
}

.featured-package .package-periods {
    border-color: rgba(255, 255, 255, 0.2);
}

.period-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
}

.period-option {
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: all var(--transition);
    cursor: pointer;
}

.featured-package .period-option {
    background: rgba(255, 255, 255, 0.1);
}

.period-option:hover {
    background: rgba(0, 0, 0, 0.1);
}

.featured-package .period-option:hover {
    background: rgba(255, 255, 255, 0.2);
}

.period-option.popular-period:not(.selected) {
    border: 2px solid transparent;
}

.period-option.selected {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
}

.period-option.selected .period-duration,
.period-option.selected .period-price {
    color: var(--white);
}

.period-option.selected .period-save {
    color: #4ADE80;
}

.featured-package .period-option.selected {
    background: rgba(0, 0, 0, 0.4);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.featured-package .period-option.selected .period-duration,
.featured-package .period-option.selected .period-price {
    color: var(--white);
}

.featured-package .period-option.selected .period-save {
    color: #4ADE80;
}

.period-option.trial-period {
    background: rgba(230, 57, 70, 0.15);
}

.period-duration {
    display: block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
}

.period-price {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
}

.period-save {
    display: block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--red);
}

.featured-package .period-save {
    color: #22c55e;
}

.package-btn {
    display: block;
    width: 100%;
    padding: var(--space-md);
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition);
}

.package-btn:hover {
    background: var(--red);
}

.package-btn.featured-btn {
    background: var(--red);
}

.package-btn.featured-btn:hover {
    background: var(--white);
    color: var(--navy);
}

/* ============================================
   COMPARISON
   ============================================ */

.comparison {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--cream);
}

.comparison-header {
    max-width: 1400px;
    margin: 0 auto var(--space-2xl);
    text-align: center;
}

.comparison-table-wrap {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 2px solid var(--navy);
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-md);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table thead th {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.comparison-table .highlight-col {
    background: rgba(255, 107, 53, 0.1);
}

.comparison-table thead .highlight-col {
    background: var(--red);
}

.comparison-table .price-row {
    background: var(--cream);
    font-size: 1.1rem;
}

/* ============================================
   FAQ MINI
   ============================================ */

.faq-mini {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--navy);
    color: var(--white);
}

.faq-mini-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.faq-mini h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-xl);
}

.faq-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    text-align: left;
}

.faq-mini-item {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-mini-item h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.faq-mini-item p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.faq-mini .link-more {
    color: var(--red);
}

/* ============================================
   CHANNELS PAGE
   ============================================ */

.channels-section {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.channels-container {
    max-width: 1400px;
    margin: 0 auto;
}

.channel-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    justify-content: center;
}

.filter-btn {
    padding: var(--space-sm) var(--space-md);
    background: var(--cream);
    border: 2px solid transparent;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    transition: all var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--red);
    background: var(--white);
}

.channels-category {
    margin-bottom: var(--space-2xl);
}

.channels-category h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: color var(--transition);
}

.channels-category h3:hover {
    color: var(--red);
}

.channels-category h3 .toggle-icon {
    font-size: 0.7em;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--space-sm);
}

.channels-category.collapsed h3 .toggle-icon {
    transform: rotate(-90deg);
}

.channels-category .channels-grid {
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 1;
}

.channels-category.collapsed .channels-grid {
    max-height: 0 !important;
    opacity: 0;
    margin: 0;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-sm);
}

.channel-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--cream);
    border: 1px solid transparent;
    transition: all var(--transition);
}

.channel-item:hover {
    border-color: var(--navy);
    transform: translateX(5px);
}

.channel-logo-small {
    width: 36px;
    height: 36px;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    flex-shrink: 0;
}

.channel-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    flex: 1;
    min-width: 0;
}

.channel-badge-small {
    padding: 2px 6px;
    font-family: var(--font-display);
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

.channel-badge-small.live { background: rgba(230, 57, 70, 0.2); color: var(--red); }
.channel-badge-small.std { background: rgba(255, 165, 0, 0.2); color: #f59e0b; }
.channel-badge-small.plus { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.channel-badge-small.hd { background: rgba(34, 197, 94, 0.2); color: #22c55e; }

.channels-search {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-display);
    font-size: 0.9rem;
    border: 2px solid var(--navy);
    background: var(--white);
    color: var(--navy);
    outline: none;
    transition: border-color var(--transition);
    position: sticky;
    top: 100px;
    z-index: 10;
}

.channels-search::placeholder {
    color: var(--navy-light);
    opacity: 0.5;
}

.channels-search:focus {
    border-color: var(--red);
}

.channels-count {
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy-light);
    margin-bottom: var(--space-xl);
}

.cat-count {
    font-weight: 400;
    font-size: 0.85em;
    opacity: 0.6;
}

/* Channel Info Popup */
.channel-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    padding: var(--space-md);
}

.channel-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.channel-popup {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: var(--space-xl);
    max-width: 400px;
    width: 100%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.25s ease;
    box-shadow: 8px 8px 0 var(--red);
}

.channel-popup-overlay.active .channel-popup {
    transform: scale(1) translateY(0);
}

.channel-popup-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.channel-popup-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.channel-popup-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

.channel-popup-cat {
    font-size: 0.75rem;
    color: var(--navy-light);
    margin-top: 4px;
}

.channel-popup-genre {
    display: inline-block;
    padding: 4px 12px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
}

.channel-popup-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--navy-light);
    margin-bottom: var(--space-lg);
    border-top: 1px solid rgba(29, 53, 87, 0.1);
    padding-top: var(--space-md);
}

.channel-popup-close {
    display: block;
    width: 100%;
    padding: var(--space-sm) var(--space-xl);
    background: var(--navy);
    color: var(--white);
    border: none;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
}

.channel-popup-close:hover {
    background: var(--red);
}

/* Channel Popup — Dark Theme */
[data-theme="dark"] .channel-popup-overlay {
    background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .channel-popup {
    background: var(--bg-card);
    border-color: var(--border-color);
    box-shadow: 8px 8px 0 var(--red);
}

[data-theme="dark"] .channel-popup-num {
    background: var(--bg-elevated);
}

[data-theme="dark"] .channel-popup-name {
    color: var(--text-primary);
}

[data-theme="dark"] .channel-popup-cat {
    color: var(--text-secondary);
}

[data-theme="dark"] .channel-popup-genre {
    background: var(--red);
}

[data-theme="dark"] .channel-popup-desc {
    color: var(--text-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .channel-popup-close {
    background: var(--bg-elevated);
}

[data-theme="dark"] .channel-popup-close:hover {
    background: var(--red);
}

/* ============================================
   FAQ PAGE — NEW DESIGN
   ============================================ */

.faq-section {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    justify-content: center;
}

.faq-cat {
    padding: var(--space-sm) var(--space-lg);
    background: var(--cream);
    border: 2px solid transparent;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.faq-cat:hover {
    border-color: var(--navy);
}

.faq-cat.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    border: 2px solid var(--navy);
    background: var(--cream);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    box-shadow: 5px 5px 0 var(--red);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    cursor: pointer;
    transition: background var(--transition);
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
}

.faq-question:hover {
    background: var(--white);
}

.faq-num {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red);
    flex-shrink: 0;
}

.faq-text {
    flex: 1;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.faq-icon {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--navy);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    padding-left: calc(var(--space-lg) + 2rem);
    color: var(--navy-light);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--red);
    text-decoration: underline;
}

/* Old instruction styles removed — using VHS-themed styles below */

/* ============================================
   CONTACT CTA — NEW DESIGN
   ============================================ */

.contact-cta {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--navy);
}

.contact-cta-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.cta-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--red);
}

.contact-cta-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    margin: var(--space-xs) 0;
}

.contact-cta-text p {
    color: rgba(255, 255, 255, 0.7);
}

.contact-cta .share-buttons {
    max-width: 900px;
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-cta .share-buttons span {
    color: rgba(255, 255, 255, 0.6);
}

.contact-cta .share-buttons button {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.contact-cta .share-buttons button:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-phone-large {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-phone-large:hover {
    background: var(--white);
    color: var(--red);
    transform: scale(1.05);
}

.phone-icon {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
}

.phone-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .packages-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .package-full.featured-package {
        transform: none;
    }

    .faq-mini-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 40vh;
        padding: var(--space-2xl) var(--space-md) var(--space-xl);
    }

    .trial-inner {
        flex-direction: column;
        text-align: center;
    }

    .packages-full {
        padding: var(--space-2xl) 0;
    }

    .packages-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: var(--space-md);
        padding: 0 var(--space-md);
        scrollbar-width: none;
    }

    .packages-container::-webkit-scrollbar {
        display: none;
    }

    .packages-container::after {
        content: '';
        flex-shrink: 0;
        width: 1px;
    }

    .packages-container {
        padding-top: var(--space-md);
    }

    .package-full {
        flex: 0 0 85%;
        scroll-snap-align: center;
        overflow: visible;
    }

    .package-full:hover {
        transform: none;
        box-shadow: none;
    }

    .package-full.featured-package {
        transform: none;
    }

    .package-full.featured-package:hover {
        transform: none;
    }

    /* Order: Standard(1) > Plus(2) > Live(3) */
    .package-standard { order: 1; }
    .package-plus { order: 2; }
    .package-live { order: 3; }

    .swipe-hint {
        display: block;
        text-align: center;
        font-family: var(--font-display);
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--navy-light);
        opacity: 0.6;
        padding: var(--space-sm) 0;
        animation: swipeHintPulse 2s ease-in-out infinite;
    }

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

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

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

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

    .contact-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .faq-question {
        padding: var(--space-md);
    }

    .faq-answer p {
        padding: var(--space-md);
        padding-top: 0;
    }
}

/* ============================================
   DARK THEME OVERRIDES — PAGES (COMPLETE)
   ============================================ */

/* Page Hero */
[data-theme="dark"] .page-hero {
    background: var(--bg-primary);
}

[data-theme="dark"] .page-hero-bg .diagonal-stripe {
    opacity: 0.2;
}

[data-theme="dark"] .page-title {
    color: var(--text-primary);
}

[data-theme="dark"] .page-tag {
    color: var(--red);
}

[data-theme="dark"] .page-desc {
    color: var(--text-secondary);
}

/* Trial Banner */
[data-theme="dark"] .trial-banner {
    background: linear-gradient(135deg, var(--red) 0%, #B91C2C 100%);
}

/* Packages */
[data-theme="dark"] .packages-full {
    background: var(--bg-primary);
}

[data-theme="dark"] .swipe-hint {
    color: var(--text-secondary);
}

[data-theme="dark"] .featured-tag {
    background: #fff;
    color: #111;
}

[data-theme="dark"] .package-full {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .package-full:hover {
    border-color: var(--red);
    box-shadow: 15px 15px 0 var(--red), 0 0 30px rgba(255, 71, 87, 0.1);
}

[data-theme="dark"] .package-header-full {
    border-color: var(--border-color);
}

[data-theme="dark"] .package-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .package-name-full {
    color: var(--text-primary);
}

[data-theme="dark"] .package-price-full {
    color: var(--text-primary);
}

[data-theme="dark"] .package-body-full h4 {
    color: var(--text-secondary);
}

[data-theme="dark"] .package-list li {
    color: var(--text-primary);
}

[data-theme="dark"] .package-list li.included span {
    color: #4ADE80;
}

[data-theme="dark"] .package-list li.highlight {
    background: rgba(255, 71, 87, 0.15);
}

[data-theme="dark"] .package-periods {
    border-color: var(--border-color);
}

[data-theme="dark"] .trial-mini-banner {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2) 0%, rgba(255, 71, 87, 0.08) 100%);
    border-color: var(--red);
}

[data-theme="dark"] .trial-mini-banner:hover {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.3) 0%, rgba(255, 71, 87, 0.15) 100%);
}

[data-theme="dark"] .trial-mini-banner .trial-price {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

[data-theme="dark"] .featured-package .trial-mini-banner .trial-text {
    color: #fff;
}

[data-theme="dark"] .featured-package .trial-mini-banner .trial-price {
    background: #fff;
    color: var(--red);
}

[data-theme="dark"] .period-option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .period-option:hover {
    background: var(--bg-elevated);
}

[data-theme="dark"] .period-duration,
[data-theme="dark"] .period-price {
    color: var(--text-primary);
}

[data-theme="dark"] .period-option.selected {
    background: var(--red);
    border-color: var(--red);
}

[data-theme="dark"] .period-option.selected .period-duration,
[data-theme="dark"] .period-option.selected .period-price {
    color: #fff;
}

[data-theme="dark"] .period-option.selected .period-save {
    color: #fff;
}

[data-theme="dark"] .featured-package .period-option.selected {
    background: #fff;
    border-color: #fff;
}

[data-theme="dark"] .featured-package .period-option.selected .period-duration,
[data-theme="dark"] .featured-package .period-option.selected .period-price {
    color: #1a1a2e;
}

[data-theme="dark"] .featured-package .period-option.selected .period-save {
    color: #1a1a2e;
}

[data-theme="dark"] .package-btn {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

[data-theme="dark"] .package-btn:hover {
    background: var(--red);
    color: #fff;
}

/* Featured Package */
[data-theme="dark"] .package-full.featured-package {
    background: linear-gradient(135deg, var(--red) 0%, #B91C2C 100%);
    border-color: var(--red);
    box-shadow: 0 0 40px rgba(255, 71, 87, 0.2);
}

[data-theme="dark"] .package-full.featured-package .package-header-full {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .package-full.featured-package .package-label,
[data-theme="dark"] .package-full.featured-package .package-name-full,
[data-theme="dark"] .package-full.featured-package .package-price-full,
[data-theme="dark"] .package-full.featured-package .package-body-full h4,
[data-theme="dark"] .package-full.featured-package .package-list li,
[data-theme="dark"] .package-full.featured-package .period-duration,
[data-theme="dark"] .package-full.featured-package .period-price {
    color: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .package-full.featured-package .package-periods {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .package-full.featured-package .period-option {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .package-full.featured-package .period-option:hover {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .package-full.featured-package .package-list li.highlight {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .package-full.featured-package .package-btn {
    background: #fff;
    color: var(--red);
}

[data-theme="dark"] .package-full.featured-package .package-btn:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Comparison */
[data-theme="dark"] .comparison {
    background: var(--bg-secondary);
}

[data-theme="dark"] .comparison-table {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .comparison-table th,
[data-theme="dark"] .comparison-table td {
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .comparison-table td:first-child {
    color: var(--text-secondary);
}

[data-theme="dark"] .comparison-table thead th {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

[data-theme="dark"] .comparison-table .highlight-col {
    background: rgba(255, 71, 87, 0.1);
}

[data-theme="dark"] .comparison-table thead .highlight-col {
    background: var(--red);
    color: #fff;
}

[data-theme="dark"] .comparison-table .price-row {
    background: var(--bg-secondary);
}

/* FAQ Mini */
[data-theme="dark"] .faq-mini {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .faq-mini h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .faq-mini-item {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .faq-mini-item h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .faq-mini-item p {
    color: var(--text-secondary);
}

/* Channels */
[data-theme="dark"] .channels-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .filter-btn {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: transparent;
}

[data-theme="dark"] .filter-btn:hover {
    border-color: var(--border-hover);
}

[data-theme="dark"] .filter-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

[data-theme="dark"] .channels-category h3 {
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .channel-item {
    background: var(--bg-card);
    border-color: transparent;
}

[data-theme="dark"] .channel-item:hover {
    border-color: var(--red);
    background: var(--bg-elevated);
}

[data-theme="dark"] .channel-logo-small {
    background: var(--bg-elevated);
}

[data-theme="dark"] .channel-item-name {
    color: var(--text-primary);
}

[data-theme="dark"] .channels-search {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
    box-shadow: 0 -16px 0 var(--bg-primary);
}

[data-theme="dark"] .channels-search::placeholder {
    color: var(--text-secondary);
}

[data-theme="dark"] .channels-search:focus {
    border-color: var(--red);
}

[data-theme="dark"] .channels-count {
    color: var(--text-secondary);
}

/* FAQ Page */
[data-theme="dark"] .faq-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .faq-cat {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: transparent;
}

[data-theme="dark"] .faq-cat:hover {
    border-color: var(--border-hover);
}

[data-theme="dark"] .faq-cat.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

[data-theme="dark"] .faq-item {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .faq-item:hover {
    box-shadow: 5px 5px 0 var(--red), 0 0 20px rgba(255, 71, 87, 0.1);
}

[data-theme="dark"] .faq-question {
    background: transparent;
}

[data-theme="dark"] .faq-question:hover {
    background: var(--bg-secondary);
}

[data-theme="dark"] .faq-text {
    color: var(--text-primary);
}

[data-theme="dark"] .faq-icon {
    color: var(--text-secondary);
}

[data-theme="dark"] .faq-answer p {
    color: var(--text-secondary);
}

[data-theme="dark"] .faq-answer a {
    color: var(--red);
}

/* Old dark theme instruction/help styles removed — using VHS-themed dark styles below */

/* Contact CTA */
[data-theme="dark"] .contact-cta {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .contact-cta-text h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .contact-cta-text p {
    color: var(--text-secondary);
}

[data-theme="dark"] .btn-phone-large {
    background: var(--red);
    color: #fff;
}

[data-theme="dark"] .btn-phone-large:hover {
    background: #fff;
    color: var(--red);
}

/* ============================================
   HOW TRIAL WORKS SECTION
   ============================================ */

.trial-how {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

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

.trial-how-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.trial-how-desc {
    color: var(--navy-light);
    font-size: 1.1rem;
    margin-top: var(--space-sm);
}

.trial-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.trial-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--cream);
    border: 2px solid transparent;
    transition: all var(--transition);
}

.trial-step:hover {
    border-color: var(--navy);
    transform: translateX(10px);
}

.trial-step-num {
    width: 48px;
    height: 48px;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    flex-shrink: 0;
}

.trial-step-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.trial-step-content p {
    color: var(--navy-light);
    line-height: 1.6;
}

.trial-note {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(230, 57, 70, 0.08);
    border-left: 4px solid var(--red);
    margin-bottom: var(--space-xl);
}

.trial-note svg {
    width: 24px;
    height: 24px;
    stroke: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
}

.trial-note p {
    color: var(--navy);
    font-size: 0.95rem;
    line-height: 1.6;
}

[data-theme="dark"] .trial-note {
    background: rgba(255, 71, 87, 0.1);
}

[data-theme="dark"] .trial-note p {
    color: var(--text-primary);
}

.trial-guarantee {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--navy) 0%, #1a2744 100%);
    color: var(--white);
}

.guarantee-icon {
    flex-shrink: 0;
}

.guarantee-icon svg {
    width: 48px;
    height: 48px;
    stroke: #4ADE80;
}

.guarantee-text h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.guarantee-text p {
    opacity: 0.8;
    line-height: 1.6;
}

.trial-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

.btn-trial-cta {
    display: inline-block;
    padding: var(--space-md) var(--space-2xl);
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition);
}

.btn-trial-cta:hover {
    background: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

/* Trial link in banner */
.trial-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

.trial-link:hover {
    opacity: 0.8;
}

/* CTA link */
.cta-link {
    color: var(--white);
    text-decoration: underline;
    opacity: 0.9;
}

.cta-link:hover {
    opacity: 1;
}

/* Dark theme */
[data-theme="dark"] .trial-how {
    background: var(--bg-primary);
}

[data-theme="dark"] .trial-how-desc {
    color: var(--text-secondary);
}

[data-theme="dark"] .trial-step {
    background: var(--bg-card);
}

[data-theme="dark"] .trial-step:hover {
    border-color: var(--red);
}

[data-theme="dark"] .trial-step-content h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .trial-step-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .trial-guarantee {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .trial-guarantee .guarantee-text h4 {
    color: #fff;
}

[data-theme="dark"] .trial-guarantee .guarantee-text p {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   LEGAL PAGES (Terms, Privacy, Returns)
   ============================================ */

.legal-section {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-updated {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: var(--space-2xl);
    padding: var(--space-sm) var(--space-md);
    background: rgba(230, 57, 70, 0.1);
    display: inline-block;
}

.legal-article {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-article:last-child {
    border-bottom: none;
}

.legal-article h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.legal-article h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-article p {
    color: var(--navy-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.legal-list {
    list-style: none;
    margin: var(--space-md) 0;
}

.legal-list li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--navy-light);
    line-height: 1.6;
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
}

.legal-list li strong {
    color: var(--navy);
}

/* Refund Page Specific */
.refund-highlight {
    text-align: center;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--red) 0%, #B91C2C 100%);
    color: var(--white);
    margin-bottom: var(--space-2xl);
}

.refund-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.refund-highlight h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.refund-highlight p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.refund-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.refund-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--cream);
    border-left: 4px solid var(--red);
}

.refund-step .step-num {
    width: 32px;
    height: 32px;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    flex-shrink: 0;
}

.refund-step h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

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

.refund-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
}

.refund-table th,
.refund-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.refund-table th {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
}

.refund-table td {
    color: var(--navy-light);
}

/* ============================================
   DEALER PAGE
   ============================================ */

.dealer-hero {
    min-height: 55vh;
}

.dealer-benefits {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.benefit-card {
    padding: var(--space-xl);
    background: var(--cream);
    border: 2px solid transparent;
    text-align: center;
    transition: all var(--transition);
}

.benefit-card:hover {
    border-color: var(--navy);
    transform: translateY(-5px);
    box-shadow: 5px 5px 0 var(--red);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--red);
}

.benefit-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--red);
}

.benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.benefit-card p {
    color: var(--navy-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Commission Section */
/* Profit Calculator */
.profit-calculator {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.calculator-container {
    max-width: 700px;
    margin: 0 auto;
}

.calculator-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.calculator-box {
    background: var(--cream);
    border: 2px solid var(--navy);
    padding: var(--space-2xl);
}

.calculator-input {
    margin-bottom: var(--space-xl);
}

.calculator-input label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.slider-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.slider-container input[type="range"] {
    flex: 1;
    height: 8px;
    -webkit-appearance: none;
    background: var(--navy);
    border-radius: 0;
    cursor: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--red);
    cursor: none;
}

.slider-container input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--red);
    border: none;
    cursor: none;
}

.slider-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    min-width: 60px;
    text-align: right;
}

.price-selector {
    display: flex;
    gap: var(--space-sm);
}

.price-btn {
    flex: 1;
    padding: var(--space-md);
    background: var(--white);
    border: 2px solid var(--navy);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.price-btn:hover {
    background: var(--navy);
    color: var(--white);
}

.price-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.calculator-results {
    background: var(--navy);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.result-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.result-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.result-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.result-row.profit .result-value {
    color: #00ff88;
    font-size: 1.3rem;
}

.result-row.margin .result-value {
    color: var(--red);
}

.calculator-hint {
    font-size: 0.75rem;
    color: var(--navy-light);
    margin-top: var(--space-xs);
    font-style: italic;
}

.calculator-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--navy-light);
}

.calculator-note strong {
    color: var(--navy);
}

/* Dealer Tiers */
.dealer-tiers {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--cream);
}

.tiers-container {
    max-width: 1100px;
    margin: 0 auto;
}

.tiers-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.tier-card {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: var(--space-xl);
    text-align: center;
    position: relative;
    transition: all var(--transition);
}

.tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 var(--red);
}

.tier-card.featured-tier {
    background: var(--navy);
    color: var(--white);
    transform: scale(1.05);
}

.tier-card.featured-tier:hover {
    transform: scale(1.05) translateY(-5px);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tier-level {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    opacity: 0.6;
    margin-bottom: var(--space-sm);
}

.tier-investment {
    margin-bottom: var(--space-md);
}

.tier-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}

.tier-card.featured-tier .tier-amount {
    color: var(--white);
}

.tier-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

.tier-min-order {
    font-size: 0.85rem;
    padding: var(--space-sm);
    background: rgba(0, 0, 0, 0.05);
    margin-bottom: var(--space-lg);
}

.tier-card.featured-tier .tier-min-order {
    background: rgba(255, 255, 255, 0.1);
}

.tier-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-lg);
}

.tier-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    font-size: 0.85rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.tier-card.featured-tier .tier-features li {
    border-color: rgba(255, 255, 255, 0.2);
}

.tier-features li:last-child {
    border-bottom: none;
}

.tier-features li.disabled {
    opacity: 0.4;
}

.tier-features .check {
    color: #00cc66;
    font-weight: bold;
}

.tier-features .x {
    color: var(--red);
}

.tier-btn {
    display: block;
    padding: var(--space-md);
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    transition: all var(--transition);
}

.tier-btn:hover {
    background: #ff4d5a;
}

.tier-card.featured-tier .tier-btn {
    background: var(--white);
    color: var(--navy);
}

.tier-card.featured-tier .tier-btn:hover {
    background: var(--red);
    color: var(--white);
}

/* Dealer Services */
.dealer-services {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--cream);
    border: 2px solid transparent;
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: var(--navy);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--red);
}

.service-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--red);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--navy-light);
    margin-bottom: var(--space-md);
}

.service-price {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.service-price strong {
    color: var(--red);
    font-size: 1.2rem;
}

.service-features {
    list-style: none;
    text-align: left;
    font-size: 0.85rem;
}

.service-features li {
    padding: var(--space-xs) 0;
    color: var(--navy-light);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.service-features li:last-child {
    border-bottom: none;
}

/* Dealer FAQ */
.dealer-faq {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--cream);
}

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

.dealer-faq-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.faq-item {
    background: var(--white);
    padding: var(--space-lg);
    border-left: 4px solid var(--red);
}

.faq-item h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--navy-light);
    line-height: 1.6;
}

/* Dealer Steps */
.dealer-steps {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--navy);
    color: var(--white);
}

.dealer-steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.dealer-steps-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.dealer-steps-header .section-number {
    color: var(--red);
}

.dealer-steps-header .section-title {
    color: var(--white);
}

.steps-timeline {
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    width: 50px;
    height: 50px;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-step .step-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.timeline-step .step-content p {
    opacity: 0.7;
    font-size: 0.95rem;
}

/* Dealer Form */
.dealer-form-section {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--cream);
}

.dealer-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.form-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.form-header p {
    color: var(--navy-light);
}

.dealer-form {
    background: var(--white);
    padding: var(--space-2xl);
    border: 2px solid var(--navy);
}

.dealer-form .form-group input[type="text"],
.dealer-form .form-group textarea,
.dealer-form .form-group select {
    border: 2px solid var(--navy);
}

.dealer-form .custom-select {
    max-width: none;
}

.dealer-form .custom-select-trigger {
    background: var(--cream);
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: var(--space-md);
    font-family: inherit;
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--navy);
    background: var(--cream);
    font-family: inherit;
    font-size: 1rem;
    color: var(--navy);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
}

.checkbox-group {
    margin-bottom: var(--space-xl);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--navy-light);
}

.checkbox-label input {
    width: auto;
    margin-top: 3px;
}

.checkbox-label a {
    color: var(--red);
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    background: var(--red);
    color: var(--white);
    border: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.form-submit:hover {
    background: var(--navy);
    transform: translateY(-2px);
}

/* ============================================
   REVIEWS PAGE
   ============================================ */

.reviews-stats {
    padding: var(--space-2xl) var(--space-xl);
    background: var(--navy);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.stat-box {
    text-align: center;
    padding: var(--space-lg);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin: var(--space-xs) 0;
}

.stat-box .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.reviews-section {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.review-card {
    background: var(--cream);
    border: 2px solid transparent;
    padding: var(--space-lg);
    transition: all var(--transition);
}

.review-card:hover {
    border-color: var(--navy);
    transform: translateY(-5px);
    box-shadow: 5px 5px 0 var(--red);
}

.review-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.review-meta h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.review-location {
    font-size: 0.8rem;
    color: var(--navy-light);
}

.review-rating {
    margin-left: auto;
    color: #fbbf24;
    font-size: 0.9rem;
}

.review-text {
    color: var(--navy-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
}

.review-date {
    color: var(--navy-light);
}

.review-verified {
    color: #22c55e;
    font-weight: 600;
}

.load-more-btn {
    display: block;
    margin: 0 auto;
    padding: var(--space-md) var(--space-2xl);
    background: var(--navy);
    color: var(--white);
    border: none;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
}

.load-more-btn:hover {
    background: var(--red);
}

/* Reviews Counter */
.reviews-counter {
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--navy-light);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

[data-theme="dark"] .reviews-counter {
    color: var(--text-secondary);
}

/* Reviews Pagination */
.reviews-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.pag-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border: 2px solid transparent;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.pag-btn:hover {
    border-color: var(--navy);
}

.pag-btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.pag-btn.disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.pag-ellipsis {
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--navy-light);
    user-select: none;
}

[data-theme="dark"] .pag-ellipsis {
    color: var(--text-secondary);
}

.pag-prev,
.pag-next {
    width: auto;
    padding: 0 var(--space-md);
    font-size: 1rem;
}

[data-theme="dark"] .pag-btn {
    background: var(--bg-card);
    color: var(--text-primary);
}

[data-theme="dark"] .pag-btn:hover {
    border-color: var(--red);
}

[data-theme="dark"] .pag-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

@media (max-width: 768px) {
    .pag-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .reviews-cta .cta-title {
        font-size: clamp(2rem, 7vw, 3rem);
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .reviews-cta {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
}

/* Video Testimonials */
.video-testimonials {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--cream);
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.video-card {
    background: var(--white);
    border: 2px solid var(--navy);
    transition: all var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 var(--red);
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: background var(--transition);
}

.video-placeholder:hover {
    background: var(--red);
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.video-placeholder span {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
}

.video-card p {
    padding: var(--space-md);
    color: var(--navy-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Leave Review CTA */
.leave-review-cta {
    padding: var(--space-2xl) var(--space-xl);
    background: var(--red);
}

.leave-review-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.leave-review-text h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.leave-review-text p {
    color: rgba(255, 255, 255, 0.8);
}

.btn-leave-review {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--white);
    color: var(--red);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-leave-review:hover {
    background: var(--navy);
    color: var(--white);
}

.reviews-cta {
    background: var(--cream);
    color: var(--navy);
}

.reviews-cta .cta-title {
    color: var(--navy);
}

.reviews-cta .cta-title .accent {
    color: var(--red);
}

.reviews-cta .cta-desc {
    color: var(--navy);
    opacity: 0.75;
}

.reviews-cta .btn-cta {
    background: var(--red);
    color: var(--white);
}

.reviews-cta .btn-cta:hover {
    background: var(--navy);
}

/* Referral Banner (on opinie page) */
.referral-banner {
    padding: var(--space-2xl) var(--space-xl);
    background: var(--navy);
}

.referral-banner-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.referral-banner-badge {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
}

.referral-banner-badge svg {
    width: 28px;
    height: 28px;
}

.referral-banner-content {
    flex: 1;
}

.referral-banner-content h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.referral-banner-content h2 .dot {
    color: var(--red);
}

.referral-banner-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.referral-banner-content p strong {
    color: var(--white);
}

.btn-referral-banner {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: transparent;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-referral-banner:hover {
    background: var(--red);
    border-color: var(--red);
}

[data-theme="dark"] .referral-banner {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ============================================
   SHOP PAGE
   ============================================ */

.shop-categories {
    padding: var(--space-xl) var(--space-xl);
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.category-btn {
    padding: var(--space-sm) var(--space-lg);
    background: var(--cream);
    border: 2px solid transparent;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.category-btn:hover {
    border-color: var(--navy);
}

.category-btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.shop-section {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.shop-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Featured Product */
.featured-product {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2744 100%);
    color: var(--white);
    margin-bottom: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.featured-product .featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: var(--red);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
    padding: var(--space-2xl);
}

.featured-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image .product-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.product-icon {
    font-size: 4rem;
}

/* SVG Product Icons */
.product-icon-svg {
    width: 64px;
    height: 64px;
    stroke: var(--navy-light);
    transition: stroke var(--transition);
}

.featured-product .product-icon-svg {
    width: 120px;
    height: 120px;
    stroke: rgba(255, 255, 255, 0.6);
}

.product-card:hover .product-icon-svg {
    stroke: var(--red);
}

/* SVG Benefit Icons */
.benefit-icon-svg {
    width: 48px;
    height: 48px;
    stroke: var(--red);
    margin-bottom: var(--space-sm);
}

/* SVG Phone Icon */
.phone-icon-svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    flex-shrink: 0;
}

.featured-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-details .product-category {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--red);
    margin-bottom: var(--space-sm);
}

.featured-details h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
}

.featured-details .product-description {
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.featured-details .product-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.featured-details .product-features li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
}

.featured-details .product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.original-price {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 1.1rem;
}

.sale-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: #22c55e;
}

.savings {
    padding: 4px 12px;
    background: var(--red);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
}

.add-to-cart-btn {
    padding: var(--space-md) var(--space-xl);
    background: var(--red);
    color: var(--white);
    border: none;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.add-to-cart-btn:hover {
    background: var(--white);
    color: var(--red);
}

.add-to-cart-btn.featured-btn {
    align-self: flex-start;
}

/* =============================================
   FEATURED SPLIT CARD — Diagonal Stick + VCR
   ============================================= */
.featured-split {
    position: relative;
    height: clamp(450px, 45vw, 600px);
    overflow: hidden;
    border: 2px solid var(--border-color);
    margin-bottom: var(--space-2xl);
    background: transparent;
    transition: border-color 0.4s ease;
}

.featured-split:hover {
    border-color: var(--red);
}

/* Left panel: Product image */
.split-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e8e8ec 0%, #d5d5db 100%);
    clip-path: polygon(0 0, 65% 0, 35% 100%, 0 100%);
    z-index: 2;
}

[data-theme="dark"] .split-left {
    background: linear-gradient(135deg, #12121a 0%, #0f0f18 100%);
}

.split-left a {
    display: block;
    width: 100%;
    height: 100%;
}

.split-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right panel: VCR subscription */
.split-right {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #1a1a24 0%, #0f0f15 100%);
    clip-path: polygon(65% 0, 100% 0, 100% 100%, 35% 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.split-vcr-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px, transparent 2px,
        rgba(0, 0, 0, 0.12) 2px, rgba(0, 0, 0, 0.12) 4px
    );
    pointer-events: none;
    z-index: 1;
}

.split-vcr-rec {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.split-rec-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--red);
    animation: splitBlink 1s infinite;
}

@keyframes splitBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.split-vcr-rec span {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.1em;
}

.split-vcr-content {
    text-align: center;
    transform: translateX(12%);
    z-index: 1;
}

.split-vcr-tier {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: white;
    text-shadow: 0 0 30px var(--red-glow), 3px 3px 0 rgba(230, 57, 70, 0.3);
    line-height: 1;
}

.split-vcr-info {
    font-family: 'VT323', var(--font-display), monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.15em;
    margin-top: 8px;
}

.split-vcr-gratis {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 14px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    font-family: var(--font-display);
    font-size: 0.55rem;
    font-weight: 700;
    color: #22c55e;
    letter-spacing: 0.1em;
}

/* Diagonal divider line */
.split-divider {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: var(--red);
    clip-path: polygon(65% 0, 65.5% 0, 35.5% 100%, 35% 100%);
}

/* Drag handle */
.split-drag-handle {
    position: absolute;
    width: 38px;
    height: 38px;
    background: var(--red);
    border: 3px solid white;
    border-radius: 50%;
    z-index: 20;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), 0 0 10px var(--red-glow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    user-select: none;
    touch-action: none;
    /* default position: midpoint of diagonal (50%, 50%) */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.split-drag-handle:hover {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 15px var(--red-glow);
}

.split-drag-handle:active,
.split-drag-handle.dragging {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.2);
}

.split-drag-handle svg {
    width: 18px;
    height: 18px;
}

/* Bottom info bar */
.split-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    background: rgba(10, 10, 18, 0.92);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.split-bar .featured-badge {
    position: static;
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 4px;
    font-size: 0.55rem;
}

.split-bar-left h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 900;
    color: white;
}

.split-bar-left h3 a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.split-bar-left h3 a:hover {
    color: var(--red);
}

.split-bar-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    max-width: 450px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.split-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.split-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.split-pricing .original-price {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    opacity: 1;
}

.split-pricing .sale-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
}

.split-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.split-buttons .btn-secondary {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    text-align: center;
    transition: color 0.2s;
}

.split-buttons .btn-secondary:hover {
    color: var(--red);
}

/* Mobile */
@media (max-width: 768px) {
    .featured-split {
        height: 350px;
    }

    .split-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px;
        gap: 10px;
    }

    .split-bar-right {
        width: 100%;
        justify-content: space-between;
    }

    .split-bar-desc {
        display: none;
    }

    .split-vcr-tier {
        font-size: 1.5rem;
    }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.products-grid.subscriptions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.product-card {
    background: var(--cream);
    border: 2px solid transparent;
    position: relative;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--navy);
    transform: translateY(-5px);
    box-shadow: 5px 5px 0 var(--red);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 1;
}

.product-image {
    aspect-ratio: 1;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image .product-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-photo {
    transform: scale(1.05);
}

.product-image .product-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--navy-light);
}

.product-image .product-icon {
    font-size: 3rem;
}

.product-info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info .product-category {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: var(--space-xs);
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.product-info p {
    font-size: 0.85rem;
    color: var(--navy-light);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}

.product-specs {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.product-specs span {
    padding: 2px 8px;
    background: var(--white);
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--navy);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    margin-top: auto;
}

.product-price .price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
}

.product-price .original-price {
    font-size: 0.9rem;
    color: var(--navy-light);
}

.product-card .add-to-cart-btn {
    width: 100%;
    justify-content: center;
    padding: var(--space-sm);
    font-size: 0.8rem;
}

/* Product card links */
.product-card .product-link {
    display: block;
    text-decoration: none;
}

.product-card .product-info h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.product-card .product-info h3 a:hover {
    color: var(--red);
}

.product-card .product-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-icon-svg svg {
    width: 48px;
    height: 48px;
}

/* Featured product buttons */
.featured-buttons {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.featured-buttons .btn-secondary {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
    color: var(--white);
    border-color: var(--white);
}

.featured-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

.featured-details h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.featured-details h2 a:hover {
    color: var(--red);
}

.featured-image {
    display: block;
    text-decoration: none;
}

/* Shop Benefits */
.shop-benefits {
    padding: var(--space-2xl) var(--space-xl);
    background: var(--cream);
}

.shop-benefits-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.shop-benefits-container h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-xl);
}

.shop-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.shop-benefit {
    text-align: center;
}

.shop-benefit .benefit-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.shop-benefit h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.shop-benefit p {
    font-size: 0.85rem;
    color: var(--navy-light);
}

/* Shop Help */
.shop-help {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--navy);
}

.shop-help-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.help-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.help-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-xl);
}

.help-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.help-buttons .btn-secondary {
    padding: var(--space-md) var(--space-xl);
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all var(--transition);
}

.help-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

/* Shop mobile */
@media (max-width: 768px) {
    .shop-categories {
        padding: var(--space-md) var(--space-sm);
    }

    .categories-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xs);
    }

    .category-btn {
        padding: var(--space-sm) var(--space-xs);
        font-size: 0.75rem;
        text-align: center;
    }

    .shop-section {
        padding: var(--space-2xl) var(--space-sm);
    }

    .featured-product {
        overflow: visible;
    }

    .featured-content {
        grid-template-columns: 1fr;
        padding: var(--space-md);
        gap: var(--space-md);
    }

    .featured-details h2 {
        font-size: 1.3rem;
        word-break: break-word;
    }

    .featured-details .product-description {
        font-size: 0.85rem;
    }

    .sale-price {
        font-size: 1.8rem;
    }

    .product-pricing {
        flex-wrap: wrap;
    }

    .featured-buttons {
        flex-direction: column;
    }

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

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .products-grid.subscriptions-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .product-image {
        aspect-ratio: 4/3;
    }

    .product-image .product-icon {
        font-size: 2rem;
    }

    .product-card .product-icon-svg svg {
        width: 32px;
        height: 32px;
    }

    .product-info {
        padding: var(--space-sm);
    }

    .product-info .product-category {
        font-size: 0.55rem;
        margin-bottom: 2px;
    }

    .product-info h3 {
        font-size: 0.75rem;
        margin-bottom: 2px;
    }

    .product-info p {
        display: none;
    }

    .product-specs {
        margin-bottom: var(--space-xs);
    }

    .product-specs span {
        font-size: 0.55rem;
        padding: 1px 5px;
    }

    .product-price {
        margin-bottom: var(--space-xs);
    }

    .product-price .price {
        font-size: 0.95rem;
    }

    .product-price .original-price {
        font-size: 0.7rem;
    }

    .product-card .add-to-cart-btn {
        padding: var(--space-xs);
        font-size: 0.7rem;
    }

    .product-badge {
        top: 5px;
        left: 5px;
        padding: 2px 6px;
        font-size: 0.55rem;
    }
}

/* ============================================
   DARK THEME — NEW PAGES
   ============================================ */

/* Legal Pages */
[data-theme="dark"] .legal-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .legal-updated {
    background: rgba(255, 71, 87, 0.15);
}

[data-theme="dark"] .legal-article {
    border-color: var(--border-color);
}

[data-theme="dark"] .legal-article h2,
[data-theme="dark"] .legal-article h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .legal-article p,
[data-theme="dark"] .legal-list li {
    color: var(--text-secondary);
}

[data-theme="dark"] .legal-list li strong {
    color: var(--text-primary);
}

[data-theme="dark"] .refund-step {
    background: var(--bg-card);
}

[data-theme="dark"] .refund-step h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .refund-table th {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

[data-theme="dark"] .refund-table td {
    color: var(--text-secondary);
    border-color: var(--border-color);
}

/* Dealer Page */
[data-theme="dark"] .dealer-benefits {
    background: var(--bg-primary);
}

[data-theme="dark"] .benefit-card {
    background: var(--bg-card);
}

[data-theme="dark"] .benefit-card:hover {
    border-color: var(--red);
}

[data-theme="dark"] .benefit-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .benefit-card p {
    color: var(--text-secondary);
}

/* Profit Calculator - Dark */
[data-theme="dark"] .profit-calculator {
    background: var(--bg-secondary);
}

[data-theme="dark"] .calculator-box {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .calculator-input label {
    color: var(--text-primary);
}

[data-theme="dark"] .slider-container input[type="range"] {
    background: var(--border-color);
}

[data-theme="dark"] .slider-value {
    color: var(--text-primary);
}

[data-theme="dark"] .price-btn {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .price-btn:hover {
    background: var(--border-hover);
}

[data-theme="dark"] .calculator-results {
    background: var(--bg-elevated);
}

[data-theme="dark"] .calculator-hint {
    color: var(--text-secondary);
}

[data-theme="dark"] .calculator-note {
    color: var(--text-secondary);
}

[data-theme="dark"] .calculator-note strong {
    color: var(--text-primary);
}

/* Dealer Tiers - Dark */
[data-theme="dark"] .dealer-tiers {
    background: var(--bg-primary);
}

[data-theme="dark"] .tier-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .tier-card:hover {
    border-color: var(--red);
}

[data-theme="dark"] .tier-level {
    color: var(--text-secondary);
}

[data-theme="dark"] .tier-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .tier-min-order {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

[data-theme="dark"] .tier-features li {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

/* Dealer Services - Dark */
[data-theme="dark"] .dealer-services {
    background: var(--bg-secondary);
}

[data-theme="dark"] .service-card {
    background: var(--bg-card);
}

[data-theme="dark"] .service-card:hover {
    border-color: var(--red);
}

[data-theme="dark"] .service-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .service-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .service-price {
    color: var(--text-primary);
}

[data-theme="dark"] .service-features li {
    color: var(--text-secondary);
    border-color: var(--border-color);
}

/* Dealer FAQ - Dark */
[data-theme="dark"] .dealer-faq {
    background: var(--bg-primary);
}

[data-theme="dark"] .faq-item {
    background: var(--bg-card);
}

[data-theme="dark"] .faq-item h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .faq-item p {
    color: var(--text-secondary);
}

/* ============================================
   DEALER PUBLIC PAGE - NEW SECTIONS
   ============================================ */

/* How It Works */
.dealer-how-it-works {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal pattern background */
.dealer-how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -45deg,
            transparent 0px,
            transparent 40px,
            rgba(255,255,255,0.015) 40px,
            rgba(255,255,255,0.015) 41px
        );
    pointer-events: none;
}

.how-it-works-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.how-it-works-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.dealer-how-it-works .section-number {
    color: var(--red);
}

.dealer-how-it-works .section-title {
    color: var(--white);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    position: relative;
}

/* No horizontal connector — cards are visually linked by layout + inner connectors */

.dealer-how-it-works .how-step {
    display: block;
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
    transition: all 0.3s ease;
}

.dealer-how-it-works .how-step:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.dealer-how-it-works .how-step-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.dealer-how-it-works .how-step-num {
    width: 48px;
    height: 48px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(230,57,70,0.35);
}

.dealer-how-it-works .how-step-icon {
    width: 36px;
    height: 36px;
    color: rgba(255,255,255,0.5);
}

.dealer-how-it-works .how-step-icon svg {
    width: 100%;
    height: 100%;
}

.dealer-how-it-works .how-step:hover .how-step-icon {
    color: var(--red);
}

/* Connector line below icon */
.dealer-how-it-works .how-step-connector {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, rgba(230,57,70,0.4), rgba(255,255,255,0.08));
    margin: 0 auto var(--space-md);
}

.dealer-how-it-works .how-step h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.dealer-how-it-works .how-step p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

/* Tiers Preview */
.dealer-tiers-preview {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--cream);
}

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

.tiers-preview-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.tiers-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.tier-preview-card {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: var(--space-lg);
    text-align: center;
    position: relative;
    transition: all var(--transition);
}

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

.tier-preview-card.featured {
    background: var(--navy);
    color: var(--white);
    transform: scale(1.05);
}

.tier-preview-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.tier-preview-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 12px;
    text-transform: uppercase;
}

.tier-preview-level {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.tier-preview-card p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: var(--space-md);
}

.tier-preview-card ul {
    list-style: none;
    text-align: left;
    font-size: 0.85rem;
}

.tier-preview-card ul li {
    padding: var(--space-xs) 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.tier-preview-card.featured ul li {
    border-color: rgba(255, 255, 255, 0.2);
}

.tier-preview-card ul li:last-child {
    border-bottom: none;
}

.ai-highlight {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(29, 53, 87, 0.1) 100%);
    border: 2px solid var(--red);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.ai-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    color: var(--red);
}

.ai-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--red);
}

.ai-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

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

/* Powered by Asternous badge */
.powered-by-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 5px 14px 5px 10px;
    background: linear-gradient(135deg, rgba(29,53,87,0.08) 0%, rgba(230,57,70,0.06) 100%);
    border: 1px solid rgba(29,53,87,0.12);
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--navy-light);
    line-height: 1;
}

.powered-by-badge strong {
    font-weight: 800;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    color: var(--navy);
    display: inline;
    margin: 0;
    line-height: 1;
}

.powered-by-badge .powered-copy {
    font-size: 0.7rem;
    line-height: 1;
    opacity: 0.5;
    margin-right: -2px;
}

/* Animated pulse dot */
.powered-pulse {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(230,57,70,0);
    animation: poweredPing 2.5s ease-in-out infinite;
}

@keyframes poweredPing {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); }
    50% { box-shadow: 0 0 0 4px rgba(230,57,70,0.3); }
}

/* Dark theme */
[data-theme="dark"] .powered-by-badge {
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(230,57,70,0.06) 100%);
    border-color: rgba(255,255,255,0.08);
    color: var(--text-secondary);
}

[data-theme="dark"] .powered-by-badge strong {
    color: var(--text-primary);
}

[data-theme="dark"] .ai-highlight {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: var(--red);
}

[data-theme="dark"] .ai-text strong {
    color: var(--text-primary);
}

[data-theme="dark"] .ai-text p {
    color: var(--text-secondary);
}

.tiers-preview-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--navy-light);
    font-style: italic;
}

/* Dealer Login Section */
.dealer-login-section {
    padding: var(--space-2xl) var(--space-xl);
    background: var(--navy);
}

.dealer-login-container {
    max-width: 600px;
    margin: 0 auto;
}

.dealer-login-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-xl);
    text-align: center;
}

.dealer-login-box h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.dealer-login-box p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}

.dealer-login-btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all var(--transition);
}

.dealer-login-btn:hover {
    background: #ff4d5a;
    transform: translateY(-2px);
}

/* Portal Logout Button */
.portal-logout-btn {
    padding: 8px 16px;
    background: transparent;
    border: 2px solid var(--red);
    color: var(--red);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.portal-logout-btn:hover {
    background: var(--red);
    color: #fff;
}

/* Portal Pricing Section */
.portal-pricing {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--cream);
}

.portal-pricing-container {
    max-width: 800px;
    margin: 0 auto;
}

.portal-section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.pricing-info-box {
    background: var(--white);
    border: 2px solid var(--navy);
}

.pricing-main {
    background: var(--navy);
    color: #fff;
    padding: var(--space-xl);
    text-align: center;
}

.pricing-big {
    margin-bottom: var(--space-md);
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

.pricing-per {
    font-size: 1.2rem;
    opacity: 0.8;
}

.pricing-note {
    font-size: 0.9rem;
    opacity: 0.7;
}

.pricing-note strong {
    color: var(--red);
}

.pricing-details {
    padding: var(--space-lg);
}

.pricing-detail {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

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

.detail-label {
    color: var(--navy-light);
    font-size: 0.9rem;
}

.detail-value {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
}

/* Dark theme for new sections */
/* Dark theme — how-it-works already on dark bg, just adjust subtle tones */
[data-theme="dark"] .dealer-how-it-works {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .dealer-tiers-preview {
    background: var(--bg-primary);
}

[data-theme="dark"] .tier-preview-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .tier-preview-card ul li {
    border-color: var(--border-color);
}

[data-theme="dark"] .tiers-preview-note {
    color: var(--text-secondary);
}

[data-theme="dark"] .dealer-login-section {
    background: var(--bg-elevated);
}

[data-theme="dark"] .portal-pricing {
    background: var(--bg-primary);
}

[data-theme="dark"] .pricing-info-box {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .pricing-main {
    background: var(--bg-elevated);
}

[data-theme="dark"] .pricing-detail {
    border-color: var(--border-color);
}

[data-theme="dark"] .detail-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .detail-value {
    color: var(--text-primary);
}

[data-theme="dark"] .dealer-steps {
    background: var(--bg-secondary);
}

[data-theme="dark"] .steps-timeline::before {
    background: var(--border-color);
}

[data-theme="dark"] .dealer-form-section {
    background: var(--bg-secondary);
}

[data-theme="dark"] .form-header h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .form-header p {
    color: var(--text-secondary);
}

[data-theme="dark"] .dealer-form {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .form-group label {
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--red);
    background: var(--bg-elevated);
}

[data-theme="dark"] .checkbox-label {
    color: var(--text-secondary);
}

/* Reviews Page */
[data-theme="dark"] .reviews-stats {
    background: var(--bg-secondary);
}

[data-theme="dark"] .reviews-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .review-card {
    background: var(--bg-card);
}

[data-theme="dark"] .review-card:hover {
    border-color: var(--red);
}

[data-theme="dark"] .review-avatar {
    background: var(--bg-elevated);
}

[data-theme="dark"] .review-meta h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .review-location,
[data-theme="dark"] .review-text,
[data-theme="dark"] .review-date {
    color: var(--text-secondary);
}

[data-theme="dark"] .review-footer {
    border-color: var(--border-color);
}

[data-theme="dark"] .reviews-cta {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .reviews-cta .cta-title {
    color: var(--text-primary);
}

[data-theme="dark"] .reviews-cta .cta-title .accent {
    color: var(--red);
}

[data-theme="dark"] .reviews-cta .cta-desc {
    color: var(--text-secondary);
    opacity: 1;
}

[data-theme="dark"] .video-testimonials {
    background: var(--bg-secondary);
}

[data-theme="dark"] .video-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .video-card:hover {
    border-color: var(--red);
}

[data-theme="dark"] .video-card p {
    color: var(--text-secondary);
}

/* Shop Page */
[data-theme="dark"] .shop-categories {
    background: var(--bg-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .category-btn {
    background: var(--bg-card);
    color: var(--text-primary);
}

[data-theme="dark"] .category-btn:hover {
    border-color: var(--border-hover);
}

[data-theme="dark"] .category-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

[data-theme="dark"] .shop-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .product-card {
    background: var(--bg-card);
}

[data-theme="dark"] .product-card:hover {
    border-color: var(--red);
}

[data-theme="dark"] .product-image {
    background: var(--bg-secondary);
}

[data-theme="dark"] .product-info h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .product-info p {
    color: var(--text-secondary);
}

[data-theme="dark"] .product-specs span {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .product-price .price {
    color: var(--text-primary);
}

[data-theme="dark"] .product-info h3 a {
    color: var(--text-primary);
}

[data-theme="dark"] .product-info h3 a:hover {
    color: var(--red);
}

[data-theme="dark"] .featured-details h2 a {
    color: var(--text-primary);
}

[data-theme="dark"] .featured-details h2 a:hover {
    color: var(--red);
}

[data-theme="dark"] .shop-benefits {
    background: var(--bg-secondary);
}

[data-theme="dark"] .shop-benefits-container h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .shop-benefit h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .shop-benefit p {
    color: var(--text-secondary);
}

[data-theme="dark"] .shop-help {
    background: var(--bg-secondary);
}

[data-theme="dark"] .shop-help .help-content h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .shop-help .help-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .shop-help .btn-secondary {
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .shop-help .btn-secondary:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* SVG Icons — Dark Theme */
[data-theme="dark"] .product-icon-svg {
    stroke: var(--text-secondary);
}

[data-theme="dark"] .product-card:hover .product-icon-svg {
    stroke: var(--red);
}

[data-theme="dark"] .benefit-icon-svg {
    stroke: var(--red);
}

/* ============================================
   RESPONSIVE — NEW PAGES
   ============================================ */

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

    .commission-tiers {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .tier-card.featured-tier {
        transform: none;
    }

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

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

    .featured-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .reviews-section,
    .leave-review-cta {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .benefits-grid,
    .dealer-who-grid,
    .reviews-grid,
    .video-grid,
    .shop-benefits-grid,
    .tiers-grid,
    .services-grid,
    .faq-grid,
    .how-it-works-grid,
    .tiers-preview-grid {
        grid-template-columns: 1fr;
    }

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

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

    .leave-review-inner {
        flex-direction: column;
        text-align: center;
    }

    .referral-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .help-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tier-card.featured-tier,
    .tier-preview-card.featured {
        transform: none;
    }

    .tier-card.featured-tier:hover,
    .tier-preview-card.featured:hover {
        transform: translateY(-5px);
    }

    .price-selector {
        flex-direction: column;
    }

    .slider-container {
        flex-direction: column;
        align-items: stretch;
    }

    .slider-value {
        text-align: center;
        margin-top: var(--space-sm);
    }
}

/* ============================================
   DASHBOARD / KONTO PAGE
   ============================================ */

.page-hero-small {
    min-height: 30vh;
}

.page-hero-small .page-hero-content {
    padding-top: var(--space-3xl);
}

.dashboard {
    padding: var(--space-2xl) var(--space-xl);
}

.dash-swipe-hint {
    display: none;
}

.dash-swipe-left,
.dash-swipe-right {
    display: none;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
}

.dashboard-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.dashboard-nav {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: var(--space-sm);
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: none;
    transition: all 0.3s ease;
}

.dashboard-nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.dashboard-nav-item:hover {
    background: var(--cream);
    color: var(--red);
}

.dashboard-nav-item.active {
    background: var(--navy);
    color: var(--white);
}

.dashboard-nav-item.logout {
    margin-top: var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: var(--space-lg);
    color: var(--red);
}

.dashboard-nav-item.logout:hover {
    background: var(--red);
    color: var(--white);
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.dashboard-section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--navy);
}

/* Subscription Card */
.subscription-card {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: var(--space-xl);
}

.subscription-status {
    margin-bottom: var(--space-md);
}

.status-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.active {
    background: #4ADE80;
    color: #000;
}

.status-badge.expired {
    background: var(--red);
    color: #fff;
}

.subscription-plan {
    margin-bottom: var(--space-lg);
}

.plan-label {
    display: block;
    font-size: 0.85rem;
    color: var(--navy-light);
    margin-bottom: var(--space-xs);
}

.plan-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--navy);
}

.subscription-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: var(--space-lg);
}

.detail-item {
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 0.85rem;
    color: var(--navy-light);
    margin-bottom: var(--space-xs);
}

.detail-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.detail-value.highlight {
    color: var(--red);
}

.subscription-actions {
    display: flex;
    gap: var(--space-md);
}

.btn-subscription {
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--red);
    color: #fff;
    border: 2px solid var(--red);
    transition: all 0.3s ease;
}

.btn-subscription:hover {
    background: var(--navy);
    border-color: var(--navy);
}

.btn-subscription-alt {
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    transition: all 0.3s ease;
}

.btn-subscription-alt:hover {
    background: var(--navy);
    color: var(--white);
}

/* No Subscription */
.no-subscription {
    text-align: center;
    padding: var(--space-3xl);
    background: var(--white);
    border: 2px dashed var(--navy);
}

.no-sub-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

.no-subscription h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.no-subscription p {
    color: var(--navy-light);
    margin-bottom: var(--space-xl);
}

/* Codes */
.codes-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.code-card {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: var(--space-lg);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-lg);
}

.code-badge {
    display: inline-block;
    padding: 4px 12px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.code-badge.active {
    background: #4ADE80;
    color: #000;
}

.code-badge.inactive {
    background: #FCD34D;
    color: #000;
}

.code-badge.used {
    background: var(--navy-light);
    color: #fff;
}

.code-value {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.05em;
}

.code-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--navy-light);
}

.btn-activate {
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--red);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-activate:hover {
    background: var(--navy);
}

.code-card.used {
    opacity: 0.6;
}

/* Add Code */
.add-code {
    background: var(--cream);
    padding: var(--space-xl);
    border: 2px solid var(--navy);
}

.add-code h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.add-code-form {
    display: flex;
    gap: var(--space-md);
}

.code-input {
    flex: 1;
    padding: var(--space-md);
    font-family: monospace;
    font-size: 1rem;
    border: 2px solid var(--navy);
    background: var(--white);
}

.code-input:focus {
    outline: none;
    border-color: var(--red);
}

.btn-add-code {
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--navy);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-code:hover {
    background: var(--red);
}

/* History Table */
.history-table-wrap {
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 2px solid var(--navy);
}

.history-table th,
.history-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.history-table th {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    background: var(--cream);
}

.history-table td {
    font-size: 0.95rem;
    color: var(--navy-light);
}

.payment-status {
    display: inline-block;
    padding: 4px 12px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.payment-status.paid {
    background: #4ADE80;
    color: #000;
}

.payment-status.pending {
    background: #FCD34D;
    color: #000;
}

.payment-status.failed {
    background: var(--red);
    color: #fff;
}

/* Settings */
.settings-group {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.settings-group h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.settings-field {
    margin-bottom: var(--space-md);
}

.settings-field label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.settings-field input {
    width: 100%;
    max-width: 400px;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--navy);
    background: var(--cream);
    border: 2px solid var(--navy);
}

.settings-field input:focus {
    outline: none;
    border-color: var(--red);
}

.settings-field input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.field-note {
    display: block;
    font-size: 0.8rem;
    color: var(--navy-light);
    margin-top: var(--space-xs);
}

/* Avatar Upload */
.avatar-upload-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

.avatar-preview:hover {
    border-color: var(--red);
}

.avatar-initial {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
    border-radius: 50%;
}

.avatar-preview:hover .avatar-overlay {
    opacity: 1;
}

.avatar-overlay svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

.avatar-remove-btn {
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--red);
    cursor: pointer;
    transition: opacity 0.2s;
}

.avatar-remove-btn:hover {
    opacity: 0.7;
}

[data-theme="dark"] .avatar-preview {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .avatar-preview:hover {
    border-color: var(--red);
}

[data-theme="dark"] .avatar-initial {
    color: var(--text-secondary);
}

.btn-save-settings {
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--red);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: var(--space-md);
}

.btn-save-settings:hover {
    background: var(--navy);
}

/* Dashboard Dark Theme */
[data-theme="dark"] .dashboard-nav {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .dashboard-nav-item {
    color: var(--text-primary);
}

[data-theme="dark"] .dashboard-nav-item:hover {
    background: var(--bg-elevated);
    color: var(--red);
}

[data-theme="dark"] .dashboard-nav-item.active {
    background: var(--red);
    color: #fff;
}

[data-theme="dark"] .dashboard-nav-item.logout {
    border-color: var(--border-color);
}

[data-theme="dark"] .dash-swipe-left,
[data-theme="dark"] .dash-swipe-right {
    color: #fff;
}

[data-theme="dark"] .dashboard-section-title {
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .subscription-card,
[data-theme="dark"] .code-card,
[data-theme="dark"] .add-code,
[data-theme="dark"] .settings-group {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .plan-name,
[data-theme="dark"] .code-value,
[data-theme="dark"] .detail-value {
    color: var(--text-primary);
}

[data-theme="dark"] .plan-label,
[data-theme="dark"] .detail-label,
[data-theme="dark"] .code-details {
    color: var(--text-secondary);
}

[data-theme="dark"] .subscription-details {
    border-color: var(--border-color);
}

[data-theme="dark"] .no-subscription {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .no-subscription h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .no-subscription p {
    color: var(--text-secondary);
}

[data-theme="dark"] .btn-subscription-alt {
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .btn-subscription-alt:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

[data-theme="dark"] .code-input,
[data-theme="dark"] .settings-field input {
    background: var(--bg-elevated);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .history-table {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .history-table th {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

[data-theme="dark"] .history-table td {
    color: var(--text-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .settings-group h3 {
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .settings-field label,
[data-theme="dark"] .add-code h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .field-note {
    color: var(--text-secondary);
}

/* Dashboard Responsive */
@media (max-width: 768px) {
    .dashboard {
        padding: var(--space-md) 0 var(--space-xl);
    }

    .dashboard-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        min-width: 0;
    }

    .dashboard-sidebar {
        position: sticky;
        top: 62px;
        z-index: 100;
        min-width: 0;
        overflow: hidden;
    }

    .dashboard-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0;
        padding: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border-left: none;
        border-right: none;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .dashboard-nav::-webkit-scrollbar {
        display: none;
    }

    .dashboard-nav-item {
        flex: 0 0 auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 6px 10px;
        min-width: 0;
        font-size: 0.55rem;
        gap: 2px;
        border-bottom: none;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .dashboard-nav-item svg {
        width: 18px;
        height: 18px;
    }

    .dashboard-nav-item .nav-led {
        display: none;
    }

    .dashboard-nav-item.logout {
        margin-top: 0;
        border-top: none;
        padding-top: var(--space-xs);
    }

    .dashboard-main {
        padding: var(--space-md) var(--space-sm);
        min-width: 0;
    }

    .dashboard-section-title {
        font-size: 1.1rem;
        margin-bottom: var(--space-md);
        padding-bottom: var(--space-sm);
    }

    .subscription-card {
        padding: var(--space-sm);
    }

    .subscription-card.tv-frame {
        border-width: 3px;
    }

    .subscription-status {
        margin-bottom: var(--space-xs);
    }

    .status-badge {
        padding: 4px var(--space-sm);
        font-size: 0.65rem;
    }

    .subscription-plan {
        margin-bottom: var(--space-sm);
    }

    .plan-name {
        font-size: 1.4rem;
    }

    .plan-label {
        font-size: 0.75rem;
        margin-bottom: 2px;
    }

    .subscription-details {
        grid-template-columns: 1fr;
        text-align: left;
        padding: var(--space-xs) 0;
        gap: 0;
        margin-bottom: var(--space-xs);
    }

    .detail-item {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: var(--space-xs) 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .detail-label {
        font-size: 0.75rem;
    }

    .detail-value {
        font-size: 0.95rem;
    }

    .subscription-actions {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .btn-subscription,
    .btn-subscription-alt {
        padding: var(--space-sm);
        font-size: 0.75rem;
        text-align: center;
    }

    .code-card {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .add-code-form {
        flex-direction: column;
    }

    /* Swipe hint above strip */
    .dash-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 4px 0;
        font-family: var(--font-display);
        font-size: 0.6rem;
        font-weight: 600;
        color: #999;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        animation: dashHintPulse 2s ease-in-out infinite;
    }

    .dash-swipe-hint svg {
        animation: dashHintArrowLeft 1.5s ease-in-out infinite;
    }

    /* Swipe chevron overlays on edges */
    .dash-swipe-left,
    .dash-swipe-right {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        bottom: 0;
        padding: 0 4px;
        pointer-events: none;
        color: #fff;
        z-index: 2;
        transition: opacity 0.3s;
    }

    .dash-swipe-left {
        left: 0;
        animation: dashSwipeLeft 1.5s ease-in-out infinite;
    }

    .dash-swipe-right {
        right: 0;
        animation: dashSwipeRight 1.5s ease-in-out infinite;
    }
}

@keyframes dashHintPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes dashSwipeLeft {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(-3px); opacity: 1; }
}

@keyframes dashSwipeRight {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(3px); opacity: 1; }
}

@keyframes dashHintArrowLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-4px); }
}

/* ============================================
   DASHBOARD VHS ENHANCEMENT STYLES
   ============================================ */

/* LED Indicators for Navigation */
.nav-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

.dashboard-nav-item:hover .nav-led {
    background: #666;
}

.dashboard-nav-item.active .nav-led {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6), 0 0 16px rgba(34, 197, 94, 0.3);
    animation: ledPulse 2s ease-in-out infinite;
}

.nav-led-red {
    background: #991b1b !important;
}

.dashboard-nav-item.logout:hover .nav-led-red {
    background: #ef4444 !important;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

@keyframes ledPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* VHS Navigation Panel */
.vhs-nav {
    position: relative;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 3px solid #333;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 4px 20px rgba(0,0,0,0.3);
}

.vhs-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
        #222 0%,
        #444 25%,
        #222 50%,
        #444 75%,
        #222 100%);
}

.vhs-nav .dashboard-nav-item {
    color: #999;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.vhs-nav .dashboard-nav-item:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.vhs-nav .dashboard-nav-item.active {
    background: linear-gradient(90deg, var(--red) 0%, #b91c1c 100%);
    color: #fff;
}

@media (max-width: 768px) {
    .vhs-nav {
        border-left: none;
        border-right: none;
        border-width: 2px 0;
    }

    .vhs-nav::before {
        display: none;
    }

    .vhs-nav .dashboard-nav-item {
        border-bottom: none;
    }
}

/* TV Frame for Subscription Card */
.tv-frame {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 8px solid #222;
    border-radius: 8px;
    box-shadow:
        inset 0 0 60px rgba(0,0,0,0.5),
        0 10px 40px rgba(0,0,0,0.4),
        0 0 0 2px #444;
    overflow: hidden;
}

.tv-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.tv-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 2;
    animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

.tv-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.tv-frame .subscription-status {
    position: relative;
    z-index: 3;
}

.tv-frame .status-badge.active {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.status-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
    animation: ledPulse 1.5s ease-in-out infinite;
}

.tv-frame .plan-name,
.tv-frame .detail-value {
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.tv-frame .plan-label,
.tv-frame .detail-label {
    color: #888;
}

.tv-frame .subscription-details {
    border-color: rgba(255,255,255,0.1);
    position: relative;
    z-index: 3;
}

.tv-frame .subscription-plan,
.tv-frame .subscription-actions {
    position: relative;
    z-index: 3;
}

/* VHS Buttons */
.vhs-btn {
    position: relative;
    overflow: hidden;
}

.vhs-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.vhs-btn:hover::before {
    left: 100%;
}

/* ============================================
   DEVICES SECTION
   ============================================ */

.devices-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #333;
    margin-bottom: var(--space-xl);
}

.devices-count-wrap {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.devices-count {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #22c55e;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.devices-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.devices-note {
    font-size: 0.85rem;
    color: #666;
}

.devices-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

/* VHS Cassette Style Device Cards */
.device-card.vhs-cassette {
    position: relative;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 50%, #222 100%);
    border: 3px solid #444;
    border-radius: 4px;
    padding: var(--space-lg) var(--space-xl);
    display: grid;
    grid-template-columns: 60px 1fr auto auto;
    gap: var(--space-lg);
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.device-card.vhs-cassette::before {
    content: 'VHS';
    position: absolute;
    top: 8px;
    right: 12px;
    font-family: 'Arial Black', sans-serif;
    font-size: 0.6rem;
    color: #555;
    letter-spacing: 0.1em;
}

.cassette-stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg,
        #c41e3a 0%,
        #c41e3a 30%,
        #fff 30%,
        #fff 35%,
        #1a1a5c 35%,
        #1a1a5c 100%);
}

.cassette-window {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    opacity: 0.3;
}

.cassette-reel {
    width: 24px;
    height: 24px;
    border: 2px solid #555;
    border-radius: 50%;
    position: relative;
}

.cassette-reel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
}

.device-card.online .cassette-reel {
    animation: reelSpin 3s linear infinite;
}

@keyframes reelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.device-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.device-icon svg {
    width: 28px;
    height: 28px;
    stroke: #888;
}

.device-card.online .device-icon {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.device-card.online .device-icon svg {
    stroke: #22c55e;
}

.device-info {
    min-width: 0;
}

.device-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.device-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: #666;
}

.device-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.device-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.offline {
    background: #666;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
    }
}

.status-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
}

.device-card.online .status-text {
    color: #22c55e;
}

.device-disconnect {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: transparent;
    border: 2px solid #444;
    color: #888;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.device-disconnect svg {
    width: 16px;
    height: 16px;
}

.device-disconnect:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* VHS Eject Animation */
.device-card.ejecting {
    animation: vhsEject 0.5s ease-out forwards;
}

@keyframes vhsEject {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    30% {
        transform: translateX(-20px);
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Device Card Hover */
.device-card.vhs-cassette:hover {
    transform: translateX(8px);
    box-shadow: -8px 0 20px rgba(0,0,0,0.3);
}

.devices-info-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 4px;
}

.devices-info-box .info-icon {
    flex-shrink: 0;
}

.devices-info-box .info-icon svg {
    width: 20px;
    height: 20px;
    stroke: #3b82f6;
}

.devices-info-box p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* ============================================
   SETTINGS ENHANCEMENTS
   ============================================ */

/* VHS Panel Style */
.vhs-panel {
    background: linear-gradient(180deg, #1f1f1f 0%, #141414 100%);
    border: 1px solid #333;
    padding: var(--space-lg);
    position: relative;
}

.settings-group.vhs-panel {
    border-width: 2px;
    overflow: visible;
}

.settings-group.vhs-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #333 0%, #555 50%, #333 100%);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.panel-led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    animation: ledPulse 2s ease-in-out infinite;
}

.panel-led-red {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.settings-group.vhs-panel h3 {
    color: #fff;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.settings-group.vhs-panel .settings-field label {
    color: #888;
}

.settings-group.vhs-panel .settings-field input {
    background: rgba(0,0,0,0.3);
    border: 2px solid #333;
    color: #fff;
}

.settings-group.vhs-panel .settings-field input:focus {
    border-color: var(--red);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.2);
}

.settings-group.vhs-panel .settings-field input:disabled {
    color: #666;
}

.settings-group.vhs-panel .field-note {
    color: #555;
}

/* Toggle Switches */
.settings-toggles {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.toggle-row:hover {
    background: rgba(0,0,0,0.3);
}

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

.toggle-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.toggle-desc {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    background: #333;
    border: 2px solid #444;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #888;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.toggle-switch.active {
    background: rgba(196, 30, 58, 0.3);
    border-color: var(--red);
}

.toggle-switch.active .toggle-knob {
    transform: translateX(28px);
    background: var(--red);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

.toggle-switch.clicked .toggle-knob {
    transform: scale(0.9);
}

.toggle-switch:hover {
    border-color: #555;
}

.toggle-switch.active:hover {
    border-color: #e53e3e;
}

/* Toggle Actions */
.toggle-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.btn-clear-history {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #444;
    color: #888;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-history svg {
    width: 14px;
    height: 14px;
}

.btn-clear-history:hover {
    background: #333;
    border-color: #555;
    color: #fff;
}

/* Select Wrapper */
.select-wrap {
    position: relative;
    max-width: 400px;
}

.select-wrap select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    padding-right: 40px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #fff;
    background: rgba(0,0,0,0.3);
    border: 2px solid #333;
    border-radius: 0;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.select-wrap select:focus {
    outline: none;
    border-color: var(--red);
}

.select-wrap select option {
    background: #1a1a1a;
    color: #fff;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: #666;
    pointer-events: none;
}

/* Danger Zone */
.settings-group.danger-zone {
    border-color: rgba(239, 68, 68, 0.3);
}

.settings-group.danger-zone::before {
    background: linear-gradient(90deg,
        rgba(239, 68, 68, 0.3) 0%,
        rgba(239, 68, 68, 0.5) 50%,
        rgba(239, 68, 68, 0.3) 100%);
}

.danger-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    margin-top: var(--space-lg);
    border-top: 1px solid rgba(239, 68, 68, 0.2);
}

.danger-info {
    flex: 1;
}

.danger-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 4px;
}

.danger-desc {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

.btn-delete-account {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid #ef4444;
    color: #ef4444;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete-account svg {
    width: 16px;
    height: 16px;
}

.btn-delete-account:hover {
    background: #ef4444;
    color: #fff;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: #1a1a1a;
    border: 2px solid #333;
    color: #fff;
    font-size: 0.9rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* History Table VHS Enhancement */
.history-table {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #333;
}

.history-table th {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #888;
    border-bottom: 2px solid #333;
}

.history-table td {
    color: #666;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-family: 'Courier New', monospace;
}

.history-table tr:hover td {
    background: rgba(255,255,255,0.02);
    color: #fff;
}

/* Dashboard Light Theme Overrides */
[data-theme="light"] .vhs-panel {
    background: var(--white);
    border-color: var(--navy);
}

[data-theme="light"] .vhs-nav,
[data-theme="light"] .tv-frame,
[data-theme="light"] .devices-header,
[data-theme="light"] .device-card.vhs-cassette {
    background: var(--white);
    border-color: var(--navy);
}

[data-theme="light"] .vhs-nav::before,
[data-theme="light"] .settings-group.vhs-panel::before {
    background: var(--navy);
}

[data-theme="light"] .panel-header {
    border-bottom: 1px solid var(--navy);
}

[data-theme="light"] .panel-header h3 {
    color: var(--navy);
}

[data-theme="light"] .vhs-nav .dashboard-nav-item {
    color: var(--navy-light);
}

[data-theme="light"] .vhs-nav .dashboard-nav-item:hover {
    background: var(--cream);
    color: var(--navy);
}

[data-theme="light"] .vhs-nav .dashboard-nav-item.active {
    background: var(--red);
}

[data-theme="light"] .tv-frame .plan-name,
[data-theme="light"] .tv-frame .detail-value,
[data-theme="light"] .device-name,
[data-theme="light"] .toggle-label,
[data-theme="light"] .settings-group.vhs-panel h3 {
    color: var(--navy);
    text-shadow: none;
}

[data-theme="light"] .tv-frame .plan-label,
[data-theme="light"] .tv-frame .detail-label,
[data-theme="light"] .device-meta,
[data-theme="light"] .status-text,
[data-theme="light"] .toggle-desc,
[data-theme="light"] .devices-note {
    color: var(--navy-light);
}

[data-theme="light"] .devices-count {
    color: #16a34a;
}

[data-theme="light"] .device-icon {
    background: var(--cream);
    border-color: var(--navy);
}

[data-theme="light"] .device-card.online .device-icon {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.5);
}

[data-theme="light"] .device-status {
    background: var(--cream);
}

[data-theme="light"] .device-disconnect,
[data-theme="light"] .btn-clear-history {
    border-color: var(--navy);
    color: var(--navy-light);
}

[data-theme="light"] .cassette-stripe {
    opacity: 0.7;
}

[data-theme="light"] .toggle-row {
    background: var(--cream);
}

[data-theme="light"] .toggle-row:hover {
    background: rgba(0,0,0,0.05);
}

[data-theme="light"] .toggle-switch {
    background: #ddd;
    border-color: #bbb;
}

[data-theme="light"] .toggle-knob {
    background: #888;
}

[data-theme="light"] .select-wrap select {
    background: var(--cream);
    border-color: var(--navy);
    color: var(--navy);
}

[data-theme="light"] .settings-group.vhs-panel .settings-field input {
    background: var(--cream);
    border-color: var(--navy);
    color: var(--navy);
}

[data-theme="light"] .history-table {
    background: var(--white);
    border-color: var(--navy);
}

[data-theme="light"] .history-table th {
    background: var(--cream);
    color: var(--navy);
    border-color: var(--navy);
}

[data-theme="light"] .history-table td {
    color: var(--navy-light);
    border-color: rgba(0,0,0,0.1);
}

[data-theme="light"] .history-table tr:hover td {
    background: var(--cream);
    color: var(--navy);
}

[data-theme="light"] .devices-info-box {
    background: rgba(59, 130, 246, 0.05);
}

[data-theme="light"] .devices-info-box p {
    color: var(--navy-light);
}

[data-theme="light"] .tv-scanlines {
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.03) 0px,
        rgba(0, 0, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
}

[data-theme="light"] .tv-glow {
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
}

/* Responsive Devices Section */
@media (max-width: 900px) {
    .devices-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .device-card.vhs-cassette {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        text-align: center;
    }

    .device-icon {
        margin: 0 auto;
    }

    .device-meta {
        justify-content: center;
    }

    .device-status {
        justify-content: center;
    }

    .device-disconnect {
        width: 100%;
        justify-content: center;
    }

    .cassette-window {
        display: none;
    }

    .toggle-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .toggle-actions {
        width: 100%;
        justify-content: space-between;
    }

    .danger-action {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .btn-delete-account {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   INSTRUCTIONS PAGE — VHS TV STYLE
   ============================================ */

.instructions-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-xl);
}

/* Channel Selector — TV Control Panel Style */
.channel-selector {
    margin-bottom: var(--space-2xl);
}

.channel-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: var(--navy);
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
}

.channel-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cream);
}

.channel-static {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.03) 2px,
        rgba(255, 255, 255, 0.03) 4px
    );
    pointer-events: none;
}

.device-tabs {
    display: flex;
    gap: 2px;
    background: var(--navy);
    padding: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.device-tabs::-webkit-scrollbar {
    display: none;
}

.device-tab {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-sm);
    background: rgba(241, 250, 238, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.device-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.device-tab:hover::before {
    opacity: 1;
}

.device-tab:hover {
    background: rgba(241, 250, 238, 0.15);
}

.device-tab.active {
    background: var(--cream);
}

.device-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.device-tab.active .device-icon-wrap {
    background: var(--red);
}

.device-icon-wrap svg {
    width: 24px;
    height: 24px;
    color: var(--cream);
    transition: all 0.3s ease;
}

.device-tab.active .device-icon-wrap svg {
    color: white;
}

.device-name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(241, 250, 238, 0.7);
    transition: color 0.3s ease;
}

.device-tab.active .device-name {
    color: var(--navy);
}

.device-channel {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(241, 250, 238, 0.4);
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.device-tab.active .device-channel {
    color: var(--red);
    background: rgba(230, 57, 70, 0.1);
}

/* Instruction Content — VHS Screen Style */
.instruction-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.instruction-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    /* animation: screenOn 0.4s ease; */
}

.instruction-content.switching {
    display: block;
    /* animation: screenStatic 0.15s ease; */
}

@keyframes screenOn {
    0% {
        opacity: 0;
        filter: brightness(2) contrast(0.5);
    }
    50% {
        filter: brightness(1.5) contrast(0.8);
    }
    100% {
        opacity: 1;
        filter: brightness(1) contrast(1);
    }
}

@keyframes screenStatic {
    0%, 100% {
        opacity: 1;
        filter: none;
    }
    25% {
        opacity: 0.5;
        filter: blur(2px) brightness(1.5);
    }
    50% {
        opacity: 0.3;
        filter: blur(4px) brightness(2);
    }
    75% {
        opacity: 0.5;
        filter: blur(2px) brightness(1.5);
    }
}

/* Instruction Screen — VHS TV Frame */
.instruction-screen {
    background: linear-gradient(145deg, #3a3a3a 0%, #1a1a1a 50%, #2a2a2a 100%);
    border-radius: 24px;
    padding: 16px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* TV Frame texture and details */
.instruction-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background:
        /* Brushed metal texture */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.02) 1px,
            rgba(255, 255, 255, 0.02) 2px
        ),
        /* Corner screws illusion */
        radial-gradient(circle at 20px 20px, rgba(0,0,0,0.3) 3px, transparent 3px),
        radial-gradient(circle at calc(100% - 20px) 20px, rgba(0,0,0,0.3) 3px, transparent 3px),
        radial-gradient(circle at 20px calc(100% - 20px), rgba(0,0,0,0.3) 3px, transparent 3px),
        radial-gradient(circle at calc(100% - 20px) calc(100% - 20px), rgba(0,0,0,0.3) 3px, transparent 3px);
    pointer-events: none;
    z-index: 5;
}

/* Power LED indicator */
.instruction-screen::after {
    content: '';
    position: absolute;
    bottom: 28px;
    right: 30px;
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    box-shadow:
        0 0 6px #4CAF50,
        0 0 12px #4CAF50,
        0 0 20px rgba(76, 175, 80, 0.5);
    /* animation: powerLed 3s ease-in-out infinite; */
    z-index: 10;
}

@keyframes powerLed {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px #4CAF50, 0 0 12px #4CAF50, 0 0 20px rgba(76, 175, 80, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 4px #4CAF50, 0 0 8px #4CAF50, 0 0 12px rgba(76, 175, 80, 0.3); }
}

/* VHS tracking glitch - occasional distortion */
.instruction-screen:hover .screen-body {
    /* animation: vhsFlicker 0.15s ease-in-out; */
}

@keyframes vhsFlicker {
    0%, 100% { filter: none; transform: translateX(0); }
    20% { filter: brightness(1.1) contrast(1.1); transform: translateX(-1px); }
    40% { filter: brightness(0.95); transform: translateX(1px); }
    60% { filter: brightness(1.05) saturate(1.1); transform: translateX(0); }
    80% { filter: brightness(0.98); transform: translateX(-0.5px); }
}

/* Random tracking glitch that plays occasionally */
.instruction-screen .screen-body {
    /* animation removed — was subtleNoise glitch */
}

@keyframes subtleNoise {
    0%, 100% {
        clip-path: none;
        filter: none;
    }
    98% {
        clip-path: inset(70% 0 10% 0);
        filter: saturate(1.2);
    }
    99% {
        clip-path: none;
        filter: brightness(1.05);
    }
}

.screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(180deg, #3a3a3a 0%, #252525 100%);
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid #111;
    position: relative;
    /* Subtle inner shadow for depth */
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.05);
}

.screen-header h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.02em;
}

.rec-indicator {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--red);
    /* animation: recBlink 1s ease infinite; */
    display: flex;
    align-items: center;
    gap: 4px;
}

@keyframes recBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.time-indicator {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(241, 250, 238, 0.6);
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

.screen-body {
    background: linear-gradient(180deg, var(--cream) 0%, #e8f0e0 100%);
    padding: var(--space-xl);
    min-height: 400px;
    position: relative;
    overflow: hidden;
    /* CRT barrel distortion illusion */
    border-radius: 8px;
    box-shadow:
        inset 0 0 100px rgba(0, 0, 0, 0.15),
        inset 0 0 40px rgba(0, 0, 0, 0.1);
}

/* Animated scanlines */
.screen-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* Moving scanline band */
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.03) 50%,
            transparent 100%
        ),
        /* Static scanlines */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        );
    background-size: 100% 200px, 100% 4px;
    /* animation: scanlines 8s linear infinite; */
    pointer-events: none;
    z-index: 2;
}

/* Chromatic aberration & screen glow — disabled */
.screen-body::after {
    display: none;
}

@keyframes scanlines {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 0 200px, 0 0; }
}

/* VHS Tracking glitch overlay */
.screen-body-inner {
    position: relative;
    z-index: 1;
}

/* Static noise in corners */
.instruction-screen .screen-body {
    background-image:
        /* Corner noise */
        radial-gradient(ellipse at 0% 0%, rgba(0,0,0,0.08) 0%, transparent 30%),
        radial-gradient(ellipse at 100% 0%, rgba(0,0,0,0.06) 0%, transparent 25%),
        radial-gradient(ellipse at 0% 100%, rgba(0,0,0,0.06) 0%, transparent 25%),
        radial-gradient(ellipse at 100% 100%, rgba(0,0,0,0.08) 0%, transparent 30%),
        /* Base gradient */
        linear-gradient(180deg, var(--cream) 0%, #e8f0e0 100%);
}

.screen-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 0 0 8px 8px;
    border-top: 3px solid #111;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

/* VCR button indicators */
.screen-footer::before {
    content: '◀◀  ▶  ▶▶  ⏹  ⏺';
    position: absolute;
    right: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.3em;
    pointer-events: none;
}

.tracking-text {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4CAF50;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tracking-text::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    /* animation: playPulse 1.5s ease infinite; */
    box-shadow: 0 0 6px #4CAF50;
}

@keyframes playPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.tracking-bar {
    flex: 1;
    max-width: 180px;
    height: 6px;
    margin-left: var(--space-md);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

.tracking-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 4px,
        rgba(255, 255, 255, 0.05) 4px,
        rgba(255, 255, 255, 0.05) 8px
    );
    pointer-events: none;
}

.tracking-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 70%;
    background: linear-gradient(90deg, var(--red) 0%, #ff6b6b 100%);
    border-radius: 3px;
    /* animation: trackingProgress 25s linear infinite; */
    box-shadow: 0 0 8px rgba(230, 57, 70, 0.5);
}

@keyframes trackingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* VHS Tracking Line - horizontal glitch bar */
.vhs-tracking-line {
    position: absolute;
    left: 16px;
    right: 16px;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 20%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.8) 80%,
        transparent 100%
    );
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    /* animation: vhsTrackingLine 12s ease-in-out infinite; */
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 -2px 4px rgba(255, 0, 0, 0.3),
        0 2px 4px rgba(0, 255, 255, 0.3);
}

.vhs-tracking-line::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 20px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.1) 60%,
        transparent 100%
    );
}

@keyframes vhsTrackingLine {
    0%, 90%, 100% {
        opacity: 0;
        top: -10px;
    }
    92% {
        opacity: 0;
        top: 10%;
    }
    93% {
        opacity: 0.7;
        top: 10%;
    }
    97% {
        opacity: 0.7;
        top: 85%;
    }
    98% {
        opacity: 0;
        top: 85%;
    }
}

/* CRT Overlay - additional screen effects */
.crt-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    border-radius: 8px;
    display: none; /* disabled - too many effects */
    box-shadow: none;
    /* Subtle vignette */
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

/* Screen reflection/glare */
.crt-overlay::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 10%;
    width: 30%;
    height: 20%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        transparent 100%
    );
    border-radius: 50%;
    filter: blur(10px);
}

/* Steps Timeline */
.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: relative;
    padding-left: 60px;
}

/* Vertical timeline line */
.steps-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 24px;
    bottom: 24px;
    width: 4px;
    background: var(--navy);
    border-radius: 2px;
    opacity: 0.2;
}

/* Dashed pattern overlay on timeline */
.steps-timeline::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 24px;
    bottom: 24px;
    width: 4px;
    background: repeating-linear-gradient(
        to bottom,
        var(--red) 0px,
        var(--red) 8px,
        transparent 8px,
        transparent 16px
    );
    border-radius: 2px;
}

.step-card {
    display: flex;
    gap: var(--space-md);
    position: relative;
}

.step-marker {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
}

.step-num {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 900;
    color: white;
    background: var(--red);
    border-radius: 10px;
    position: relative;
    box-shadow:
        0 4px 16px rgba(230, 57, 70, 0.4),
        0 0 0 3px var(--cream),
        0 0 0 5px var(--red);
    transition: all 0.3s ease;
}

.step-card:hover .step-num {
    transform: scale(1.05) rotate(-2deg);
    box-shadow:
        0 6px 20px rgba(230, 57, 70, 0.5),
        0 0 0 3px var(--cream),
        0 0 0 6px var(--red);
}

/* Hide old step-line as we use ::before/::after now */
.step-line {
    display: none;
}

.step-info {
    flex: 1;
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: white;
    border-radius: 16px;
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 2px solid rgba(29, 53, 87, 0.08);
    position: relative;
}

/* Arrow pointing to timeline */
.step-info::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid white;
    filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.05));
}

.step-info::after {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-right: 13px solid rgba(29, 53, 87, 0.08);
    z-index: -1;
}

.step-info:hover {
    transform: translateX(6px);
    border-color: var(--red);
    box-shadow:
        0 8px 30px rgba(230, 57, 70, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.06);
}

.step-info:hover::after {
    border-right-color: var(--red);
}

.step-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    border-radius: 14px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* VHS screen effect on icon */
.step-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.05) 2px,
        rgba(255, 255, 255, 0.05) 4px
    );
    pointer-events: none;
}

.step-icon svg {
    width: 26px;
    height: 26px;
    color: var(--cream);
    position: relative;
    z-index: 1;
}

.step-icon.success {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.step-icon.success svg {
    color: white;
}

.step-text {
    flex: 1;
}

.step-text h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

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

.step-text strong {
    color: var(--navy);
    font-weight: 600;
}

/* Step Tip Box */
.step-tip {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(230, 57, 70, 0.04) 100%);
    border-radius: 10px;
    border-left: 3px solid var(--red);
}

.step-tip svg {
    width: 18px;
    height: 18px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
}

.step-tip span {
    font-size: 0.85rem;
    color: var(--navy);
    line-height: 1.5;
}

/* URL Display Box */
.url-display {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--navy);
    border-radius: 8px;
}

.url-label {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(241, 250, 238, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.url-display code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: 0.02em;
}

/* Credentials Box */
.credentials-box {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.06) 0%, rgba(29, 53, 87, 0.02) 100%);
    border-radius: 12px;
    border: 1px dashed rgba(29, 53, 87, 0.2);
}

.cred-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xs) 0;
}

.cred-row:not(:last-child) {
    border-bottom: 1px solid rgba(29, 53, 87, 0.1);
}

.cred-label {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy-light);
    min-width: 100px;
}

.cred-value {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--navy);
    font-style: italic;
}

/* Alternative Method Box */
.alt-method {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-radius: 16px;
    border: 2px dashed rgba(255, 193, 7, 0.3);
}

.alt-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.alt-header svg {
    width: 20px;
    height: 20px;
    color: #FF9800;
}

.alt-header span {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
}

.alt-method p {
    font-size: 0.9rem;
    color: var(--navy-light);
    line-height: 1.6;
}

.alt-method strong {
    color: var(--navy);
}

/* Help Section */
.help-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
}

.help-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.help-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: var(--space-sm);
}

.help-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--navy);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.help-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.3s ease;
}

.help-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--red);
}

.help-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--red) 0%, #c62828 100%);
    border-radius: 20px;
    margin-bottom: var(--space-md);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
}

.help-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.help-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.help-card p {
    font-size: 0.9rem;
    color: var(--navy-light);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.help-link-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: gap 0.3s ease;
}

.help-card:hover .help-link-text {
    gap: var(--space-sm);
}

/* Dark Theme for Instructions */
[data-theme="dark"] .channel-display {
    background: #111;
}

[data-theme="dark"] .channel-label {
    color: #F1FAEE;
}

[data-theme="dark"] .device-tabs {
    background: #111;
}

[data-theme="dark"] .device-tab {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .device-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .device-tab.active {
    background: #222;
}

/* Device names and icons - light text on dark */
[data-theme="dark"] .device-name {
    color: rgba(241, 250, 238, 0.8);
}

[data-theme="dark"] .device-tab.active .device-name {
    color: #F1FAEE;
}

[data-theme="dark"] .device-icon-wrap {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .device-icon-wrap svg {
    color: #F1FAEE;
}

[data-theme="dark"] .device-tab.active .device-icon-wrap {
    background: var(--red);
}

[data-theme="dark"] .device-tab.active .device-icon-wrap svg {
    color: white;
}

[data-theme="dark"] .device-channel {
    color: rgba(241, 250, 238, 0.5);
    background: rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .device-tab.active .device-channel {
    color: var(--red);
    background: rgba(230, 57, 70, 0.2);
}

[data-theme="dark"] .instruction-screen {
    background: linear-gradient(145deg, #252525 0%, #0a0a0a 50%, #151515 100%);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.05),
        inset 0 -2px 0 rgba(0, 0, 0, 0.5),
        /* Subtle red glow from screen */
        0 0 100px rgba(230, 57, 70, 0.05);
}

[data-theme="dark"] .screen-header h2 {
    color: #F1FAEE;
}

[data-theme="dark"] .screen-body {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    box-shadow:
        inset 0 0 100px rgba(0, 0, 0, 0.4),
        inset 0 0 40px rgba(0, 0, 0, 0.3),
        /* Phosphor glow effect */
        inset 0 0 80px rgba(100, 150, 100, 0.03);
}

[data-theme="dark"] .instruction-screen .screen-body {
    background-image:
        /* Corner noise - more visible on dark */
        radial-gradient(ellipse at 0% 0%, rgba(0,0,0,0.2) 0%, transparent 30%),
        radial-gradient(ellipse at 100% 0%, rgba(0,0,0,0.15) 0%, transparent 25%),
        radial-gradient(ellipse at 0% 100%, rgba(0,0,0,0.15) 0%, transparent 25%),
        radial-gradient(ellipse at 100% 100%, rgba(0,0,0,0.2) 0%, transparent 30%),
        /* Base gradient */
        linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}

/* Stronger chromatic aberration on dark theme */
[data-theme="dark"] .screen-body::after {
    background:
        linear-gradient(90deg, rgba(255, 50, 50, 0.04) 0%, transparent 4%, transparent 96%, rgba(50, 255, 255, 0.04) 100%),
        linear-gradient(0deg, rgba(255, 50, 50, 0.03) 0%, transparent 4%, transparent 96%, rgba(50, 255, 255, 0.03) 100%);
    box-shadow:
        inset 0 0 80px rgba(100, 150, 100, 0.05),
        inset 0 0 150px rgba(50, 100, 50, 0.03);
}

[data-theme="dark"] .screen-body::before {
    background:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(255, 255, 255, 0.02) 50%,
            transparent 100%
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.015) 2px,
            rgba(255, 255, 255, 0.015) 4px
        );
    background-size: 100% 200px, 100% 4px;
    /* animation: scanlines 8s linear infinite; */
}

/* Dark theme VHS tracking line */
[data-theme="dark"] .vhs-tracking-line {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 20%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.6) 80%,
        transparent 100%
    );
    box-shadow:
        0 0 15px rgba(255, 255, 255, 0.3),
        0 -2px 6px rgba(255, 100, 100, 0.4),
        0 2px 6px rgba(100, 255, 255, 0.4);
}

/* Dark theme CRT overlay */
[data-theme="dark"] .crt-overlay {
    box-shadow:
        inset 0 0 150px rgba(0, 0, 0, 0.4),
        inset 0 0 50px rgba(0, 0, 0, 0.3);
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

[data-theme="dark"] .crt-overlay::before {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.01) 50%,
        transparent 100%
    );
}

/* Dark theme timeline */
[data-theme="dark"] .steps-timeline::before {
    background: rgba(241, 250, 238, 0.15);
}

[data-theme="dark"] .steps-timeline::after {
    background: repeating-linear-gradient(
        to bottom,
        var(--red) 0px,
        var(--red) 8px,
        transparent 8px,
        transparent 16px
    );
}

[data-theme="dark"] .step-num {
    box-shadow:
        0 4px 16px rgba(230, 57, 70, 0.5),
        0 0 0 3px #1a1a1a,
        0 0 0 5px var(--red);
}

[data-theme="dark"] .step-card:hover .step-num {
    box-shadow:
        0 6px 20px rgba(230, 57, 70, 0.6),
        0 0 0 3px #1a1a1a,
        0 0 0 6px var(--red);
}

[data-theme="dark"] .step-info {
    background: #222;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .step-info::before {
    border-right-color: #222;
}

[data-theme="dark"] .step-info::after {
    border-right-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .step-info:hover {
    border-color: var(--red);
}

[data-theme="dark"] .step-info:hover::after {
    border-right-color: var(--red);
}

[data-theme="dark"] .step-icon {
    background: rgba(241, 250, 238, 0.1);
}

[data-theme="dark"] .step-icon svg {
    color: #F1FAEE;
}

[data-theme="dark"] .step-icon.success {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

[data-theme="dark"] .step-icon.success svg {
    color: white;
}

[data-theme="dark"] .step-text h3 {
    color: #F1FAEE;
}

[data-theme="dark"] .step-text p {
    color: rgba(241, 250, 238, 0.75);
}

[data-theme="dark"] .step-text strong {
    color: #F1FAEE;
}

[data-theme="dark"] .step-tip {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(230, 57, 70, 0.08) 100%);
}

[data-theme="dark"] .step-tip span {
    color: rgba(241, 250, 238, 0.9);
}

[data-theme="dark"] .url-display {
    background: #111;
    border: 1px solid rgba(241, 250, 238, 0.1);
}

[data-theme="dark"] .url-label {
    color: rgba(241, 250, 238, 0.5);
}

[data-theme="dark"] .url-display code {
    color: #F1FAEE;
}

[data-theme="dark"] .credentials-box {
    background: linear-gradient(135deg, rgba(241, 250, 238, 0.08) 0%, rgba(241, 250, 238, 0.04) 100%);
    border-color: rgba(241, 250, 238, 0.15);
}

[data-theme="dark"] .cred-row:not(:last-child) {
    border-bottom-color: rgba(241, 250, 238, 0.1);
}

[data-theme="dark"] .cred-label {
    color: rgba(241, 250, 238, 0.6);
}

[data-theme="dark"] .cred-value {
    color: #F1FAEE;
}

[data-theme="dark"] .alt-method {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.08) 100%);
    border-color: rgba(255, 193, 7, 0.25);
}

[data-theme="dark"] .alt-header span {
    color: #F1FAEE;
}

[data-theme="dark"] .alt-method p {
    color: rgba(241, 250, 238, 0.75);
}

[data-theme="dark"] .alt-method strong {
    color: #F1FAEE;
}

[data-theme="dark"] .help-tag {
    color: var(--red);
}

[data-theme="dark"] .help-header h2 {
    color: #F1FAEE;
}

[data-theme="dark"] .help-card {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .help-card:hover {
    border-color: var(--red);
}

[data-theme="dark"] .help-card h3 {
    color: #F1FAEE;
}

[data-theme="dark"] .help-card p {
    color: rgba(241, 250, 238, 0.75);
}

[data-theme="dark"] .help-icon {
    background: linear-gradient(135deg, var(--red) 0%, #c62828 100%);
}

[data-theme="dark"] .help-link-text {
    color: var(--red);
}

/* Instructions Responsive */
@media (max-width: 1024px) {
    .device-tabs {
        flex-wrap: wrap;
    }

    .device-tab {
        min-width: calc(33.333% - 2px);
    }

    .help-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .instructions-section {
        padding: var(--space-xl) var(--space-md);
    }

    .device-tab {
        min-width: calc(50% - 2px);
        padding: var(--space-sm);
    }

    .device-icon-wrap {
        width: 40px;
        height: 40px;
    }

    .device-icon-wrap svg {
        width: 20px;
        height: 20px;
    }

    .device-name {
        font-size: 0.75rem;
    }

    .device-channel {
        font-size: 0.6rem;
    }

    .screen-header {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .screen-header h2 {
        font-size: 1rem;
        order: -1;
    }

    .screen-body {
        padding: var(--space-md);
    }

    /* Mobile timeline adjustments */
    .steps-timeline {
        padding-left: 50px;
    }

    .steps-timeline::before,
    .steps-timeline::after {
        left: 18px;
    }

    .step-marker {
        left: -50px;
    }

    .step-num {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        border-radius: 8px;
        box-shadow:
            0 3px 12px rgba(230, 57, 70, 0.4),
            0 0 0 2px var(--cream),
            0 0 0 4px var(--red);
    }

    .step-info {
        flex-direction: column;
        padding: var(--space-md);
    }

    .step-info::before {
        left: -10px;
        border-right-width: 10px;
        border-top-width: 8px;
        border-bottom-width: 8px;
    }

    .step-info::after {
        left: -12px;
        border-right-width: 11px;
        border-top-width: 9px;
        border-bottom-width: 9px;
    }

    .step-icon {
        width: 48px;
        height: 48px;
    }

    .step-icon svg {
        width: 22px;
        height: 22px;
    }

    .url-display {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }

    .credentials-box {
        padding: var(--space-sm);
    }

    .cred-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }

    .cred-label {
        min-width: auto;
    }

    .help-section {
        padding: var(--space-2xl) var(--space-md);
    }

    .help-card {
        padding: var(--space-lg);
    }

    .help-icon {
        width: 60px;
        height: 60px;
    }

    .help-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .device-tab {
        min-width: 100%;
    }

    .channel-label {
        font-size: 0.6rem;
    }

    /* Extra small timeline */
    .steps-timeline {
        padding-left: 44px;
    }

    .steps-timeline::before,
    .steps-timeline::after {
        left: 14px;
        width: 3px;
    }

    .step-marker {
        left: -44px;
    }

    .step-num {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
        border-radius: 6px;
        box-shadow:
            0 2px 10px rgba(230, 57, 70, 0.4),
            0 0 0 2px var(--cream),
            0 0 0 3px var(--red);
    }

    .step-info {
        padding: var(--space-sm);
    }

    .step-icon {
        width: 40px;
        height: 40px;
    }

    .step-icon svg {
        width: 18px;
        height: 18px;
    }

    .step-text h3 {
        font-size: 0.95rem;
    }

    .step-text p {
        font-size: 0.85rem;
    }
}

/* ============================================
   ADVERTISER PAGE
   ============================================ */

/* Advertiser Hero */
.advertiser-hero {
    background: linear-gradient(135deg, var(--cream) 0%, #e8f0e3 100%);
}

[data-theme="dark"] .advertiser-hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a2530 100%);
}

/* Stats Section */
.advertiser-stats {
    padding: var(--space-2xl) var(--space-xl);
    background: var(--navy);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.stat-card {
    text-align: center;
    padding: var(--space-lg);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--cream);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.advertiser-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(241, 250, 238, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Why Advertise Section */
.advertiser-why {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--bg-primary);
}

.advertiser-why .section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.why-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.why-card {
    background: var(--bg-secondary);
    padding: var(--space-xl);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.why-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.1);
    margin-bottom: var(--space-md);
}

.why-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--red);
}

.why-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Ad Formats Section */
.advertiser-formats {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--bg-secondary);
}

.advertiser-formats .section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.formats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.format-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    padding: var(--space-xl);
    transition: all 0.3s ease;
}

.format-card:hover {
    border-color: var(--navy);
}

.format-card.featured {
    border-color: var(--red);
    position: relative;
}

.format-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--red);
}

.format-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.format-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
}

.format-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--cream);
}

.format-badge {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(29, 53, 87, 0.1);
    color: var(--navy);
}

.format-badge.premium {
    background: var(--red);
    color: #fff;
}

.format-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.format-card > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.format-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-lg);
}

.format-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px dashed var(--border-color);
}

.format-option:last-child {
    border-bottom: none;
}

.option-name {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.option-price {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--red);
}

.option-price small {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Process Section */
.advertiser-process {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--bg-primary);
}

.advertiser-process .section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-left: 4px solid var(--red);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    min-width: 60px;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Advertiser Form Section */
.advertiser-form-section {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--bg-secondary);
}

.advertiser-form-section .form-container {
    max-width: 700px;
    margin: 0 auto;
}

.advertiser-form-section .form-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.advertiser-form-section .form-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.advertiser-form-section .form-header p {
    color: var(--text-secondary);
}

.advertiser-form {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border: 2px solid var(--border-color);
}

/* Responsive Advertiser */
@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

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

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

    .process-step {
        flex-direction: column;
        gap: var(--space-sm);
    }

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

    .advertiser-form {
        padding: var(--space-lg);
    }

    .format-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
}

/* ============================================
   DASHBOARD V2 — EXTENDED FEATURES
   Report System, Payment Methods, Address Form
   ============================================ */

/* Settings Row Layout */
.settings-row {
    margin-bottom: var(--space-md);
}

.settings-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.settings-field.full-width input {
    max-width: 100%;
}

/* Payment Methods */
.payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.payment-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.payment-card:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-brand {
    flex-shrink: 0;
    width: 60px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
}

.card-brand svg {
    width: 100%;
    height: 100%;
}

.card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
}

.card-expiry {
    font-size: 0.8rem;
    color: #888;
}

.card-default-badge {
    padding: 4px 12px;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.card-remove {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #444;
    color: #888;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.card-remove svg {
    width: 14px;
    height: 14px;
}

.card-remove:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

.btn-add-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md);
    background: transparent;
    border: 2px dashed #444;
    color: #888;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-add-card svg {
    width: 18px;
    height: 18px;
}

.btn-add-card:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(196, 30, 58, 0.1);
}

/* ============================================
   REPORT WIZARD
   ============================================ */

.report-wizard {
    margin-bottom: var(--space-xl);
}

.report-wizard.vhs-panel {
    padding: var(--space-xl);
}

/* Wizard Progress */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--space-2xl);
    padding: var(--space-md) 0;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.wizard-step .step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    border: 2px solid #444;
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
    transition: all 0.3s ease;
}

.wizard-step .step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.wizard-step.active .step-number {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.4);
}

.wizard-step.active .step-label {
    color: #fff;
}

.wizard-step.completed .step-number {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.wizard-step.completed .step-label {
    color: #22c55e;
}

.wizard-line {
    flex: 1;
    height: 2px;
    background: #333;
    max-width: 80px;
    transition: background 0.3s ease;
}

.wizard-line.active {
    background: linear-gradient(90deg, #22c55e 0%, var(--red) 100%);
}

/* Wizard Panels */
.wizard-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wizard-panel.active {
    display: block;
}

/* Container for panels with fixed height */
.wizard-panels-container {
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

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

.wizard-panel-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-xl);
    text-align: center;
}

/* Problem Type Grid */
.problem-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.problem-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xl);
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.problem-type-btn svg {
    width: 48px;
    height: 48px;
    stroke: #666;
    transition: all 0.3s ease;
}

.problem-type-btn .type-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.problem-type-btn .type-desc {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

.problem-type-btn:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: #555;
}

.problem-type-btn:hover svg {
    stroke: #888;
}

.problem-type-btn.selected {
    background: rgba(196, 30, 58, 0.15);
    border-color: var(--red);
}

.problem-type-btn.selected svg {
    stroke: var(--red);
}

/* Device Chips */
.device-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.device-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid #333;
    color: #888;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.device-chip svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.device-chip:hover {
    border-color: #555;
    color: #fff;
}

.device-chip.selected {
    background: rgba(196, 30, 58, 0.2);
    border-color: var(--red);
    color: var(--red);
}

/* Radio Options */
.source-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #555;
}

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

.radio-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #555;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--red);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-content {
    flex: 1;
}

.radio-option .radio-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.radio-option .radio-note {
    display: block;
    font-size: 0.8rem;
    color: #22c55e;
}

/* Wizard Form Elements */
.wizard-form-group {
    margin-bottom: var(--space-lg);
}

.wizard-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: var(--space-sm);
}

.wizard-input,
.wizard-select,
.wizard-textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #333;
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Remove number input spinners */
.wizard-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.wizard-input[type="number"]::-webkit-outer-spin-button,
.wizard-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wizard-input:focus,
.wizard-select:focus,
.wizard-textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.2);
}

.wizard-textarea {
    resize: vertical;
    min-height: 100px;
}

.wizard-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

/* EPG Toggle Row */
.epg-toggle-row {
    display: flex;
    gap: var(--space-md);
}

.radio-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-inline input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--red);
}

.radio-inline span {
    font-size: 0.9rem;
    color: #fff;
}

/* File Upload */
.file-upload-area {
    position: relative;
}

.file-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xl);
    background: rgba(0, 0, 0, 0.2);
    border: 2px dashed #444;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload-area:hover .upload-placeholder {
    border-color: var(--red);
    background: rgba(196, 30, 58, 0.05);
}

.upload-placeholder svg {
    width: 40px;
    height: 40px;
    stroke: #666;
}

.upload-placeholder span {
    font-size: 0.9rem;
    color: #888;
}

.upload-hint {
    font-size: 0.75rem !important;
    color: #555 !important;
}

.upload-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.upload-preview img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.remove-screenshot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-screenshot:hover {
    background: var(--red);
}

/* Wizard Navigation */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-xl);
    margin-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wizard-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #444;
    color: #888;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wizard-btn svg {
    width: 16px;
    height: 16px;
}

.wizard-btn:hover:not(:disabled) {
    border-color: var(--red);
    color: var(--red);
}

.wizard-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.wizard-btn.wizard-next {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.wizard-btn.wizard-next:hover:not(:disabled) {
    background: #b91c1c;
    border-color: #b91c1c;
}

.wizard-btn.wizard-next:disabled {
    background: #444;
    border-color: #444;
    color: #666;
    opacity: 0.6;
    cursor: not-allowed;
}

.wizard-btn.wizard-next.submit-mode {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-color: #22c55e;
    padding: 14px 28px;
}

.wizard-btn.wizard-next.submit-mode:hover:not(:disabled) {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-color: #16a34a;
}

.wizard-btn.wizard-next.submit-mode svg {
    width: 18px;
    height: 18px;
}

/* Report Summary */
.report-summary {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.summary-label {
    font-size: 0.85rem;
    color: #888;
}

.summary-value {
    font-weight: 600;
    color: #fff;
}

.btn-submit-report {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--red) 0%, #b91c1c 100%);
    border: none;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-submit-report svg {
    width: 20px;
    height: 20px;
}

.btn-submit-report:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

/* Reports History */
.reports-history {
    margin-top: var(--space-xl);
}

.reports-history.vhs-panel {
    padding: var(--space-lg);
}

.reports-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.report-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.report-item:hover {
    background: rgba(0, 0, 0, 0.3);
}

.report-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.report-status-indicator.open {
    background: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.report-status-indicator.in-progress {
    background: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    animation: statusPulse 2s ease-in-out infinite;
}

.report-status-indicator.resolved {
    background: #22c55e;
}

.report-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.report-id {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #666;
}

.report-title {
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.report-date {
    font-size: 0.8rem;
    color: #666;
}

.report-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

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

.report-badge.in-progress {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.report-badge.resolved {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

/* ============================================
   DASHBOARD V2 — LIGHT THEME
   ============================================ */

[data-theme="light"] .payment-card {
    background: var(--cream);
    border-color: var(--navy);
}

[data-theme="light"] .card-number {
    color: var(--navy);
}

[data-theme="light"] .card-expiry {
    color: var(--navy-light);
}

[data-theme="light"] .card-remove {
    border-color: var(--navy);
    color: var(--navy-light);
}

[data-theme="light"] .btn-add-card {
    border-color: var(--navy);
    color: var(--navy-light);
}

[data-theme="light"] .btn-add-card:hover {
    border-color: var(--red);
    color: var(--red);
}

[data-theme="light"] .wizard-step .step-number {
    background: var(--cream);
    border-color: var(--navy);
    color: var(--navy-light);
}

[data-theme="light"] .wizard-step .step-label {
    color: var(--navy-light);
}

[data-theme="light"] .wizard-step.active .step-label,
[data-theme="light"] .wizard-panel-title {
    color: var(--navy);
}

[data-theme="light"] .wizard-line {
    background: #ddd;
}

[data-theme="light"] .problem-type-btn {
    background: var(--cream);
    border-color: var(--navy);
}

[data-theme="light"] .problem-type-btn .type-name {
    color: var(--navy);
}

[data-theme="light"] .problem-type-btn .type-desc {
    color: var(--navy-light);
}

[data-theme="light"] .problem-type-btn svg {
    stroke: var(--navy-light);
}

[data-theme="light"] .problem-type-btn:hover {
    background: rgba(196, 30, 58, 0.08);
    border-color: var(--red);
}

[data-theme="light"] .problem-type-btn.selected {
    background: rgba(196, 30, 58, 0.15);
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.2);
}

[data-theme="light"] .problem-type-btn.selected .type-name {
    color: var(--red);
}

[data-theme="light"] .problem-type-btn.selected svg {
    stroke: var(--red);
}

[data-theme="light"] .device-chip {
    background: var(--cream);
    border-color: var(--navy);
    color: var(--navy-light);
}

[data-theme="light"] .device-chip:hover {
    color: var(--navy);
    border-color: var(--red);
}

[data-theme="light"] .device-chip.selected {
    background: rgba(196, 30, 58, 0.15);
    border-color: var(--red);
    color: var(--red);
    box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.2);
}

[data-theme="light"] .radio-option {
    background: var(--cream);
    border-color: var(--navy);
}

[data-theme="light"] .radio-option .radio-label {
    color: var(--navy);
}

[data-theme="light"] .radio-custom {
    border-color: var(--navy);
}

[data-theme="light"] .wizard-input,
[data-theme="light"] .wizard-select,
[data-theme="light"] .wizard-textarea {
    background: var(--cream);
    border-color: var(--navy);
    color: var(--navy);
}

[data-theme="light"] .upload-placeholder {
    background: var(--cream);
    border-color: var(--navy);
}

[data-theme="light"] .upload-placeholder svg {
    stroke: var(--navy-light);
}

[data-theme="light"] .upload-placeholder span {
    color: var(--navy-light);
}

[data-theme="light"] .wizard-btn {
    border-color: var(--navy);
    color: var(--navy-light);
}

[data-theme="light"] .report-summary {
    background: var(--cream);
    border-color: var(--navy);
}

[data-theme="light"] .summary-label {
    color: var(--navy-light);
}

[data-theme="light"] .summary-value {
    color: var(--navy);
}

[data-theme="light"] .report-item {
    background: var(--cream);
}

[data-theme="light"] .report-title {
    color: var(--navy);
}

[data-theme="light"] .report-id,
[data-theme="light"] .report-date {
    color: var(--navy-light);
}

/* ============================================
   CUSTOM SELECT DROPDOWN
   ============================================ */

.custom-select {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #333;
    color: #fff;
    cursor: none;
    transition: all 0.3s ease;
}

.custom-select-trigger:hover {
    border-color: #555;
}

.custom-select.open .custom-select-trigger {
    border-color: var(--red);
}

.custom-select-trigger svg {
    width: 16px;
    height: 16px;
    stroke: #888;
    transition: transform 0.3s ease;
}

.custom-select.open .custom-select-trigger svg {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 2px solid #333;
    border-top: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.custom-select.open .custom-select-options {
    max-height: 250px;
    overflow-y: auto;
    opacity: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--red) #222;
}

.custom-select-options::-webkit-scrollbar {
    width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: #222;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: #ff4d5a;
}

.custom-select-option {
    padding: var(--space-sm) var(--space-md);
    color: #888;
    cursor: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-select-option:last-child {
    border-bottom: none;
}

.custom-select-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.custom-select-option.selected {
    background: rgba(196, 30, 58, 0.2);
    color: var(--red);
}

[data-theme="light"] .custom-select-trigger {
    background: var(--cream);
    border-color: var(--navy);
    color: var(--navy);
}

[data-theme="light"] .custom-select-options {
    background: var(--white);
    border-color: var(--navy);
}

[data-theme="light"] .custom-select-option {
    color: var(--navy-light);
}

[data-theme="light"] .custom-select-option:hover {
    background: var(--cream);
    color: var(--navy);
}

/* ============================================
   CONFIRM MODAL
   ============================================ */

.confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.confirm-modal.active {
    display: flex;
}

.confirm-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.confirm-modal-box {
    position: relative;
    background: linear-gradient(180deg, #1f1f1f 0%, #141414 100%);
    border: 2px solid #333;
    padding: var(--space-xl);
    max-width: 400px;
    width: 90%;
    animation: modalSlideIn 0.3s ease;
}

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

.confirm-modal-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.confirm-modal-header svg {
    width: 32px;
    height: 32px;
    stroke: #fbbf24;
}

.confirm-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.confirm-modal p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: var(--space-xl);
}

.confirm-modal-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
}

.confirm-modal-btn {
    padding: 10px 24px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-modal-btn.cancel {
    background: transparent;
    border: 2px solid #444;
    color: #888;
}

.confirm-modal-btn.cancel:hover {
    border-color: #666;
    color: #fff;
}

.confirm-modal-btn.confirm {
    background: var(--red);
    border: 2px solid var(--red);
    color: #fff;
}

.confirm-modal-btn.confirm:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

[data-theme="light"] .confirm-modal-box {
    background: var(--white);
    border-color: var(--navy);
}

[data-theme="light"] .confirm-modal-header h3 {
    color: var(--navy);
}

[data-theme="light"] .confirm-modal p {
    color: var(--navy-light);
}

[data-theme="light"] .confirm-modal-btn.cancel {
    border-color: var(--navy);
    color: var(--navy-light);
}

/* ============================================
   WIZARD PROGRESS BAR — VHS TAPE STYLE
   ============================================ */

.wizard-progress-bar {
    margin-bottom: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    border: 2px solid #333;
    position: relative;
}


/* Progress track — tape reel style */
.progress-track {
    position: relative;
    height: 6px;
    background: #222;
    border: 1px solid #333;
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.progress-track::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 3px,
        rgba(255,255,255,0.03) 3px,
        rgba(255,255,255,0.03) 4px
    );
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--red);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

/* Progress steps — unified flowing bar */
.progress-steps {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '→';
    margin-left: var(--space-sm);
    color: #555;
    font-size: 0.75rem;
}

.progress-step .step-text {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #555;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.progress-step .step-check {
    display: none;
    font-size: 0.7rem;
}

/* Active state */
.progress-step.active .step-text {
    color: var(--red);
}

/* Completed state */
.progress-step.completed .step-text {
    color: #22c55e;
}

.progress-step.completed .step-check {
    display: inline;
    color: #22c55e;
}

/* Light theme */
[data-theme="light"] .wizard-progress-bar {
    background: linear-gradient(180deg, #f5f5f0 0%, #eaeae5 100%);
    border-color: var(--navy);
}


[data-theme="light"] .progress-track {
    background: #ddd;
    border-color: var(--navy);
}

[data-theme="light"] .progress-step .step-text {
    color: var(--navy-light);
}

[data-theme="light"] .progress-step:not(:last-child)::after {
    color: var(--navy-light);
}

[data-theme="light"] .progress-step.active .step-text {
    color: var(--red);
}

[data-theme="light"] .progress-step.completed .step-text {
    color: #22c55e;
}

/* ============================================
   DASHBOARD V2 — RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .settings-row.two-col {
        grid-template-columns: 1fr;
    }

    .payment-card {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .card-brand {
        order: 1;
    }

    .card-info {
        order: 2;
        flex: none;
        width: calc(100% - 80px);
    }

    .card-default-badge {
        order: 3;
    }

    .card-remove {
        order: 4;
        flex: 1;
        justify-content: center;
    }

    .wizard-progress {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .wizard-line {
        display: none;
    }

    .wizard-step {
        flex: 1;
        min-width: 60px;
    }

    .wizard-step .step-label {
        font-size: 0.65rem;
    }

    .problem-type-grid {
        grid-template-columns: 1fr;
    }

    .device-chips {
        justify-content: center;
    }

    .wizard-row.two-col {
        grid-template-columns: 1fr;
    }

    .wizard-nav {
        flex-direction: column;
        gap: var(--space-md);
    }

    .wizard-btn {
        width: 100%;
        justify-content: center;
    }

    .wizard-btn.wizard-prev {
        order: 2;
    }

    .wizard-btn.wizard-next {
        order: 1;
    }

    .report-item {
        flex-wrap: wrap;
    }

    .report-info {
        width: calc(100% - 30px);
    }

    .report-badge {
        width: 100%;
        text-align: center;
        margin-top: var(--space-sm);
    }

    /* Progress bar mobile */
    .wizard-progress-bar {
        padding: var(--space-sm);
    }

    .progress-steps {
        flex-wrap: wrap;
        gap: var(--space-xs);
    }

    .progress-step .step-text {
        font-size: 0.6rem;
    }

    .progress-step:not(:last-child)::after {
        font-size: 0.6rem;
        margin-left: var(--space-xs);
    }

    /* Wizard panels container mobile */
    .wizard-panels-container {
        min-height: 450px;
    }
}

/* ============================================
   REPORT SUCCESS MODAL — TV STYLE (like auth-modal)
   ============================================ */

.report-success-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.report-success-modal.active {
    display: flex;
}

.report-success-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

/* TV Case - outer frame */
.report-success-tv {
    position: relative;
    background: #0f0f0f;
    width: 100%;
    max-width: 480px;
    padding: 20px;
    box-shadow:
        0 0 0 3px #1f1f1f,
        0 0 0 6px #0f0f0f,
        0 30px 60px rgba(0,0,0,0.8),
        inset 0 1px 0 rgba(255,255,255,0.05);
    animation: tvSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* TV Screen */
.report-success-screen {
    background: #050508;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 4px solid #1a1a1a;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
}

/* CRT glow effect */
.report-success-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Scanlines */
.report-success-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 11;
    opacity: 0.5;
}

/* Screen inner content */
.report-success-inner {
    position: relative;
    box-shadow:
        inset 0 0 80px rgba(34, 197, 94, 0.1),
        inset 0 0 40px rgba(29, 53, 87, 0.2);
}

/* Header */
.report-success-header {
    background: linear-gradient(180deg, #12121a 0%, #0a0a12 100%);
    padding: 15px 20px;
    position: relative;
    border-bottom: 1px solid rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-success-header::before {
    content: '● SENT';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: #22c55e;
    animation: recBlink 1s ease-in-out infinite;
}

@keyframes recBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.report-success-header::after {
    content: attr(data-time);
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
}

.report-success-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.report-success-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: #22c55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.report-success-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* Body */
.report-success-body {
    padding: 25px;
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, #0a0a12 0%, #06060a 100%);
    text-align: center;
}

.success-checkmark {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-lg);
    position: relative;
}

.success-checkmark::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid #22c55e;
    animation: checkPulse 2s ease-out infinite;
}

@keyframes checkPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.success-checkmark svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
    stroke: #22c55e;
    stroke-width: 3;
    fill: none;
}

.success-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.success-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

/* Report ID with copy button */
.success-report-id-wrap {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--space-lg);
}

.success-report-id {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid #333;
    border-right: none;
    padding: 12px 20px;
}

.success-report-id .label {
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 4px;
}

.success-report-id .value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.05em;
}

.success-copy-btn {
    background: #333;
    border: 2px solid #333;
    color: #888;
    padding: 0 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-copy-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.success-copy-btn.copied {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.success-copy-btn svg {
    width: 18px;
    height: 18px;
}

/* Info rows */
.success-info {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #222;
    margin-bottom: var(--space-lg);
    text-align: left;
}

.success-info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #222;
}

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

.success-info-row .info-label {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.success-info-row .info-value {
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
}

/* Close button */
.success-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 35px;
    background: var(--red);
    border: 2px solid var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-close-btn:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

.success-close-btn svg {
    width: 16px;
    height: 16px;
}

/* TV decorations */
.report-success-tv::after {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 25px;
    width: 60px;
    height: 10px;
    background: repeating-linear-gradient(
        90deg,
        #1a1a1a 0px,
        #1a1a1a 2px,
        #2a2a2a 2px,
        #2a2a2a 4px
    );
}

.report-success-led {
    position: absolute;
    bottom: 25px;
    left: 25px;
    width: 8px;
    height: 8px;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: ledPulse 2s ease-in-out infinite;
}

@keyframes ledPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Light theme */
[data-theme="light"] .report-success-backdrop {
    background: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .report-success-tv {
    background: linear-gradient(145deg, #d4c4a8 0%, #c4b498 50%, #b4a488 100%);
    box-shadow:
        0 0 0 3px #c4b498,
        0 30px 60px rgba(0,0,0,0.3);
}

[data-theme="light"] .report-success-screen {
    background: #f5f0e8;
    border-color: #a89878;
}

[data-theme="light"] .report-success-header {
    background: linear-gradient(180deg, #ebe5db 0%, #e0d9cc 100%);
    border-bottom-color: rgba(34, 197, 94, 0.3);
}

[data-theme="light"] .report-success-header::after {
    color: rgba(0,0,0,0.4);
}

[data-theme="light"] .report-success-logo .logo-text {
    color: var(--navy);
    text-shadow: none;
}

[data-theme="light"] .report-success-body {
    background: linear-gradient(180deg, #e0d9cc 0%, #d8d0c2 100%);
}

[data-theme="light"] .success-title {
    color: var(--navy);
}

[data-theme="light"] .success-subtitle {
    color: var(--navy-light);
}

[data-theme="light"] .success-report-id {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--navy);
}

[data-theme="light"] .success-copy-btn {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

[data-theme="light"] .success-info {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--navy);
}

[data-theme="light"] .success-info-row {
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .success-info-row .info-label {
    color: var(--navy-light);
}

[data-theme="light"] .success-info-row .info-value {
    color: var(--navy);
}

[data-theme="light"] .report-success-led {
    background: #22c55e;
}

/* ============================================
   CUSTOM DATEPICKER — VHS STYLE
   ============================================ */

.ps-datepicker-wrapper {
    position: relative;
    width: 100%;
}

.ps-datepicker-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #333;
    border-radius: 4px;
    color: #666;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ps-datepicker-display:hover {
    border-color: #555;
}

.ps-datepicker-display.active {
    border-color: var(--red);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.2);
}

.ps-datepicker-display.has-value {
    color: #fff;
}

.ps-datepicker-icon {
    width: 20px;
    height: 20px;
    stroke: #666;
    flex-shrink: 0;
    transition: stroke 0.3s ease;
}

.ps-datepicker-display:hover .ps-datepicker-icon,
.ps-datepicker-display.active .ps-datepicker-icon {
    stroke: var(--red);
}

.ps-datepicker-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 280px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 2px solid #333;
    z-index: 1000;
    display: none;
    animation: dropdownFadeIn 0.2s ease;
}

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

.ps-datepicker-dropdown.active {
    display: block;
}

.ps-datepicker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #333;
}

.ps-datepicker-nav {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #444;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ps-datepicker-nav:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.ps-datepicker-nav svg {
    width: 16px;
    height: 16px;
}

.ps-datepicker-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.ps-datepicker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px 10px 5px;
    border-bottom: 1px solid #222;
}

.ps-datepicker-weekdays span {
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
}

.ps-datepicker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px;
    gap: 4px;
}

.ps-datepicker-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.ps-datepicker-day:hover:not(.disabled):not(.other-month) {
    background: rgba(196, 30, 58, 0.2);
    border-color: var(--red);
}

.ps-datepicker-day.other-month {
    color: #444;
}

.ps-datepicker-day.today {
    border-color: #22c55e;
    color: #22c55e;
}

.ps-datepicker-day.selected {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.ps-datepicker-day.disabled {
    color: #333;
    cursor: not-allowed;
}

.ps-datepicker-footer {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #333;
    background: rgba(0, 0, 0, 0.2);
}

.ps-datepicker-footer button {
    flex: 1;
    padding: 8px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ps-datepicker-today {
    background: transparent;
    border: 1px solid #22c55e;
    color: #22c55e;
}

.ps-datepicker-today:hover {
    background: #22c55e;
    color: #fff;
}

.ps-datepicker-clear {
    background: transparent;
    border: 1px solid #666;
    color: #666;
}

.ps-datepicker-clear:hover {
    background: #666;
    color: #fff;
}

/* Light theme */
[data-theme="light"] .ps-datepicker-display {
    background: var(--cream);
    border-color: var(--navy);
    color: var(--navy-light);
}

[data-theme="light"] .ps-datepicker-display.has-value {
    color: var(--navy);
}

[data-theme="light"] .ps-datepicker-icon {
    stroke: var(--navy-light);
}

[data-theme="light"] .ps-datepicker-dropdown {
    background: linear-gradient(180deg, #fff 0%, #f5f5f0 100%);
    border-color: var(--navy);
}

[data-theme="light"] .ps-datepicker-header {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--navy);
}

[data-theme="light"] .ps-datepicker-nav {
    border-color: var(--navy);
    color: var(--navy-light);
}

[data-theme="light"] .ps-datepicker-title {
    color: var(--navy);
}

[data-theme="light"] .ps-datepicker-weekdays {
    border-color: var(--navy);
}

[data-theme="light"] .ps-datepicker-weekdays span {
    color: var(--navy-light);
}

[data-theme="light"] .ps-datepicker-day {
    color: var(--navy);
}

[data-theme="light"] .ps-datepicker-day.other-month {
    color: #ccc;
}

[data-theme="light"] .ps-datepicker-footer {
    border-color: var(--navy);
    background: rgba(0, 0, 0, 0.03);
}

/* ============================================
   CUSTOM NUMPAD — VHS STYLE
   ============================================ */

.ps-numpad-wrapper {
    position: relative;
    width: 100%;
}

.ps-numpad-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #333;
    border-radius: 4px;
    color: #666;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ps-numpad-display:hover {
    border-color: #555;
}

.ps-numpad-display.active {
    border-color: var(--red);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.2);
}

.ps-numpad-display.has-value {
    color: #fff;
}

.ps-numpad-display.has-value .ps-numpad-value {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.ps-numpad-icon {
    width: 20px;
    height: 20px;
    stroke: #666;
    flex-shrink: 0;
    transition: stroke 0.3s ease;
}

.ps-numpad-display:hover .ps-numpad-icon,
.ps-numpad-display.active .ps-numpad-icon {
    stroke: var(--red);
}

.ps-numpad-popup {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 220px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 2px solid #333;
    z-index: 1000;
    display: none;
    animation: numpadFadeIn 0.2s ease;
}

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

.ps-numpad-popup.active {
    display: block;
}

.ps-numpad-popup.shake {
    animation: numpadShake 0.3s ease;
}

@keyframes numpadShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.ps-numpad-screen {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid #333;
}

.ps-numpad-screen-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--red);
    letter-spacing: 0.1em;
}

.ps-numpad-backspace {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #444;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ps-numpad-backspace:hover {
    background: #333;
    border-color: #555;
    color: #fff;
}

.ps-numpad-backspace svg {
    width: 20px;
    height: 20px;
}

.ps-numpad-keys {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 12px;
}

.ps-numpad-key {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ps-numpad-key:hover {
    background: rgba(196, 30, 58, 0.2);
    border-color: var(--red);
}

.ps-numpad-key:active {
    background: var(--red);
    transform: scale(0.95);
}

.ps-numpad-clear {
    background: rgba(255, 100, 100, 0.1);
    color: #ef4444;
}

.ps-numpad-clear:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
}

.ps-numpad-confirm {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.ps-numpad-confirm:hover {
    background: rgba(34, 197, 94, 0.3);
    border-color: #22c55e;
}

.ps-numpad-confirm svg {
    width: 24px;
    height: 24px;
}

/* Light theme */
[data-theme="light"] .ps-numpad-display {
    background: var(--cream);
    border-color: var(--navy);
    color: var(--navy-light);
}

[data-theme="light"] .ps-numpad-display.has-value {
    color: var(--navy);
}

[data-theme="light"] .ps-numpad-icon {
    stroke: var(--navy-light);
}

[data-theme="light"] .ps-numpad-popup {
    background: linear-gradient(180deg, #fff 0%, #f5f5f0 100%);
    border-color: var(--navy);
}

[data-theme="light"] .ps-numpad-screen {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--navy);
}

[data-theme="light"] .ps-numpad-backspace {
    border-color: var(--navy);
    color: var(--navy-light);
}

[data-theme="light"] .ps-numpad-key {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--navy);
    color: var(--navy);
}

[data-theme="light"] .ps-numpad-key:hover {
    background: rgba(196, 30, 58, 0.1);
}

/* ============================================
   CUSTOM RADIO GROUP — VHS STYLE
   ============================================ */

.ps-radiogroup {
    display: flex;
    gap: var(--space-sm);
}

.ps-radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.ps-radio-option:hover {
    border-color: #555;
    background: rgba(0, 0, 0, 0.3);
}

.ps-radio-option.selected {
    border-color: var(--red);
    background: rgba(196, 30, 58, 0.15);
}

.ps-radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.ps-radio-indicator {
    width: 18px;
    height: 18px;
    border: 2px solid #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ps-radio-option:hover .ps-radio-indicator {
    border-color: #888;
}

.ps-radio-option.selected .ps-radio-indicator {
    border-color: var(--red);
}

.ps-radio-dot {
    width: 8px;
    height: 8px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.2s ease;
    transform: scale(0);
}

.ps-radio-option.selected .ps-radio-dot {
    background: var(--red);
    transform: scale(1);
}

.ps-radio-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    transition: color 0.3s ease;
}

.ps-radio-option:hover .ps-radio-text {
    color: #fff;
}

.ps-radio-option.selected .ps-radio-text {
    color: #fff;
}

/* Light theme */
[data-theme="light"] .ps-radio-option {
    background: var(--cream);
    border-color: var(--navy);
}

[data-theme="light"] .ps-radio-option:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .ps-radio-option.selected {
    background: rgba(196, 30, 58, 0.1);
    border-color: var(--red);
}

[data-theme="light"] .ps-radio-indicator {
    border-color: var(--navy);
}

[data-theme="light"] .ps-radio-text {
    color: var(--navy-light);
}

[data-theme="light"] .ps-radio-option:hover .ps-radio-text,
[data-theme="light"] .ps-radio-option.selected .ps-radio-text {
    color: var(--navy);
}

/* ========================================
   REWARDS SYSTEM
   ======================================== */

/* Rewards Hero */
.rewards-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    border: 1px solid #333;
}

.rewards-hero-left {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.rewards-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.level-badge {
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid;
}

.level-badge.bronze {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    color: #fff;
    border-color: #CD7F32;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.level-badge.silver {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: #333;
    border-color: #C0C0C0;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.level-badge.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    border-color: #FFD700;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.level-badge.platinum {
    background: linear-gradient(135deg, #E5E4E2, #D4D4D4);
    color: #333;
    border-color: #E5E4E2;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.level-multiplier {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #888;
}

.rewards-balance {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.balance-label {
    font-size: 0.85rem;
    color: #888;
}

.balance-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1;
}

.balance-unit {
    font-family: var(--font-display);
    font-size: 1rem;
    color: #888;
    text-transform: uppercase;
}

.rewards-hero-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 280px;
}

.rewards-progress {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #888;
}

.progress-info strong {
    color: #fff;
}

.progress-bar-wrap {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #333;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red), #ff6b6b);
    transition: width 0.5s ease;
}

.rewards-levels-preview {
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
}

.level-preview {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.level-preview svg {
    width: 18px;
    height: 18px;
}

.level-preview.active {
    opacity: 1;
    border-color: currentColor;
}

.level-preview.bronze { color: #CD7F32; }
.level-preview.silver { color: #C0C0C0; }
.level-preview.gold { color: #FFD700; }
.level-preview.platinum { color: #E5E4E2; }

.level-preview.active.bronze { background: rgba(205, 127, 50, 0.2); }
.level-preview.active.silver { background: rgba(192, 192, 192, 0.2); }
.level-preview.active.gold { background: rgba(255, 215, 0, 0.2); }
.level-preview.active.platinum { background: rgba(229, 228, 226, 0.2); }

/* How it works */
.rewards-how {
    margin-bottom: var(--space-xl);
}

.rewards-how-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
}

.rewards-how-grid .how-step {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.how-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
}

.how-icon svg {
    width: 28px;
    height: 28px;
    stroke: #888;
}

.how-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.how-text strong {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: #fff;
}

.how-text span {
    font-size: 0.8rem;
    color: #888;
}

.how-arrow {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #444;
}

/* Coupons Grid */
.rewards-coupons {
    margin-bottom: var(--space-xl);
}

.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-md);
    padding: var(--space-lg) 0;
}

.coupon-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-xl) var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.coupon-card:hover {
    border-color: #555;
    transform: translateY(-2px);
}

.coupon-card.popular {
    border-color: #FFD700;
}

.coupon-card.premium {
    border-color: var(--red);
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(0, 0, 0, 0.3));
}

.coupon-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 8px;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.coupon-card.popular .coupon-badge {
    background: #FFD700;
    color: #333;
}

.coupon-card.premium .coupon-badge {
    background: var(--red);
    color: #fff;
}

.coupon-discount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.coupon-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: var(--space-md);
}

.coupon-price {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--red);
}

.coupon-validity {
    font-size: 0.75rem;
    color: #666;
}

.coupon-exchange-btn {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    background: transparent;
    color: #fff;
    border: 1px solid #444;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-exchange-btn:hover:not(:disabled) {
    background: var(--red);
    border-color: var(--red);
}

.coupon-exchange-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* My Coupons */
.rewards-my-coupons {
    margin-bottom: var(--space-xl);
}

.my-coupons-list {
    padding: var(--space-lg) 0;
}

.no-coupons {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-3xl);
    color: #666;
    text-align: center;
}

.no-coupons svg {
    width: 48px;
    height: 48px;
    stroke: #444;
    margin-bottom: var(--space-md);
}

.no-coupons p {
    font-family: var(--font-display);
    font-size: 1rem;
    color: #888;
    margin-bottom: var(--space-xs);
}

.no-coupons span {
    font-size: 0.85rem;
    color: #555;
}

.my-coupon-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    margin-bottom: var(--space-md);
}

.my-coupon-card:last-child {
    margin-bottom: 0;
}

.my-coupon-card.expiring-soon {
    border-color: #FFA500;
    background: rgba(255, 165, 0, 0.05);
}

.my-coupon-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--red), #ff6b6b);
    min-width: 80px;
}

.my-coupon-discount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.my-coupon-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.my-coupon-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.my-coupon-code {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.my-coupon-code:hover {
    color: var(--red);
}

.my-coupon-code svg {
    width: 16px;
    height: 16px;
    stroke: #666;
}

.my-coupon-expires {
    font-size: 0.8rem;
    color: #666;
}

.my-coupon-card.expiring-soon .my-coupon-expires {
    color: #FFA500;
}

/* Rewards History */
.rewards-history {
    margin-bottom: var(--space-xl);
}

.history-table-wrap {
    overflow-x: auto;
}

.rewards-history-table {
    width: 100%;
    border-collapse: collapse;
}

.rewards-history-table th,
.rewards-history-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid #333;
}

.rewards-history-table th {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rewards-history-table td {
    font-size: 0.9rem;
    color: #aaa;
}

.rewards-history-table tr.positive .points-cell {
    color: #4ADE80;
    font-weight: 700;
}

.rewards-history-table tr.negative .points-cell {
    color: var(--red);
    font-weight: 700;
}

.history-empty td {
    text-align: center;
    padding: var(--space-2xl);
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .rewards-hero {
        flex-direction: column;
        text-align: center;
    }

    .rewards-hero-left {
        flex-direction: column;
    }

    .rewards-hero-right {
        width: 100%;
        min-width: unset;
    }

    .rewards-how-grid {
        flex-direction: column;
    }

    .how-arrow {
        transform: rotate(90deg);
    }

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

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

/* ========================================
   REWARDS - LIGHT THEME
   ======================================== */

[data-theme="light"] .rewards-hero {
    background: linear-gradient(135deg, var(--cream), var(--white));
    border-color: var(--navy);
}

[data-theme="light"] .level-multiplier,
[data-theme="light"] .balance-label,
[data-theme="light"] .balance-unit {
    color: var(--navy-light);
}

[data-theme="light"] .balance-value {
    color: var(--red);
}

[data-theme="light"] .progress-info {
    color: var(--navy-light);
}

[data-theme="light"] .progress-info strong {
    color: var(--navy);
}

[data-theme="light"] .progress-bar-wrap {
    background: rgba(0, 0, 0, 0.1);
    border-color: var(--navy);
}

[data-theme="light"] .level-preview {
    border-color: var(--navy);
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .how-text strong {
    color: var(--navy);
}

[data-theme="light"] .how-text span {
    color: var(--navy-light);
}

[data-theme="light"] .how-arrow {
    color: var(--navy-light);
}

[data-theme="light"] .coupon-card {
    background: var(--white);
    border-color: var(--navy);
}

[data-theme="light"] .coupon-card:hover {
    border-color: var(--red);
}

[data-theme="light"] .coupon-discount {
    color: var(--navy);
}

[data-theme="light"] .coupon-validity {
    color: var(--navy-light);
}

[data-theme="light"] .coupon-exchange-btn {
    color: var(--navy);
    border-color: var(--navy);
}

[data-theme="light"] .coupon-exchange-btn:hover:not(:disabled) {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

[data-theme="light"] .no-coupons svg {
    stroke: var(--navy-light);
}

[data-theme="light"] .no-coupons p {
    color: var(--navy);
}

[data-theme="light"] .no-coupons span {
    color: var(--navy-light);
}

[data-theme="light"] .my-coupon-card {
    background: var(--white);
    border-color: var(--navy);
}

[data-theme="light"] .my-coupon-code {
    color: var(--navy);
}

[data-theme="light"] .my-coupon-code:hover {
    color: var(--red);
}

[data-theme="light"] .my-coupon-expires {
    color: var(--navy-light);
}

[data-theme="light"] .rewards-history-table th {
    color: var(--navy-light);
}

[data-theme="light"] .rewards-history-table td {
    color: var(--navy);
    border-color: var(--navy);
}

[data-theme="light"] .rewards-history-table tr.positive .points-cell {
    color: #16A34A;
}

[data-theme="light"] .history-empty td {
    color: var(--navy-light);
}

/* Rewards panels and dividers - light theme */
[data-theme="light"] .rewards-how,
[data-theme="light"] .rewards-coupons,
[data-theme="light"] .rewards-my-coupons,
[data-theme="light"] .rewards-history {
    background: var(--white);
    border-color: var(--navy);
}

[data-theme="light"] .rewards-how .panel-header,
[data-theme="light"] .rewards-coupons .panel-header,
[data-theme="light"] .rewards-my-coupons .panel-header,
[data-theme="light"] .rewards-history .panel-header {
    border-bottom-color: var(--navy);
}

[data-theme="light"] .rewards-how .panel-header h3,
[data-theme="light"] .rewards-coupons .panel-header h3,
[data-theme="light"] .rewards-my-coupons .panel-header h3,
[data-theme="light"] .rewards-history .panel-header h3 {
    color: var(--navy);
}

[data-theme="light"] .how-icon svg {
    stroke: var(--navy-light);
}

/* ============================================
   WEB PLAYER SECTION (KONTO)
   ============================================ */

.player-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
}

.player-icon {
    flex-shrink: 0;
}

.player-icon svg {
    width: 64px;
    height: 64px;
    color: var(--red);
}

.player-info {
    flex: 1;
}

.player-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-xs);
}

.player-info p {
    font-size: 0.9rem;
    color: #aaa;
    margin: 0;
    line-height: 1.5;
}

.player-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.player-launch-btn svg {
    width: 20px;
    height: 20px;
}

.player-launch-btn .external-icon {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.player-launch-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.player-locked {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-2xl);
    gap: var(--space-md);
}

.locked-icon svg {
    width: 48px;
    height: 48px;
    color: #555;
}

.player-locked h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #888;
}

.player-locked p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.player-subscribe-btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    background: var(--navy);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.player-subscribe-btn:hover {
    background: var(--red);
}

/* Web Player - Light Theme */
[data-theme="light"] .player-info h3 {
    color: var(--navy);
}

[data-theme="light"] .player-info p {
    color: var(--navy-light);
}

[data-theme="light"] .locked-icon svg {
    color: var(--navy-light);
}

[data-theme="light"] .player-locked h3 {
    color: var(--navy);
}

[data-theme="light"] .player-locked p {
    color: var(--navy-light);
}

/* Web Player - Responsive */
@media (max-width: 768px) {
    .player-card {
        flex-direction: column;
        text-align: center;
    }

    .player-icon svg {
        width: 48px;
        height: 48px;
    }
}

/* ============================================
   APPS DOWNLOAD SECTION (KONTO)
   ============================================ */

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
    gap: var(--space-sm);
}

.app-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xs);
}

.app-icon svg {
    width: 40px;
    height: 40px;
}

.app-icon-fire svg { color: #FF9900; }
.app-icon-android svg { color: #3DDC84; }
.app-icon-ios svg { color: #999; }
.app-icon-windows svg { color: #0078D4; }
.app-icon-mac svg { color: #999; }
.app-icon-tv svg { color: var(--red); }

.app-info h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.app-info p {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

.app-url {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--red);
    background: rgba(230, 57, 70, 0.1);
    padding: 2px 8px;
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.app-download-btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-sm);
    border: 1px solid var(--red);
    transition: all 0.2s;
}

.app-download-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.app-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.app-buttons .app-download-btn,
.app-buttons .app-link-btn {
    margin-top: 0;
    padding: 10px 20px;
    font-size: 0.75rem;
    line-height: 1;
    box-sizing: border-box;
}

.app-link-btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: transparent;
    color: #aaa;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s;
}

.app-link-btn:hover {
    color: #fff;
    border-color: var(--red);
}

[data-theme="light"] .app-link-btn {
    color: var(--navy-light);
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .app-link-btn:hover {
    color: var(--navy);
    border-color: var(--red);
}

.apps-note {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
}

.apps-note svg {
    flex-shrink: 0;
    color: var(--red);
}

.apps-note p {
    font-size: 0.85rem;
    color: #aaa;
    margin: 0;
}

.apps-note a {
    color: var(--red);
    text-decoration: underline;
}

.apps-note + .apps-note {
    margin-top: var(--space-sm);
}

/* Apps - Light Theme */
[data-theme="light"] .app-info h3 {
    color: var(--navy);
}

[data-theme="light"] .app-info p {
    color: var(--navy-light);
}

[data-theme="light"] .apps-note p {
    color: var(--navy-light);
}

[data-theme="light"] .app-icon-ios svg,
[data-theme="light"] .app-icon-mac svg {
    color: #333;
}

/* Apps - Responsive */
@media (max-width: 600px) {
    #apps.active {
        display: flex;
        flex-direction: column;
    }

    #apps .dashboard-section-title { order: 0; }
    .apps-note--phone { order: 1; margin-bottom: var(--space-sm); }
    .apps-grid { order: 2; }
    .apps-note:not(.apps-note--phone) { order: 3; }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .app-card {
        padding: var(--space-md) var(--space-sm);
    }

    .app-icon {
        width: 44px;
        height: 44px;
    }

    .app-icon svg {
        width: 32px;
        height: 32px;
    }

    .app-url {
        font-size: 0.65rem;
    }

    .app-buttons {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .app-buttons .app-download-btn,
    .app-buttons .app-link-btn {
        padding: 8px 14px;
        font-size: 0.7rem;
    }

    .apps-note {
        padding: var(--space-sm);
        gap: var(--space-sm);
    }

    .apps-note p {
        font-size: 0.8rem;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .app-info h3 {
        font-size: 0.85rem;
    }

    .app-info p {
        font-size: 0.75rem;
    }

    .app-card--desktop .app-download-btn {
        display: none;
    }
}

/* ============================================
   TV PROGRAM PAGE
   ============================================ */

.page-hero-compact {
    min-height: 35vh;
}

/* TV Program Sticky Header */
.tv-program-header {
    background: var(--cream);
    border-bottom: 2px solid var(--navy);
    padding: var(--space-md) var(--space-xl);
    z-index: 100;
}

.tv-program-header.sticky {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: stickySlideDown 0.3s ease-out;
}

@keyframes stickySlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.tv-program-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.tv-time-display {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
}

.tv-time-icon {
    font-size: 1.2rem;
}

.tv-current-time {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
}

/* Custom Timezone Dropdown */
.tv-timezone-dropdown {
    position: relative;
}

.tv-timezone-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-xs) var(--space-sm);
    border: 2px solid var(--navy);
    background: var(--white);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.tv-timezone-toggle:hover {
    background: var(--navy);
    color: var(--white);
}

.tv-timezone-toggle .tz-arrow {
    transition: transform 0.2s ease;
}

.tv-timezone-dropdown.open .tv-timezone-toggle .tz-arrow {
    transform: rotate(180deg);
}

.tv-timezone-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 160px;
    background: var(--white);
    border: 2px solid var(--navy);
    box-shadow: 4px 4px 0 rgba(29, 53, 87, 0.15);
    z-index: 100;
    display: none;
}

.tv-timezone-dropdown.open .tv-timezone-options {
    display: block;
    animation: tzDropdown 0.15s ease;
}

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

.tz-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.15s ease;
}

.tz-option:hover {
    background: var(--navy);
    color: var(--white);
}

.tz-option.active {
    background: var(--red);
    color: var(--white);
}

.tv-day-selector {
    display: flex;
    gap: var(--space-xs);
    overflow-x: auto;
    padding: var(--space-xs) 0;
}

.tv-day-btn {
    padding: var(--space-xs) var(--space-md);
    background: transparent;
    border: 2px solid var(--navy);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}

.tv-day-btn:hover {
    background: var(--navy);
    color: var(--white);
}

.tv-day-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* TV Filters */
.tv-filters {
    background: var(--white);
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tv-filters-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.tv-filter-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--cream);
    border: 2px solid transparent;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.tv-filter-btn:hover {
    border-color: var(--navy);
}

.tv-filter-btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.filter-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.tv-time-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--navy);
}

[data-theme="dark"] .tv-time-icon {
    stroke: var(--white);
}

/* TV Program Grid */
.tv-program-section {
    padding: var(--space-xl);
    background: var(--cream);
}

.tv-program-grid {
    max-width: 1400px;
    margin: 0 auto;
}

.tv-channel-row {
    display: flex;
    background: var(--white);
    border: 2px solid var(--navy);
    margin-bottom: var(--space-md);
    transition: all var(--transition);
}

.tv-channel-row:hover {
    box-shadow: 5px 5px 0 var(--red);
}

.tv-channel-info {
    width: 150px;
    flex-shrink: 0;
    padding: var(--space-md);
    border-right: 2px solid var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    background: var(--cream);
}

.tv-channel-logo {
    width: 60px;
    height: 40px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-channel-logo.polsat { background: #0066b3; }
.tv-channel-logo.tvn { background: #00a651; }
.tv-channel-logo.tvn24 { background: #cc0000; }
.tv-channel-logo.polsat-sport { background: #ff6600; }
.tv-channel-logo.hbo { background: #000; }
.tv-channel-logo.canal { background: #1a1a1a; }
.tv-channel-logo.abc { background: #ff9900; }
.tv-channel-logo.nick { background: #ff6600; }
.tv-channel-logo.puls { background: #e31937; }

.channel-logo-text {
    font-family: var(--font-display);
    font-size: 0.55rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.05em;
}

.tv-channel-name {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
}

.tv-timeline-wrapper {
    flex: 1;
    overflow-x: auto;
    padding: var(--space-sm);
}

.tv-timeline {
    display: flex;
    gap: var(--space-xs);
    min-width: max-content;
}

.tv-program-item {
    width: calc(var(--duration, 60) * 2px);
    min-width: 120px;
    max-width: 300px;
    padding: var(--space-sm);
    background: var(--cream);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition);
}

.tv-program-item.past {
    opacity: 0.5;
}

.tv-program-item.current {
    background: var(--red);
    border-color: var(--red);
}

.tv-program-item.current .program-time,
.tv-program-item.current .program-title {
    color: var(--white);
}

.program-time {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--navy-light);
    margin-bottom: 2px;
}

.program-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-progress {
    margin-top: var(--space-xs);
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.program-progress .progress-bar {
    height: 100%;
    background: var(--white);
}

/* TV Program CTA */
.tv-program-cta {
    background: var(--navy);
    padding: var(--space-2xl) var(--space-xl);
}

.tv-program-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.tv-program-cta .cta-text {
    color: var(--white);
}

.tv-program-cta .cta-badge {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: var(--space-xs);
}

.tv-program-cta h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.tv-program-cta p {
    opacity: 0.8;
}

.tv-program-cta .share-buttons {
    max-width: 1200px;
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.tv-program-cta .share-buttons span {
    color: rgba(255, 255, 255, 0.6);
}

.tv-program-cta .share-buttons button {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.tv-program-cta .share-buttons button:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

/* ============================================
   ABOUT PAGE
   ============================================ */

/* About Story Section */
.about-story {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.about-story-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-story-content .section-number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: var(--space-sm);
}

.about-story-content .section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-lg);
}

.about-story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--navy-light);
    margin-bottom: var(--space-md);
}

.about-story-text strong {
    color: var(--navy);
}

/* VHS Frame */
.vhs-frame {
    background: var(--navy);
    padding: var(--space-lg);
    position: relative;
}

.vhs-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--red);
    pointer-events: none;
}

.vhs-frame-inner {
    background: #1a1a1a;
    padding: var(--space-2xl);
    text-align: center;
    position: relative;
}

.vhs-label {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.vhs-year {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.2em;
}

.vhs-tape {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.tape-reel {
    width: 60px;
    height: 60px;
    border: 4px solid #333;
    border-radius: 50%;
    position: relative;
}

.tape-reel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #333;
    border-radius: 50%;
}

/* Mission Section */
.about-mission {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--cream);
}

.about-mission-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.about-mission-header .section-number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: var(--space-sm);
}

.about-mission-header .section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
}

.mission-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.mission-card {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 var(--red);
}

.mission-card.featured {
    background: var(--navy);
    color: var(--white);
    transform: scale(1.05);
}

.mission-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.mission-card.featured h3,
.mission-card.featured p {
    color: var(--white);
}

.mission-card.featured p {
    opacity: 0.8;
}

.mission-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
}

.mission-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--red);
}

.mission-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.mission-card p {
    font-size: 0.95rem;
    color: var(--navy-light);
    line-height: 1.6;
}

/* About Stats */
.about-stats {
    background: var(--red);
    padding: var(--space-2xl) var(--space-xl);
}

.about-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.about-stats .stat-item {
    text-align: center;
    color: var(--white);
}

.about-stats .stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    display: block;
    margin-bottom: var(--space-xs);
}

.about-stats .stat-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact Section */
.contact-section {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info .section-number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: var(--space-sm);
}

.contact-info .section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--navy-light);
    margin-bottom: var(--space-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--cream);
    border: 2px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.contact-method:hover {
    border-color: var(--navy);
    transform: translateX(5px);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.method-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy-light);
    margin-bottom: 2px;
}

.method-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
}

.contact-social {
    margin-top: var(--space-lg);
}

.social-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy-light);
    margin-bottom: var(--space-sm);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--red);
    transform: translateY(-3px);
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
    stroke: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--cream);
    border: 2px solid var(--navy);
    padding: var(--space-xl);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-xl);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.contact-form .form-group {
    margin-bottom: var(--space-md);
}

.contact-form label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--navy);
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
    color: var(--navy);
    transition: all var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--red);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-consent {
    margin-bottom: var(--space-lg);
}

.form-consent .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--navy-light);
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--navy);
    flex-shrink: 0;
    position: relative;
    transition: all var(--transition);
}

.form-consent input:checked + .checkbox-custom {
    background: var(--red);
    border-color: var(--red);
}

.form-consent input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: bold;
}

.form-consent input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-text a {
    color: var(--red);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    background: var(--red);
    color: var(--white);
    border: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all var(--transition);
}

.btn-submit:hover:not(:disabled) {
    background: var(--navy);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    margin-top: var(--space-md);
    padding: var(--space-md);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 2px solid #166534;
}

.form-status.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 2px solid #991b1b;
}

/* ============================================
   REFERRAL PAGE
   ============================================ */

/* How It Works */
.referral-how {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.referral-how-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.referral-how .section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.referral-how .section-header .section-number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: var(--space-sm);
}

.referral-how .section-header .section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
}

.referral-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.referral-step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: var(--space-xl);
    background: var(--cream);
    border: 2px solid var(--navy);
    position: relative;
    transition: all var(--transition);
}

.referral-step:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 var(--red);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: var(--space-md) auto;
}

.step-icon svg {
    width: 100%;
    height: 100%;
    stroke: #fff;
}

.referral-step h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.referral-step p {
    font-size: 0.9rem;
    color: var(--navy-light);
}

.step-arrow {
    font-size: 2rem;
    color: var(--red);
    font-weight: bold;
    align-self: center;
}

/* Rewards Section */
.referral-rewards {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--cream);
}

.referral-rewards .section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.referral-rewards .section-header .section-number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: var(--space-sm);
}

.referral-rewards .section-header .section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
}

.rewards-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.reward-card {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: var(--space-xl);
    text-align: center;
    position: relative;
    transition: all var(--transition);
}

.reward-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 var(--navy);
}

.reward-card.bonus {
    background: var(--navy);
    color: #fff;
}

.reward-card.bonus .reward-badge {
    background: var(--white);
    color: var(--navy);
}

.reward-card.bonus .reward-details p {
    color: rgba(255, 255, 255, 0.8);
}

.reward-card.premium {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.reward-card.premium .reward-badge {
    background: var(--white);
    color: var(--red);
}

.reward-card.premium .reward-details p {
    color: rgba(255, 255, 255, 0.9);
}

.reward-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-xs) var(--space-md);
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.reward-amount {
    margin: var(--space-lg) 0;
}

.reward-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

.reward-unit {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-xs);
}

.reward-details {
    text-align: left;
}

.reward-details p {
    font-size: 0.9rem;
    color: var(--navy-light);
    margin-bottom: var(--space-xs);
}

.reward-details p strong {
    color: var(--navy);
}

.reward-card.bonus .reward-details p strong,
.reward-card.premium .reward-details p strong {
    color: #fff;
}

/* Referral Link Section */
.referral-link-section {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.referral-link-section .section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.referral-link-section .section-header .section-number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: var(--space-sm);
}

.referral-link-section .section-header .section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
}

.referral-link-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--cream);
    border: 2px solid var(--navy);
    padding: var(--space-2xl);
}

.link-input-group {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.referral-link-input {
    flex: 1;
    padding: var(--space-md);
    border: 2px solid var(--navy);
    background: var(--white);
    font-family: var(--font-mono, monospace);
    font-size: 0.9rem;
    color: var(--navy);
}

.btn-copy {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    background: var(--navy);
    color: var(--white);
    border: none;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-copy:hover {
    background: var(--red);
}

.btn-copy.copied {
    background: #16a34a;
}

.btn-copy svg {
    width: 18px;
    height: 18px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.share-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-light);
}

.share-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border: 2px solid;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn.facebook {
    border-color: #1877f2;
    color: #1877f2;
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: #fff;
}

.share-btn.whatsapp {
    border-color: #25d366;
    color: #25d366;
}

.share-btn.whatsapp:hover {
    background: #25d366;
    color: #fff;
}

.share-btn.telegram {
    border-color: #0088cc;
    color: #0088cc;
}

.share-btn.telegram:hover {
    background: #0088cc;
    color: #fff;
}

.share-btn.email {
    border-color: var(--navy);
    color: var(--navy);
}

.share-btn.email:hover {
    background: var(--navy);
    color: #fff;
}

.qr-section {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 2px solid var(--navy);
}

.qr-code {
    width: 120px;
    height: 120px;
    background: var(--white);
    border: 2px solid var(--navy);
    padding: var(--space-sm);
}

.qr-placeholder svg {
    width: 100%;
    height: 100%;
}

.btn-print-qr {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: 2px solid var(--navy);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-print-qr:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-print-qr svg {
    width: 18px;
    height: 18px;
}

/* Login Prompt */
.login-prompt {
    text-align: center;
    padding: var(--space-xl) 0;
}

.prompt-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
}

.prompt-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--navy-light);
}

.login-prompt h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.login-prompt p {
    color: var(--navy-light);
    margin-bottom: var(--space-xl);
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    transition: all var(--transition);
}

.btn-login:hover {
    background: var(--navy);
    transform: translateY(-2px);
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

.btn-demo-login {
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: 2px dashed var(--navy-light);
    color: var(--navy-light);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-demo-login:hover {
    border-color: var(--navy);
    color: var(--navy);
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .btn-demo-login {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .btn-demo-login:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.demo-logout-wrapper {
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px dashed rgba(0, 0, 0, 0.2);
    text-align: center;
}

.btn-demo-logout {
    padding: var(--space-xs) var(--space-md);
    background: transparent;
    border: 1px dashed var(--navy-light);
    color: var(--navy-light);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-demo-logout:hover {
    border-color: var(--red);
    color: var(--red);
}

[data-theme="dark"] .demo-logout-wrapper {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-demo-logout {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .btn-demo-logout:hover {
    border-color: var(--red);
    color: var(--red);
}

/* Referral Stats Section */
.referral-stats-section {
    padding: var(--space-3xl) var(--space-xl);
    background: #1D3557;
}

.referral-stats-section .section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.referral-stats-section .section-header .section-number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: var(--space-sm);
}

.referral-stats-section .section-header .section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
}

.referral-stats-grid {
    max-width: 900px;
    margin: 0 auto var(--space-2xl);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.ref-stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-lg);
    text-align: center;
}

.ref-stat-card.highlight {
    background: var(--red);
    border-color: var(--red);
}

.ref-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    display: block;
    margin-bottom: var(--space-xs);
}

.ref-stat-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.referral-history {
    max-width: 900px;
    margin: 0 auto;
    background: #12203a;
    padding: var(--space-lg);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.referral-history h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-md);
}

.referral-history .history-table {
    background: #0f1a2b;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .referral-history .history-table {
    background: #0f1a2b;
    border-color: rgba(255, 255, 255, 0.15);
}

.history-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    padding: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
}

.referral-history .history-row span {
    color: #fff;
}

.history-row.header {
    background: rgba(255, 255, 255, 0.1);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

.referral-history .history-row.header span {
    color: rgba(255, 255, 255, 0.7);
}

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

.history-row .status {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    display: inline-block;
}

.history-row .status.active {
    background: #16a34a;
}

.history-row .status.pending {
    background: #f59e0b;
    color: #000;
}

.history-row .status.expired {
    background: rgba(255, 255, 255, 0.2);
}

.history-row .bonus {
    color: #4ade80;
    font-weight: 600;
}

/* Referral FAQ */
.referral-faq {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--cream);
}

.referral-faq .section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.referral-faq .section-header .section-number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: var(--space-sm);
}

.referral-faq .section-header .section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
}

.referral-faq .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

/* Referral CTA */
.referral-cta {
    background: var(--white);
    padding: var(--space-2xl) var(--space-xl);
    border-top: 2px solid var(--navy);
}

.referral-cta-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.referral-cta .cta-badge {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: var(--space-xs);
}

.referral-cta h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.referral-cta p {
    color: var(--navy-light);
}

/* ============================================
   DARK THEME OVERRIDES FOR NEW PAGES
   ============================================ */

[data-theme="dark"] .tv-program-header {
    background: var(--navy);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .tv-current-time {
    color: var(--white);
}

[data-theme="dark"] .tv-timezone-toggle {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

[data-theme="dark"] .tv-timezone-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .tv-timezone-options {
    background: var(--bg-card);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .tz-option {
    color: var(--white);
}

[data-theme="dark"] .tz-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .tv-day-btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

[data-theme="dark"] .tv-day-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .tv-filters {
    background: #1a2332;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .tv-filter-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

[data-theme="dark"] .tv-filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .tv-filter-btn.active {
    background: var(--red);
    border-color: var(--red);
}

[data-theme="dark"] .tv-program-section {
    background: #0f1419;
}

[data-theme="dark"] .tv-channel-row {
    background: #1a2332;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .tv-channel-info {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .tv-channel-name {
    color: var(--white);
}

[data-theme="dark"] .tv-program-item {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .program-time {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .program-title {
    color: var(--white);
}

[data-theme="dark"] .about-story {
    background: #1a2332;
}

[data-theme="dark"] .about-story-content .section-title {
    color: var(--white);
}

[data-theme="dark"] .about-story-text {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .about-story-text strong {
    color: var(--white);
}

[data-theme="dark"] .about-mission {
    background: #0f1419;
}

[data-theme="dark"] .about-mission-header .section-title {
    color: var(--white);
}

[data-theme="dark"] .mission-card {
    background: #1a2332;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .mission-card h3 {
    color: var(--white);
}

[data-theme="dark"] .mission-card p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .contact-section {
    background: #1a2332;
}

[data-theme="dark"] .contact-info .section-title {
    color: var(--white);
}

[data-theme="dark"] .contact-intro {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .contact-method {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .contact-method:hover {
    border-color: var(--red);
}

[data-theme="dark"] .method-label {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .method-value {
    color: var(--white);
}

[data-theme="dark"] .social-label {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .contact-form-wrapper {
    background: #0f1419;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .form-title {
    color: var(--white);
}

[data-theme="dark"] .contact-form label {
    color: var(--white);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form select,
[data-theme="dark"] .contact-form textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

[data-theme="dark"] .form-consent .checkbox-label {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .checkbox-custom {
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .referral-how {
    background: #1a2332;
}

[data-theme="dark"] .referral-how .section-header .section-title {
    color: #fff;
}

[data-theme="dark"] .referral-step {
    background: #0f1419;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .referral-step h3 {
    color: #fff;
}

[data-theme="dark"] .referral-step p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .step-icon svg {
    stroke: #fff;
}

[data-theme="dark"] .referral-rewards {
    background: #0f1419;
}

[data-theme="dark"] .referral-rewards .section-header .section-title {
    color: #fff;
}

[data-theme="dark"] .reward-card {
    background: #1a2332;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .reward-number,
[data-theme="dark"] .reward-unit {
    color: #fff;
}

[data-theme="dark"] .reward-details p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .reward-details p strong {
    color: #fff;
}

[data-theme="dark"] .referral-link-section {
    background: #1a2332;
}

[data-theme="dark"] .referral-link-section .section-header .section-title {
    color: #fff;
}

[data-theme="dark"] .referral-link-box {
    background: #0f1419;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .referral-link-input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

[data-theme="dark"] .share-label {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .qr-section {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .qr-code {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-print-qr {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

[data-theme="dark"] .btn-print-qr:hover {
    background: var(--red);
    border-color: var(--red);
}

[data-theme="dark"] .prompt-icon svg {
    stroke: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .login-prompt h3 {
    color: #fff;
}

[data-theme="dark"] .login-prompt p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .referral-stats-section {
    background: #0f1419;
}

[data-theme="dark"] .referral-faq {
    background: #0f1419;
}

[data-theme="dark"] .referral-faq .section-header .section-title {
    color: #fff;
}

[data-theme="dark"] .referral-cta {
    background: #1a2332;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .referral-cta h2 {
    color: #fff;
}

[data-theme="dark"] .referral-cta p {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   RESPONSIVE - NEW PAGES
   ============================================ */

@media (max-width: 1024px) {
    .about-story-inner {
        grid-template-columns: 1fr;
    }

    .about-story-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .mission-cards {
        grid-template-columns: 1fr;
    }

    .mission-card.featured {
        transform: none;
    }

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

    .contact-inner {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .tv-program-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .tv-day-selector {
        width: 100%;
    }

    .tv-channel-row {
        flex-direction: column;
    }

    .tv-channel-info {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        border-right: none;
        border-bottom: 2px solid var(--navy);
    }

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

    .about-stats .stat-number {
        font-size: 2rem;
    }

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

    .referral-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .referral-step {
        max-width: 100%;
    }

    .qr-section {
        flex-direction: column;
        text-align: center;
    }

    .history-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .history-row.header {
        display: none;
    }

    .referral-history .history-row span {
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-all;
    }

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

    .referral-cta-inner,
    .tv-program-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-stats-inner {
        grid-template-columns: 1fr;
    }

    /* Referral link input */
    .referral-link-section {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .referral-link-box {
        padding: var(--space-lg);
    }

    .link-input-group {
        flex-direction: column;
    }

    .referral-link-input {
        font-size: 0.75rem;
        padding: var(--space-sm);
        width: 100%;
        box-sizing: border-box;
    }

    .btn-copy {
        width: 100%;
        justify-content: center;
    }

    /* Share buttons — equal width */
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .share-btn {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
        text-decoration: none;
    }

    /* Stats section */
    .referral-stats-section {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
        overflow-x: hidden;
        box-sizing: border-box;
        max-width: 100%;
    }

    .referral-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
        max-width: 100%;
        box-sizing: border-box;
    }

    .ref-stat-card {
        padding: var(--space-md);
        min-width: 0;
    }

    .ref-stat-number {
        font-size: 2rem;
    }

    .ref-stat-label {
        font-size: 0.65rem;
    }

    /* Historia poleceń */
    .referral-history {
        padding: var(--space-md);
    }

    .referral-history .history-table {
        overflow-x: hidden;
    }

    .referral-history .history-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: var(--space-sm);
    }

    .referral-history .history-row.header {
        display: none;
    }

    .referral-history .history-row span {
        font-size: 0.8rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .referral-history .history-row span::before {
        font-family: var(--font-display);
        font-size: 0.65rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: rgba(255, 255, 255, 0.5);
        display: block;
        margin-bottom: 2px;
    }

    .referral-history .history-row span:nth-child(1)::before { content: 'Data'; }
    .referral-history .history-row span:nth-child(2)::before { content: 'Użytkownik'; }
    .referral-history .history-row span:nth-child(3)::before { content: 'Status'; }
    .referral-history .history-row span:nth-child(4)::before { content: 'Bonus'; }
}

/* ============================================
   SHOPPING CART
   ============================================ */

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cart-btn.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.floating-cart-btn.hidden {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.floating-cart-btn.pulse .cart-btn-inner {
    animation: cartPulse 0.5s ease;
}

@keyframes cartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cart-btn-inner {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--red);
    color: var(--white);
    border: 3px solid var(--navy);
    box-shadow: 6px 6px 0 var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.cart-btn-inner:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--navy);
}

.cart-btn-inner:active {
    transform: translate(0, 0);
    box-shadow: 3px 3px 0 var(--navy);
}

.cart-icon {
    width: 24px;
    height: 24px;
}

.cart-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    background: var(--white);
    color: var(--red);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 12px;
}

.cart-total {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: var(--cream);
    border-top: 3px solid var(--navy);
    z-index: 1002;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateY(0);
}

body.cart-open {
    overflow: hidden;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 2px solid var(--navy);
    background: var(--white);
}

.cart-drawer-header h3 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
}

.cart-drawer-header h3 svg {
    width: 24px;
    height: 24px;
    stroke: var(--red);
}

.cart-close-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.cart-close-btn:hover {
    background: var(--red);
    border-color: var(--red);
}

.cart-close-btn:hover svg {
    stroke: var(--white);
}

.cart-close-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--navy);
}

/* Cart Content */
.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
}

.cart-empty svg {
    width: 80px;
    height: 80px;
    stroke: var(--navy-light);
    margin-bottom: var(--space-lg);
}

.cart-empty p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: var(--space-lg);
}

.btn-continue-shopping {
    padding: var(--space-sm) var(--space-lg);
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    transition: all var(--transition);
}

.btn-continue-shopping:hover {
    background: var(--red);
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border: 2px solid var(--navy);
}

.cart-item-info {
    flex: 1;
}

.cart-item-type {
    display: inline-block;
    padding: 2px 8px;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.cart-item-type.physical {
    background: var(--navy);
    color: var(--white);
}

.cart-item-type.digital {
    background: #10b981;
    color: var(--white);
}

.cart-item-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 4px 0;
}

.cart-item-price {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.cart-item-price .original {
    font-size: 0.8rem;
    color: var(--navy-light);
    text-decoration: line-through;
}

.cart-item-price .current {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--red);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid var(--navy);
}

.qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border: none;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    transition: all var(--transition);
}

.qty-btn:hover {
    background: var(--navy);
    color: var(--white);
}

.qty-value {
    width: 40px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    border-left: 2px solid var(--navy);
    border-right: 2px solid var(--navy);
}

.remove-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--navy-light);
    cursor: pointer;
    transition: all var(--transition);
}

.remove-btn:hover {
    background: var(--red);
    border-color: var(--red);
}

.remove-btn:hover svg {
    stroke: var(--white);
}

.remove-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--navy-light);
}

/* Cart Footer */
.cart-drawer-footer {
    padding: var(--space-lg) var(--space-xl);
    border-top: 2px solid var(--navy);
    background: var(--white);
}

.cart-summary {
    margin-bottom: var(--space-lg);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xs) 0;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--navy-light);
}

.cart-summary-row.cart-summary-total {
    padding-top: var(--space-sm);
    margin-top: var(--space-sm);
    border-top: 2px dashed var(--navy);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
}

.cart-summary-row.cart-summary-total span:last-child {
    color: var(--red);
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--navy);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition);
}

.btn-checkout:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 0 var(--red);
}

/* Add to cart button states */
.add-to-cart-btn.added {
    background: #10b981 !important;
    border-color: #10b981 !important;
}

.added-check {
    display: inline-block;
    margin-right: 4px;
}

/* Dark theme */
[data-theme="dark"] .cart-btn-inner {
    border-color: var(--white);
    box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .cart-btn-inner:hover {
    box-shadow: 9px 9px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .cart-btn-inner:active {
    box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .cart-drawer {
    background: #1a2332;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .cart-drawer-header {
    background: #0f1419;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .cart-drawer-header h3 {
    color: #fff;
}

[data-theme="dark"] .cart-close-btn {
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .cart-close-btn svg {
    stroke: #fff;
}

[data-theme="dark"] .cart-close-btn:hover {
    background: var(--red);
    border-color: var(--red);
}

[data-theme="dark"] .cart-empty svg {
    stroke: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .cart-empty p {
    color: #fff;
}

[data-theme="dark"] .btn-continue-shopping {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .btn-continue-shopping:hover {
    background: var(--red);
    border-color: var(--red);
}

[data-theme="dark"] .cart-item {
    background: #0f1419;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .cart-item-name {
    color: #fff;
}

[data-theme="dark"] .cart-item-type {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .cart-item-type.digital {
    background: rgba(76, 175, 80, 0.3);
    color: #81c784;
}

[data-theme="dark"] .cart-item-type.physical {
    background: rgba(33, 150, 243, 0.3);
    color: #64b5f6;
}

[data-theme="dark"] .cart-item-price .original {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .cart-item-price .current {
    color: #fff;
}

[data-theme="dark"] .quantity-control {
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .qty-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

[data-theme="dark"] .qty-btn:hover {
    background: var(--red);
}

[data-theme="dark"] .qty-value {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .remove-btn {
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .remove-btn svg {
    stroke: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .cart-drawer-footer {
    background: #0f1419;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .cart-summary-row {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .cart-summary-row.cart-summary-total {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

[data-theme="dark"] .cart-summary-row.cart-summary-total span:last-child {
    color: var(--red);
}

[data-theme="dark"] .btn-checkout {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (min-width: 768px) {
    .cart-drawer {
        left: auto;
        right: 0;
        top: 0;
        bottom: 0;
        max-width: 450px;
        max-height: none;
        border-top: none;
        border-left: 3px solid var(--navy);
        transform: translateX(100%);
    }

    .cart-drawer.open {
        transform: translateX(0);
    }

    [data-theme="dark"] .cart-drawer {
        border-left-color: rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 480px) {
    .floating-cart-btn {
        bottom: 20px;
    }

    .cart-btn-inner {
        padding: var(--space-sm) var(--space-md);
    }

    .cart-total {
        display: none;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: var(--space-sm);
    }
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */

.checkout-section {
    padding: var(--space-2xl) var(--space-xl);
    background: var(--cream);
    min-height: 60vh;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl);
    text-align: center;
}

.checkout-empty svg {
    width: 100px;
    height: 100px;
    stroke: var(--navy-light);
    margin-bottom: var(--space-xl);
}

.checkout-empty h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.checkout-empty p {
    color: var(--navy-light);
    margin-bottom: var(--space-xl);
}

.btn-back-to-shop {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    transition: all var(--transition);
}

.btn-back-to-shop:hover {
    background: var(--navy);
    transform: translateY(-2px);
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-2xl);
    align-items: start;
}

/* Checkout Form */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.checkout-block {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.block-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0;
}

.block-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--red);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 800;
}

.block-note {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--navy-light);
    margin-left: auto;
}

.checkout-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.checkout-form .form-group {
    margin-bottom: 0;
}

.checkout-form label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--navy);
    background: var(--cream);
    font-family: inherit;
    font-size: 1rem;
    color: var(--navy);
    transition: all var(--transition);
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
}

.checkout-form input[readonly] {
    background: rgba(0, 0, 0, 0.05);
    color: var(--navy-light);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.payment-option {
    cursor: pointer;
}

.payment-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-option-inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--cream);
    border: 2px solid transparent;
    transition: all var(--transition);
}

.payment-option input:checked + .payment-option-inner {
    border-color: var(--red);
    background: var(--white);
}

.payment-option:hover .payment-option-inner {
    border-color: var(--navy);
}

.payment-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    flex-shrink: 0;
}

.payment-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.payment-icon.zelle-icon {
    background: #6d1ed4;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
}

.payment-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.payment-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--navy-light);
}

/* Order Summary */
.checkout-summary {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: var(--space-xl);
    position: sticky;
    top: 100px;
    overflow: hidden;
    box-sizing: border-box;
}

.summary-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--navy);
}

.summary-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
}

.edit-cart-link {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    text-decoration: underline;
    white-space: nowrap;
    flex-shrink: 0;
}

.summary-items {
    margin-bottom: var(--space-lg);
    max-height: 250px;
    overflow-y: auto;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--space-sm) 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.summary-item:last-child {
    border-bottom: none;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-name {
    font-size: 0.9rem;
    color: var(--navy);
}

.item-qty {
    font-size: 0.8rem;
    color: var(--navy-light);
}

.item-price {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
}

.summary-totals {
    margin-bottom: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 2px solid var(--navy);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-xs) 0;
    font-size: 0.95rem;
    color: var(--navy-light);
}

.summary-row.total {
    padding-top: var(--space-sm);
    margin-top: var(--space-sm);
    border-top: 2px dashed var(--navy);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
}

.summary-row.total span:last-child {
    color: var(--red);
}

.btn-place-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--navy);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-place-order:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 0 var(--red);
}

.summary-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy-light);
}

.summary-secure svg {
    width: 16px;
    height: 16px;
    stroke: #10b981;
}

/* Dark Theme */
[data-theme="dark"] .checkout-section {
    background: #0f1419;
}

[data-theme="dark"] .checkout-empty svg {
    stroke: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .checkout-empty h2 {
    color: var(--white);
}

[data-theme="dark"] .checkout-empty p {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .checkout-block {
    background: #1a2332;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .block-title {
    color: var(--white);
}

[data-theme="dark"] .block-note {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .checkout-form label {
    color: var(--white);
}

[data-theme="dark"] .checkout-form input,
[data-theme="dark"] .checkout-form select,
[data-theme="dark"] .checkout-form textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

[data-theme="dark"] .checkout-form input:focus,
[data-theme="dark"] .checkout-form select:focus,
[data-theme="dark"] .checkout-form textarea:focus {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .payment-option-inner {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .payment-option input:checked + .payment-option-inner {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .payment-name {
    color: var(--white);
}

[data-theme="dark"] .payment-desc {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .checkout-summary {
    background: #1a2332;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .summary-header {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .summary-header h3 {
    color: var(--white);
}

[data-theme="dark"] .item-name {
    color: var(--white);
}

[data-theme="dark"] .item-qty {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .item-price {
    color: var(--white);
}

[data-theme="dark"] .summary-totals {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .summary-row {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .summary-row.total {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

[data-theme="dark"] .btn-place-order {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .summary-secure {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-section {
        padding: var(--space-xl) var(--space-md);
    }

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

    .checkout-summary {
        padding: var(--space-md);
    }
}

/* ============================================
   SUBSCRIPTIONS SECTION (sklep.html)
   ============================================ */

.subscriptions-section {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 2px solid var(--navy);
}

.subscriptions-section.solo {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.subscriptions-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.digital-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: linear-gradient(135deg, var(--red), #d32f2f);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 auto var(--space-4);
    text-align: center;
}

.subscriptions-desc {
    text-align: center;
    color: var(--navy);
    opacity: 0.7;
    font-size: 1rem;
    margin-bottom: var(--space-8);
}

[data-theme="dark"] .subscriptions-desc {
    color: rgba(255, 255, 255, 0.6);
}

.digital-badge svg {
    width: 18px;
    height: 18px;
}

.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.subscription-card {
    background: var(--white);
    border: 2px solid var(--navy);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscription-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 26, 47, 0.15);
}

.subscription-card.featured {
    border-color: var(--red);
    border-width: 3px;
    transform: scale(1.02);
}

.subscription-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.sub-featured-tag {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--red);
    color: var(--white);
    text-align: center;
    padding: var(--space-2) var(--space-4);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.subscription-card.featured .sub-header {
    padding-top: calc(var(--space-6) + 32px);
}

.sub-header {
    padding: var(--space-6) var(--space-4) var(--space-4);
    text-align: center;
    background: linear-gradient(180deg, rgba(10, 26, 47, 0.03) 0%, transparent 100%);
}

.sub-tier {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: var(--space-1);
}

.sub-tagline {
    font-size: 0.85rem;
    color: var(--navy);
    opacity: 0.7;
}

.sub-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4);
}

.sub-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.sub-option:hover {
    border-color: var(--navy);
    background: var(--white);
}

.sub-option:active {
    transform: scale(0.98);
}

.sub-period {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.sub-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--red);
}

.sub-badge {
    position: absolute;
    top: 50%;
    right: calc(var(--space-4) + 70px);
    transform: translateY(-50%);
    background: #4caf50;
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}

.subscriptions-note {
    text-align: center;
    color: var(--navy);
    opacity: 0.6;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.subscriptions-note svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* Subscriptions Dark Theme */
[data-theme="dark"] .subscriptions-section {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .subscriptions-title {
    color: var(--white);
}

[data-theme="dark"] .subscription-card {
    background: #1a2332;
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .subscription-card.featured {
    border-color: var(--red);
}

[data-theme="dark"] .sub-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
}

[data-theme="dark"] .sub-tier {
    color: var(--white);
}

[data-theme="dark"] .sub-tagline {
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .sub-option {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .sub-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .sub-period {
    color: var(--white);
}

[data-theme="dark"] .subscriptions-note {
    color: rgba(255, 255, 255, 0.5);
}

/* Subscriptions Responsive */
@media (max-width: 1024px) {
    .subscriptions-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .subscription-card.featured {
        transform: none;
        order: -1;
    }

    .subscription-card.featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 480px) {
    .sub-badge {
        position: static;
        transform: none;
        margin-left: var(--space-2);
    }

    .sub-option {
        flex-wrap: wrap;
        gap: var(--space-1);
    }
}

/* ============================================
   SUBSCRIPTION PRODUCT CARDS (NEW STYLE)
   ============================================ */

/* VCR Card Style for Subscriptions */
.vcr-card {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a24 0%, #0f0f15 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vcr-card-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 2;
}

.vcr-card-rec {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

.vcr-card-rec .rec-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--red);
    animation: blink 1s infinite;
}

.vcr-card-rec span {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.1em;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.vcr-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 20px;
}

.vcr-card-tier {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 2.5rem);
    font-weight: 900;
    color: white;
    letter-spacing: 0.1em;
    text-shadow:
        0 0 30px var(--red-glow, rgba(220, 38, 38, 0.6)),
        3px 3px 0 rgba(230, 57, 70, 0.3);
    line-height: 1;
}

.vcr-card-tier.plus-tier {
    text-shadow:
        0 0 30px rgba(255, 215, 0, 0.5),
        3px 3px 0 rgba(255, 215, 0, 0.3);
}

.vcr-card-info {
    margin-top: 10px;
    font-family: 'VT323', var(--font-display), monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
}

.vcr-card.plus-style {
    box-shadow: inset 0 0 30px rgba(255, 215, 0, 0.1);
}

.vcr-card.plus-style .vcr-card-rec .rec-dot {
    background: #FFD700;
    box-shadow: 0 0 8px #FFD700;
}

.vcr-card.plus-style .vcr-card-rec span {
    color: #FFD700;
}

/* Move badge to right for subscription cards */
.subscription-product .product-badge {
    left: auto;
    right: 10px;
}

.product-badge.digital {
    background: var(--navy);
}

.product-badge.bestseller {
    background: var(--red);
}

.product-badge.trial-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a24;
}

.product-badge.premium-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a24;
}

.product-badge.external-badge {
    background: var(--navy-light);
}

.external-sub .price-from {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-right: 2px;
}

.external-sub .price-period {
    font-size: 0.85rem;
    opacity: 0.6;
}

.external-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.external-link-btn svg {
    flex-shrink: 0;
}

.subscription-period-select {
    margin-bottom: var(--space-md);
}

.period-select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    background: var(--white);
    border: 2px solid var(--navy);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230A1A2F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all 0.2s ease;
}

.period-select:hover {
    border-color: var(--red);
}

.period-select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.subscription-price {
    font-size: 1.5rem !important;
}

.product-details-link {
    display: block;
    margin-top: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-details-link:hover {
    color: var(--red);
}

/* Dark theme for subscription cards */
[data-theme="dark"] .vcr-card {
    background: linear-gradient(180deg, #0f0f15 0%, #050508 100%);
}

[data-theme="dark"] .period-select {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

[data-theme="dark"] .period-select:hover,
[data-theme="dark"] .period-select:focus {
    border-color: var(--red);
}

[data-theme="dark"] .product-details-link {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .product-details-link:hover {
    color: var(--red);
}

/* ============================================
   SHOP FILTERS & CUSTOM DROPDOWNS
   ============================================ */

.shop-filters {
    padding: 0 var(--space-6);
    margin-bottom: var(--space-6);
}

.filters-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-color);
}

.filters-left {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.results-count {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.results-count span {
    font-weight: 700;
    color: var(--text-primary);
}

.filters-right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Custom Dropdown */
.custom-dropdown {
    position: relative;
    min-width: 200px;
}

.dropdown-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 12px 16px;
    background: var(--white);
    border: 2px solid var(--navy);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-trigger:hover {
    border-color: var(--red);
}

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

.dropdown-value {
    font-weight: 600;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--navy);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
}

.custom-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    width: 100%;
    display: block;
    padding: 12px 16px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.dropdown-item:hover {
    background: var(--cream);
}

.dropdown-item.active {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
}

.dropdown-item.active:hover {
    background: var(--navy);
}

/* Period dropdown specific */
.period-dropdown {
    min-width: 100%;
}

.period-dropdown .dropdown-trigger {
    padding: 10px 14px;
}

.period-dropdown .dropdown-menu {
    border-color: var(--border-color);
}

/* Product badge for new items */
.product-badge.new-badge {
    background: #22c55e;
}

/* Dark theme for dropdowns */
[data-theme="dark"] .dropdown-trigger {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .dropdown-trigger:hover {
    border-color: var(--red);
}

[data-theme="dark"] .dropdown-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .dropdown-menu {
    background: var(--bg-elevated);
    border-color: var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-primary);
}

[data-theme="dark"] .dropdown-item:hover {
    background: var(--bg-secondary);
}

[data-theme="dark"] .dropdown-item.active {
    background: var(--red);
    color: #fff;
}

/* Filter responsive */
@media (max-width: 768px) {
    .filters-container {
        flex-direction: column;
        gap: var(--space-3);
        align-items: stretch;
    }

    .filters-left {
        justify-content: center;
    }

    .filters-right {
        justify-content: center;
    }

    .custom-dropdown {
        min-width: 180px;
    }

    /* Comparison section mobile */
    .comparison {
        padding: var(--space-2xl) var(--space-sm);
    }

    /* Tables mobile adaptation */
    .comparison-table th,
    .comparison-table td {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8rem;
    }

    .comparison-table thead th {
        font-size: 0.75rem;
    }

    .history-table th,
    .history-table td {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8rem;
    }

    .history-table th {
        font-size: 0.7rem;
    }

    .rewards-history-table th,
    .rewards-history-table td {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8rem;
    }

    .refund-table th,
    .refund-table td {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8rem;
    }
}

/* Tables extra small */
@media (max-width: 480px) {
    .comparison-table th,
    .comparison-table td {
        padding: var(--space-xs);
        font-size: 0.7rem;
    }

    .history-table th,
    .history-table td {
        padding: var(--space-xs);
        font-size: 0.75rem;
    }
}

/* Extra small screens — pages */
@media (max-width: 400px) {
    .page-hero {
        padding: var(--space-xl) var(--space-sm) var(--space-lg);
    }

    .page-hero h1 {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .dashboard-section,
    .instructions-section,
    .subscriptions-section,
    .checkout-section {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    .subscription-card {
        padding: var(--space-md);
    }

    .checkout-form-section h3,
    .dashboard-section h2 {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* ============================================
   KANALY PAGE — MOBILE OPTIMIZATION
   ============================================ */

/* Scroll-to-top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 1.4rem;
    font-family: var(--font-display);
    font-weight: 700;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateY(20px);
    box-shadow: 4px 4px 0 var(--navy);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--navy);
    transform: translateY(-3px);
    box-shadow: 6px 6px 0 var(--red);
}

[data-theme="dark"] .scroll-top {
    background: var(--red);
    box-shadow: 4px 4px 0 var(--bg-elevated);
}

[data-theme="dark"] .scroll-top:hover {
    background: var(--bg-elevated);
    box-shadow: 6px 6px 0 var(--red);
}

@media (max-width: 768px) {
    /* Compact hero */
    .channels-section .page-hero,
    .page-hero {
        min-height: 30vh;
    }

    /* Channels section — reduce padding */
    .channels-section {
        padding: var(--space-xl) var(--space-sm);
    }

    /* Sticky search */
    .channels-search {
        position: sticky;
        top: 68px;
        z-index: 10;
        background: var(--white);
        box-shadow: 0 -12px 0 var(--white);
        max-width: 100%;
        margin-bottom: var(--space-sm);
        padding: var(--space-sm) var(--space-md);
        font-size: 0.85rem;
    }

    /* Sticky filters */
    .channel-filters {
        position: sticky;
        top: 122px;
        z-index: 10;
        background: var(--white);
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        padding: var(--space-xs) 0 var(--space-sm);
        margin-bottom: var(--space-md);
        gap: var(--space-xs);
    }

    .channel-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.7rem;
    }

    /* Compact channel cards */
    .channel-item {
        padding: var(--space-xs) var(--space-sm);
        gap: var(--space-xs);
    }

    .channel-logo-small {
        width: 30px;
        height: 30px;
        font-size: 0.5rem;
    }

    .channel-item-name {
        font-size: 0.8rem;
    }

    /* Compact category headers */
    .channels-category {
        margin-bottom: var(--space-lg);
    }

    .channels-category h3 {
        font-size: 1rem;
        margin-bottom: var(--space-sm);
    }

    .channels-count {
        margin-bottom: var(--space-md);
    }

    /* Scroll-top button — smaller on mobile */
    .scroll-top {
        bottom: 20px;
        left: 16px;
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    /* Dark theme sticky backgrounds */
    [data-theme="dark"] .channels-search {
        background: var(--bg-primary);
        box-shadow: 0 -12px 0 var(--bg-primary);
    }

    [data-theme="dark"] .channel-filters {
        background: var(--bg-primary);
    }
}

/* ============================================
   WRITE REVIEW PAGE
   ============================================ */

.write-review-section {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--white);
}

.write-review-container {
    max-width: 640px;
    margin: 0 auto;
}

/* Login Gate */
.review-login-gate {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    border: 2px dashed rgba(0, 0, 0, 0.15);
}

.login-gate-icon {
    width: 64px;
    height: 64px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    border-radius: 50%;
}

.login-gate-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--navy);
}

.review-login-gate h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.review-login-gate p {
    color: var(--navy-light);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
}

/* User Info Bar */
.review-user-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--cream);
    border: 2px solid rgba(0, 0, 0, 0.06);
    margin-bottom: var(--space-xl);
}

.review-user-avatar {
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    border-radius: 50%;
}

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

.review-user-details strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
}

.review-user-details span {
    font-size: 0.8rem;
    color: var(--navy-light);
}

/* Form Elements */
.review-form {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    margin-bottom: var(--space-xs);
}

.label-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--navy-light);
    font-size: 0.8rem;
}

.form-group input[type="text"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: var(--cream);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--navy);
    transition: border-color var(--transition);
    outline: none;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    resize: none;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.form-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--navy-light);
    margin-top: 4px;
}

.form-error {
    display: block;
    font-size: 0.8rem;
    color: var(--red);
    margin-top: var(--space-xs);
    min-height: 1.2em;
}

/* Custom Select Dropdown */
.custom-select {
    position: relative;
    max-width: 400px;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: var(--cream);
    cursor: pointer;
    transition: border-color var(--transition);
    font-family: var(--font-body);
    font-size: 1rem;
}

.custom-select-trigger:hover {
    border-color: rgba(0, 0, 0, 0.25);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--red);
}

.custom-select-value {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.35);
}

.custom-select.selected .custom-select-value {
    color: var(--navy);
}

.custom-select-arrow {
    width: 12px;
    height: 8px;
    flex-shrink: 0;
    color: var(--navy-light);
    transition: transform 0.2s ease;
}

.custom-select.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--navy);
    border-top: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    z-index: 50;
}

.custom-select.open .custom-select-options {
    max-height: 300px;
    opacity: 1;
    overflow-y: auto;
}

.custom-select-option {
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--navy);
    cursor: pointer;
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.custom-select-option:last-child {
    border-bottom: none;
}

.custom-select-option:hover {
    background: var(--cream);
}

.custom-select-option.active {
    background: var(--navy);
    color: var(--white);
}

[data-theme="dark"] .custom-select-trigger {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .custom-select-trigger:hover {
    border-color: var(--border-hover, rgba(255, 255, 255, 0.3));
}

[data-theme="dark"] .custom-select.open .custom-select-trigger {
    border-color: var(--red);
}

[data-theme="dark"] .custom-select-value {
    color: var(--text-muted, rgba(255, 255, 255, 0.3));
}

[data-theme="dark"] .custom-select.selected .custom-select-value {
    color: var(--text-primary);
}

[data-theme="dark"] .custom-select-arrow {
    color: var(--text-secondary);
}

[data-theme="dark"] .custom-select-options {
    background: var(--bg-card);
    border-color: var(--red);
}

[data-theme="dark"] .custom-select-option {
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .custom-select-option:hover {
    background: var(--bg-elevated, #374151);
}

[data-theme="dark"] .custom-select-option.active {
    background: var(--red);
    color: #fff;
}

/* Star Rating */
.star-select {
    display: flex;
    gap: var(--space-xs);
}

.star-option {
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.star-option:hover,
.star-option.active {
    color: #fbbf24;
}

.star-option:hover {
    transform: scale(1.2);
}

/* Attach Zone */
.attach-zone {
    border: 2px dashed rgba(0, 0, 0, 0.15);
    padding: var(--space-md);
    transition: border-color var(--transition), background var(--transition);
    min-height: 100px;
}

.attach-zone.dragover {
    border-color: var(--red);
    background: rgba(220, 38, 38, 0.04);
}

.attach-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    padding: var(--space-md);
    color: var(--navy-light);
}

.attach-prompt svg {
    width: 28px;
    height: 28px;
    stroke: var(--navy-light);
    margin-bottom: 4px;
}

.attach-prompt span {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
}

.attach-prompt small {
    font-size: 0.75rem;
    opacity: 0.7;
}

.attach-prompt:hover {
    color: var(--red);
}

.attach-prompt:hover svg {
    stroke: var(--red);
}

.attach-preview {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.attach-thumb {
    position: relative;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: var(--cream);
}

.attach-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attach-thumb-video {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--navy-light);
    background: var(--cream);
}

.attach-thumb-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 4px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attach-thumb-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: var(--red);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.attach-thumb-remove:hover {
    background: var(--navy);
}

/* Submit Button */
.btn-submit-review {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    background: var(--red);
    color: var(--white);
    border: none;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-submit-review:hover {
    background: var(--navy);
}

/* Success State */
.form-success {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-success.visible {
    opacity: 1;
    transform: translateY(0);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #22c55e;
    color: var(--white);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    border-radius: 50%;
}

.form-success h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.form-success p {
    color: var(--navy-light);
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
}

.btn-back-reviews {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-back-reviews:hover {
    background: var(--red);
}

/* Write Review — Dark Theme */
[data-theme="dark"] .write-review-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .review-login-gate {
    border-color: var(--border-color);
}

[data-theme="dark"] .login-gate-icon {
    background: var(--bg-card);
}

[data-theme="dark"] .login-gate-icon svg {
    stroke: var(--text-primary);
}

[data-theme="dark"] .review-login-gate h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .review-login-gate p {
    color: var(--text-secondary);
}

[data-theme="dark"] .review-user-info {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .review-user-avatar {
    background: var(--bg-elevated, #374151);
}

[data-theme="dark"] .review-user-details strong {
    color: var(--text-primary);
}

[data-theme="dark"] .review-user-details span {
    color: var(--text-secondary);
}

[data-theme="dark"] .form-group label {
    color: var(--text-primary);
}

[data-theme="dark"] .label-optional {
    color: var(--text-secondary);
}

[data-theme="dark"] .form-group input[type="text"],
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
    background: var(--bg-card);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='2'/%3E%3C/svg%3E");
}

[data-theme="dark"] .form-group input[type="text"]:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
    border-color: var(--red);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: var(--text-muted, rgba(255, 255, 255, 0.3));
}

[data-theme="dark"] .form-hint {
    color: var(--text-secondary);
}

[data-theme="dark"] .star-option {
    color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .attach-zone {
    border-color: var(--border-color);
}

[data-theme="dark"] .attach-zone.dragover {
    border-color: var(--red);
    background: rgba(220, 38, 38, 0.08);
}

[data-theme="dark"] .attach-prompt {
    color: var(--text-secondary);
}

[data-theme="dark"] .attach-prompt svg {
    stroke: var(--text-secondary);
}

[data-theme="dark"] .attach-thumb {
    border-color: var(--border-color);
    background: var(--bg-card);
}

[data-theme="dark"] .attach-thumb-video {
    background: var(--bg-card);
    color: var(--text-secondary);
}

[data-theme="dark"] .form-success h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .form-success p {
    color: var(--text-secondary);
}

/* Write Review — Responsive */
@media (max-width: 768px) {
    .write-review-section {
        padding: var(--space-2xl) var(--space-md);
    }

    .star-option {
        font-size: 2.5rem;
    }

    .btn-submit-review {
        width: 100%;
        justify-content: center;
    }

    .attach-thumb {
        width: 70px;
        height: 70px;
    }
}

/* ============================================
   INSTRUKCJE V2 — REDESIGNED
   ============================================ */

.v2-instructions {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.v2-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ---------- Device Bar ---------- */

.v2-device-bar {
    margin-bottom: var(--space-xl);
}

.v2-signal-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: var(--space-sm);
}

.v2-signal-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    display: inline-block;
    animation: v2-blink 2s ease-in-out infinite;
}

@keyframes v2-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.v2-tabs {
    display: flex;
    gap: 0;
    border: 1px solid #333;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.v2-tabs::-webkit-scrollbar { display: none; }

.v2-tab {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-right: 1px solid #333;
    color: #888;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.v2-tab:last-child { border-right: none; }

.v2-tab svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.v2-tab:hover {
    color: #ccc;
    background: rgba(255, 255, 255, 0.03);
}

.v2-tab:hover svg { opacity: 0.8; }

.v2-tab.active {
    color: #fff;
    background: rgba(230, 57, 70, 0.08);
    border-bottom: 2px solid var(--red);
}

.v2-tab.active svg {
    opacity: 1;
    color: var(--red);
}

/* ---------- Panels ---------- */

.v2-panel {
    display: none;
    animation: v2-fadeIn 0.3s ease;
}

.v2-panel.active { display: block; }

.v2-panel.v2-switching {
    display: block;
    opacity: 0;
    filter: brightness(3) contrast(0);
}

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

/* ---------- Panel Header (Windows/Mac) ---------- */

.v2-panel-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    border: 1px solid #333;
    background: linear-gradient(180deg, #1f1f1f 0%, #141414 100%);
}

.v2-panel-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* ---------- Video Block ---------- */

.v2-video-block {
    border: 1px solid #333;
    background: #0a0a0a;
    margin-bottom: var(--space-xl);
}

.v2-video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-bottom: 1px solid #333;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
}

.v2-rec {
    color: var(--red);
    animation: v2-blink 1.5s ease-in-out infinite;
    font-weight: 700;
}

.v2-video-title {
    color: #ccc;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.v2-timecode {
    color: #666;
    font-variant-numeric: tabular-nums;
}

.v2-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

.v2-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.v2-scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
}

.v2-video-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-top: 1px solid #333;
    background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    color: #555;
}

.v2-video-footer span:first-child {
    color: #4CAF50;
    font-weight: 700;
}

.v2-tracking-bar {
    flex: 1;
    height: 3px;
    background: #333;
    position: relative;
    overflow: hidden;
}

.v2-tracking-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, var(--red), var(--red) 90%, transparent);
}

/* ---------- Steps ---------- */

.v2-steps {
    padding: 0;
}

.v2-steps-label {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(230, 57, 70, 0.2);
}

.v2-step {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid #222;
    transition: background 0.2s;
}

.v2-step:last-child { border-bottom: none; }

.v2-step:hover {
    background: rgba(255, 255, 255, 0.01);
}

.v2-step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #555;
    border: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
}

.v2-step--done .v2-step-num {
    background: rgba(230, 57, 70, 0.1);
    border-color: var(--red);
    color: var(--red);
}

.v2-step-body h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.v2-step-body p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #aaa;
    margin: 0;
    line-height: 1.6;
}

.v2-step-body strong {
    color: #ddd;
}

/* ---------- URL Badge ---------- */

.v2-url-badge {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    margin-top: 12px;
    border: 2px solid #333;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.v2-url-label {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: var(--red);
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.v2-url-badge code {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.02em;
}

.v2-copy-btn {
    padding: 0 12px;
    background: transparent;
    border: none;
    border-left: 1px solid #333;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.v2-copy-btn:hover { color: var(--red); background: rgba(230, 57, 70, 0.05); }

.v2-copy-btn.copied { color: #4CAF50; }

/* ---------- Tip ---------- */

.v2-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid #555;
    font-size: 0.95rem;
    color: #888;
    line-height: 1.5;
}

.v2-tip svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #666;
}

/* ---------- Phone Note ---------- */

.v2-note {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    border: 1px solid #333;
    background: linear-gradient(180deg, #1f1f1f 0%, #141414 100%);
}

.v2-note-icon {
    flex-shrink: 0;
    color: var(--red);
}

.v2-note-text strong {
    font-family: var(--font-display);
    font-size: 1rem;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.v2-note-text p {
    font-size: 1rem;
    color: #aaa;
    margin: 0;
    line-height: 1.5;
}

.v2-note-text a {
    color: var(--red);
    text-decoration: underline;
}

/* ---------- V2 Help Section ---------- */

.v2-help {
    padding: var(--space-2xl) 0 var(--space-3xl);
    border-top: 1px solid #222;
}

.v2-help-header {
    margin-bottom: var(--space-xl);
}

.v2-help-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin: var(--space-sm) 0 0;
}

.v2-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

/* --- Card --- */
.v2-help-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 2px solid #333;
    background: #111;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.v2-help-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.015) 2px,
        rgba(255,255,255,0.015) 4px
    );
    pointer-events: none;
    z-index: 1;
}

.v2-help-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.15), inset 0 0 40px rgba(230, 57, 70, 0.03);
}

/* --- Inner content --- */
.v2-help-card-inner {
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* --- CH badge --- */
.v2-help-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-md);
}

.v2-help-ch {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #555;
    background: rgba(255,255,255,0.04);
    padding: 3px 8px;
    border: 1px solid #333;
}

.v2-help-live {
    font-family: 'Courier New', monospace;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--red);
    animation: v2-blink 1.5s ease-in-out infinite;
}

/* --- Icon --- */
.v2-help-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--red);
    border: 1px solid rgba(230, 57, 70, 0.3);
    background: rgba(230, 57, 70, 0.06);
    transition: all 0.3s;
}

.v2-help-icon svg {
    width: 26px;
    height: 26px;
}

.v2-help-card:hover .v2-help-icon {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

/* --- Text --- */
.v2-help-card-inner h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.v2-help-card-inner p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

.v2-help-phone {
    display: inline-block;
    margin-top: 10px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.03em;
}

/* --- Bottom action bar --- */
.v2-help-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px var(--space-lg);
    background: rgba(230, 57, 70, 0.06);
    border-top: 1px solid #333;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.v2-help-card:hover .v2-help-bar {
    background: rgba(230, 57, 70, 0.12);
    border-color: rgba(230, 57, 70, 0.3);
}

.v2-help-action {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    transition: color 0.3s;
}

.v2-help-card:hover .v2-help-action {
    color: var(--red);
}

.v2-help-arrow {
    font-size: 0.7rem;
    color: #555;
    transition: all 0.3s;
}

.v2-help-card:hover .v2-help-arrow {
    color: var(--red);
    transform: translateX(3px);
}

/* ---------- Light Theme ---------- */

[data-theme="light"] .v2-help { border-color: #ddd; }
[data-theme="light"] .v2-help-header h2 { color: var(--navy); }
[data-theme="light"] .v2-help-card { background: var(--white); border-color: var(--navy); }
[data-theme="light"] .v2-help-card:hover { border-color: var(--red); box-shadow: 0 8px 30px rgba(230, 57, 70, 0.1); }
[data-theme="light"] .v2-help-card::before { background: none; }
[data-theme="light"] .v2-help-ch { color: var(--navy-light); border-color: var(--navy); background: rgba(29,53,87,0.04); }
[data-theme="light"] .v2-help-icon { border-color: rgba(230,57,70,0.2); background: rgba(230,57,70,0.04); }
[data-theme="light"] .v2-help-card:hover .v2-help-icon { background: var(--red); border-color: var(--red); color: #fff; }
[data-theme="light"] .v2-help-card-inner h3 { color: var(--navy); }
[data-theme="light"] .v2-help-card-inner p { color: var(--navy-light); }
[data-theme="light"] .v2-help-bar { background: rgba(29,53,87,0.03); border-color: var(--navy); }
[data-theme="light"] .v2-help-card:hover .v2-help-bar { background: rgba(230,57,70,0.06); border-color: rgba(230,57,70,0.2); }
[data-theme="light"] .v2-help-action { color: var(--navy-light); }
[data-theme="light"] .v2-help-arrow { color: var(--navy-light); }

[data-theme="light"] .v2-tabs { border-color: var(--navy); }
[data-theme="light"] .v2-tab { color: var(--navy-light); border-color: var(--navy); }
[data-theme="light"] .v2-tab:hover { color: var(--navy); background: rgba(29, 53, 87, 0.03); }
[data-theme="light"] .v2-tab.active { color: var(--navy); background: rgba(230, 57, 70, 0.05); border-bottom-color: var(--red); }
[data-theme="light"] .v2-tab.active svg { color: var(--red); }

[data-theme="light"] .v2-video-block { border-color: var(--navy); background: #f5f5f5; }
[data-theme="light"] .v2-video-header { background: linear-gradient(180deg, #eee 0%, #ddd 100%); border-color: var(--navy); }
[data-theme="light"] .v2-video-title { color: var(--navy); }
[data-theme="light"] .v2-timecode { color: var(--navy-light); }
[data-theme="light"] .v2-video-footer { background: linear-gradient(180deg, #e8e8e8 0%, #ddd 100%); border-color: var(--navy); color: var(--navy-light); }

[data-theme="light"] .v2-panel-header { background: var(--white); border-color: var(--navy); }
[data-theme="light"] .v2-panel-header h3 { color: var(--navy); }

[data-theme="light"] .v2-step { border-color: #ddd; }
[data-theme="light"] .v2-step-num { border-color: var(--navy); color: var(--navy-light); background: rgba(29, 53, 87, 0.03); }
[data-theme="light"] .v2-step--done .v2-step-num { border-color: var(--red); color: var(--red); background: rgba(230, 57, 70, 0.05); }
[data-theme="light"] .v2-step-body h4 { color: var(--navy); }
[data-theme="light"] .v2-step-body p { color: var(--navy-light); }
[data-theme="light"] .v2-step-body strong { color: var(--navy); }

[data-theme="light"] .v2-url-badge { border-color: var(--navy); background: rgba(29, 53, 87, 0.03); }
[data-theme="light"] .v2-copy-btn { border-color: var(--navy); color: var(--navy-light); }

[data-theme="light"] .v2-tip { background: rgba(29, 53, 87, 0.03); border-color: var(--navy-light); color: var(--navy-light); }
[data-theme="light"] .v2-tip svg { color: var(--navy-light); }

[data-theme="light"] .v2-note { border-color: var(--navy); background: var(--white); }
[data-theme="light"] .v2-note-text strong { color: var(--navy); }
[data-theme="light"] .v2-note-text p { color: var(--navy-light); }

[data-theme="light"] .v2-signal-label { color: var(--navy-light); }

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .v2-container {
        padding: 0 var(--space-md);
    }

    .v2-video-title {
        display: none;
    }

    .v2-panel-header h3 {
        font-size: 0.95rem;
    }

    .v2-help-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .v2-help-card-inner {
        flex-direction: row;
        align-items: center;
        gap: var(--space-md);
        padding: var(--space-md);
    }

    .v2-help-badge { display: none; }
    .v2-help-icon { margin-bottom: 0; }

    .v2-help-card-inner h3 { font-size: 1rem; }
    .v2-help-card-inner p { display: none; }
    .v2-help-phone { display: none; }

    .v2-help-bar {
        padding: 8px var(--space-md);
    }
}

@media (max-width: 600px) {
    .v2-instructions {
        padding: var(--space-xl) 0 var(--space-2xl);
    }

    .v2-container {
        padding: 0 var(--space-sm);
    }

    .v2-tab {
        padding: 10px 12px;
        font-size: 0.6rem;
        gap: 5px;
    }

    .v2-tab svg {
        width: 16px;
        height: 16px;
    }

    .v2-tab span {
        display: none;
    }

    .v2-tab.active span {
        display: inline;
    }

    .v2-video-header {
        padding: 8px 12px;
        font-size: 0.6rem;
    }

    .v2-video-footer {
        padding: 6px 12px;
        font-size: 0.55rem;
    }

    .v2-step {
        gap: var(--space-sm);
        padding: var(--space-sm) 0;
    }

    .v2-step-num {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .v2-step-body h4 {
        font-size: 0.8rem;
    }

    .v2-step-body p {
        font-size: 0.82rem;
    }

    .v2-url-badge {
        flex-wrap: wrap;
    }

    .v2-url-badge code {
        font-size: 0.7rem;
        padding: 6px 8px;
    }

    .v2-tip {
        font-size: 0.75rem;
    }

    .v2-note {
        padding: var(--space-sm);
        gap: var(--space-sm);
    }

    .v2-note-text strong { font-size: 0.75rem; }
    .v2-note-text p { font-size: 0.8rem; }

    .v2-panel-header {
        padding: var(--space-md);
        gap: var(--space-sm);
    }

    .v2-panel-header h3 {
        font-size: 0.85rem;
    }

    .v2-panel-header svg {
        width: 22px !important;
        height: 22px !important;
    }

    .v2-help {
        padding: var(--space-xl) 0 var(--space-2xl);
    }

    .v2-help-card-inner {
        padding: var(--space-sm);
        gap: var(--space-sm);
    }

    .v2-help-icon {
        width: 40px;
        height: 40px;
    }

    .v2-help-icon svg {
        width: 20px;
        height: 20px;
    }

    .v2-help-card-inner h3 { font-size: 0.9rem; }

    .v2-help-bar {
        padding: 8px var(--space-sm);
    }

    .v2-help-action { font-size: 0.7rem; }
}

