/* ═══════════════════════════════════════════════════════════
   Dhanroop Productions — Responsive Design System
   Breakpoints: 1024px (tablet landscape), 768px (tablet portrait), 480px (phone)
   ═══════════════════════════════════════════════════════════ */

:root {
    --bg-color: #e4e1db;
    --text-color: #1a1a1a;
    --vignette-color: rgba(60, 120, 255, 0.15);
    --menu-bg-color: #050505;
    --menu-text-color: #f0f0f0;
    --accent-color: rgba(60, 120, 255, 0.6);
    --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.6s var(--transition-smooth), color 0.6s var(--transition-smooth);
}

/* Subtle blue vignette around the edges */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 100px 20px var(--vignette-color);
    pointer-events: none;
    z-index: 10;
}

/* ── HEADER ────────────────────────────────────────────────── */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    position: relative;
    z-index: 50; /* Above the overlay menu */
}


.logo {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    color: var(--text-color);
    z-index: 50;
    transition: color 0.3s ease, font-size 0.3s ease;
    white-space: nowrap;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 30px;
    z-index: 50;
    flex-shrink: 0;
    /* Touch-friendly tap area */
    padding: 8px;
    margin: -8px;
}

.hamburger span {
    display: block;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.4s var(--transition-smooth);
}

.hamburger span:nth-child(1) { width: 100%; }
.hamburger span:nth-child(2) { width: 80%; }
.hamburger span:nth-child(3) { width: 100%; }

/* ── Menu Open State ────────────────────────────────────────── */
body.menu-open {
    color: var(--menu-text-color);
    overflow: hidden; /* Prevent scroll when menu is open */
}
body.menu-open .hamburger span {
    background-color: var(--menu-text-color);
}

body.menu-open .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
body.menu-open .hamburger span:nth-child(2) {
    opacity: 0;
}
body.menu-open .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    width: 100%;
}

body.menu-open .logo {
    color: var(--menu-text-color);
}

/* ── MENU OVERLAY ──────────────────────────────────────────── */
.menu-overlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 35vh;
    background-color: var(--menu-bg-color);
    z-index: 40;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 3rem;
    transition: top 0.7s var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

body.menu-open .menu-overlay {
    top: 0;
}

.menu-overlay nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 2rem;
}

.menu-overlay nav a {
    text-decoration: none;
    color: var(--menu-text-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s ease, font-size 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.menu-overlay nav a:hover,
.menu-overlay nav a.active {
    opacity: 1;
    font-style: italic;
    font-size: 1.6rem;
}

/* ── MAIN CONTENT ──────────────────────────────────────────── */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
    padding: 2rem 1.5rem;
    width: 100%;
}

/* ── HOME PAGE — Strips Grid ──────────────────────────────── */
.strips-container {
    display: flex;
    gap: 10px;
    height: 50vh;
    margin-bottom: 3rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
}

.strip {
    width: 160px;
    height: 100%;
    background-color: rgba(0,0,0,0.05);
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.6s var(--transition-smooth);
    transform-origin: center center;
    will-change: transform, filter;
    flex-shrink: 0;
    border-radius: 4px;
}

/* Strip Background Images */
.strip:nth-child(1) { background-image: url('../images/image1.jpeg'); }
.strip:nth-child(2) { background-image: url('../images/image2.jpeg'); }


/* Expand any strip on hover only */
.strip:hover {
    width: 320px;
    filter: grayscale(0%) opacity(1);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Staggered effect */
.strip:nth-child(odd) { transform: translateY(-20px); }
.strip:nth-child(odd):hover,
.strip:nth-child(odd).active { transform: translateY(-20px); }

.strip:nth-child(even) { transform: translateY(20px); }
.strip:nth-child(even):hover,
.strip:nth-child(even).active { transform: translateY(20px); }

/* ── TEXT CONTENT ──────────────────────────────────────────── */
.featured-text {
    text-align: center;
    margin-top: 1.5rem;
    padding: 0 1.5rem;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.featured-text.fade-out {
    opacity: 0;
    transform: translateY(15px);
}

.featured-text h1,
.featured-text .strip-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0.5rem 0;
}

.featured-text p,
.featured-text .strip-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.featured-text .strip-desc {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.95;
    margin-top: 0.5rem;
}

/* Audio Wave Visualizer Indicator */
.audio-wave {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 16px;
    margin: 1.2rem auto 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    width: max-content;
}

.audio-wave.playing {
    opacity: 0.8;
}

.audio-wave span {
    display: block;
    width: 2px;
    height: 100%;
    background-color: var(--text-color);
    transform-origin: bottom;
    animation: bounce-wave 0.8s ease-in-out infinite alternate;
}

.audio-wave span:nth-child(1) { animation-duration: 0.8s; }
.audio-wave span:nth-child(2) { animation-duration: 0.6s; animation-delay: 0.15s; }
.audio-wave span:nth-child(3) { animation-duration: 0.7s; animation-delay: 0.3s; }
.audio-wave span:nth-child(4) { animation-duration: 0.5s; animation-delay: 0.1s; }

@keyframes bounce-wave {
    0% { transform: scaleY(0.25); }
    100% { transform: scaleY(1); }
}

/* ── INNER PAGES ───────────────────────────────────────────── */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1.5rem;
}
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 400;
    letter-spacing: 2px;
}
.page-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    line-height: 1.6;
    text-align: center;
    padding: 0 1.5rem;
    width: 100%;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin: 1rem 0 0.5rem;
}

.page-content p {
    margin-bottom: 1rem;
}

/* ── SITE FOOTER ──────────────────────────────────────────── */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 3rem;
    position: relative;
    z-index: 20;
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,0.08);
}

/* ── Social Icons ──────────────────────────────────────────── */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 0.4rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.12);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.footer-socials a:hover {
    opacity: 1;
    border-color: rgba(0,0,0,0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.footer-socials a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-dot {
    color: var(--text-color);
    opacity: 0.4;
    font-size: 0.9rem;
}

.footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--text-color);
    opacity: 0.5;
    margin: 0;
}

/* ── Swipe Dot Indicators ─────────────────────────────────── */
.swipe-dots {
    display: none; /* Hidden on desktop, shown on mobile */
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 1.2rem;
}

.swipe-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-color);
    opacity: 0.2;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    border: none;
    padding: 0;
}

.swipe-dot.active {
    opacity: 0.8;
    width: 24px;
    border-radius: 4px;
}

/* ── POLICY PAGES ─────────────────────────────────────────── */
.policy-page {
    text-align: left !important;
    max-width: 750px;
}

.policy-page h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.policy-page p,
.policy-page li {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.85;
}

.policy-page ul {
    padding-left: 1.5rem;
    margin: 0.5rem 0 1rem;
}

.policy-page li {
    margin-bottom: 0.4rem;
}

.policy-page strong {
    font-weight: 600;
}

.policy-page .last-updated {
    font-size: 0.8rem;
    opacity: 0.5;
    font-style: italic;
    margin-bottom: 2rem;
}

/* ── CONTACT FORM ─────────────────────────────────────────── */
.contact-form {
    max-width: 550px;
    margin: 2rem auto 0;
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: 1.2rem;
}

.contact-form label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    color: var(--text-color);
    opacity: 0.7;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    background: rgba(255,255,255,0.5);
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(0,0,0,0.35);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid var(--text-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    margin-top: 0.5rem;
}

.contact-form button:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* ── NAV POLICY LINKS ─────────────────────────────────────── */
.nav-policy-link {
    font-size: 0.85em !important;
    opacity: 0.6;
}

.nav-policy-link:hover {
    opacity: 1;
}


/* ── AUTH PAGES — Login / Register / Renew ─────────────── */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 60vh;
    padding: 2rem 1.5rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 4px rgba(0, 0, 0, 0.04);
}

.auth-card-wide {
    max-width: 500px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.auth-header p {
    font-size: 0.9rem;
    color: rgba(26, 26, 26, 0.6);
    letter-spacing: 0.5px;
}

/* ── Auth Form ─────────────────────────────────────────── */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.auth-field label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.5);
}

.auth-field input {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-color);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.auth-field input:focus {
    border-color: rgba(60, 120, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(60, 120, 255, 0.1);
}

.auth-field input::placeholder {
    color: rgba(26, 26, 26, 0.3);
}

.auth-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ── Auth Button ───────────────────────────────────────── */
.auth-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.95rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: var(--text-color);
    color: #fff;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: 100%;
    margin-top: 0.5rem;
}

.auth-btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-btn-pay {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    font-size: 0.9rem;
    padding: 1.1rem 2rem;
    letter-spacing: 0.08em;
}

.auth-btn-pay:hover {
    background: linear-gradient(135deg, #333 0%, #555 100%);
}

/* ── Auth Footer ───────────────────────────────────────── */
.auth-footer {
    text-align: center;
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.auth-footer p {
    font-size: 0.88rem;
    color: rgba(26, 26, 26, 0.5);
}

.auth-footer a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(26, 26, 26, 0.2);
    transition: border-color 0.2s;
}

.auth-footer a:hover {
    border-color: var(--text-color);
}

.auth-secure {
    font-size: 0.78rem !important;
    margin-top: 0.8rem;
    opacity: 0.7;
}

/* ── Alerts ────────────────────────────────────────────── */
.auth-alert {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.auth-alert span {
    font-weight: 700;
    margin-right: 0.3rem;
}

.auth-alert-error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #b91c1c;
}

.auth-alert-success {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #15803d;
}

.auth-alert-warning {
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: #92400e;
}

/* ── Pricing Card ──────────────────────────────────────── */
.auth-pricing {
    background: rgba(26, 26, 26, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    background: var(--text-color);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.1rem;
    margin-bottom: 1.2rem;
}

.pricing-currency {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(26, 26, 26, 0.5);
}

.pricing-value {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
}

.pricing-period {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(26, 26, 26, 0.5);
}

.pricing-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-features li {
    font-size: 0.88rem;
    color: rgba(26, 26, 26, 0.7);
    padding-left: 0.2rem;
}

/* ── Subscription Badge (on actors page) ───────────────── */
.subscription-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    margin-bottom: 1.5rem;
}

.sub-status {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #15803d;
}

.sub-expiry {
    font-size: 0.78rem;
    color: rgba(26, 26, 26, 0.5);
}

/* ── Nav Auth Link ─────────────────────────────────────── */
.nav-divider {
    width: 40px;
    height: 1px;
    background: rgba(240, 240, 240, 0.15);
    margin: 0.5rem auto;
}

.nav-auth-link {
    opacity: 0.5 !important;
    font-size: 1.1rem !important;
    letter-spacing: 2px !important;
}

.nav-auth-link:hover {
    opacity: 0.9 !important;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet Landscape (≤ 1024px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    header {
        padding: 1.5rem 2rem;
    }

    .logo {
        font-size: 2rem;
    }

    .strips-container {
        height: 45vh;
        gap: 8px;
    }

    .strip {
        width: 130px;
    }

    .strip:hover,
    .strip.active {
        width: 260px;
    }

    .strips-container:hover .strip.active:not(:hover) {
        width: 130px;
    }

    .site-footer {
        padding: 1.5rem 2rem;
    }

    .menu-overlay nav ul {
        gap: 2rem;
    }

    .menu-overlay nav a {
        font-size: 1.3rem;
    }

    .menu-overlay nav a:hover,
    .menu-overlay nav a.active {
        font-size: 1.4rem;
    }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet Portrait (≤ 768px)
   Alan Menken–style centered card carousel on touch devices
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    header {
        padding: 1.25rem 1.5rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    /* Menu overlay — full-screen on tablet/phone */
    .menu-overlay {
        height: 100vh;
        height: 100dvh;
        align-items: center;
        padding-bottom: 0;
    }

    .menu-overlay nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.8rem;
    }

    .menu-overlay nav a {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .menu-overlay nav a:hover,
    .menu-overlay nav a.active {
        font-size: 1.8rem;
    }

    /* ── Carousel Mode ─────────────────────────────────────── */
    .strips-container {
        position: relative;
        height: 42vh;
        gap: 0;
        padding: 0;
        overflow: hidden;
        justify-content: center;
        align-items: center;
        margin-bottom: 0.5rem;
        touch-action: pan-y; /* Allow vertical scroll, we handle horizontal */
    }

    .strip {
        position: absolute;
        width: 55vw;
        max-width: 280px;
        height: 85%;
        min-width: unset;
        border-radius: 12px;
        transition: all 0.5s var(--transition-smooth);
        cursor: pointer;
    }

    /* Remove stagger on mobile — flat for carousel */
    .strip:nth-child(odd),
    .strip:nth-child(even) {
        transform: translateX(0) scale(0.8) !important;
    }

    /* Override ALL hover/active base rules in carousel mode */
    .strip:hover,
    .strip:not(.active):hover,
    .strip.active {
        width: 55vw !important;
        max-width: 280px !important;
        filter: grayscale(100%) opacity(0.5) !important;
        box-shadow: none !important;
        z-index: 1 !important;
    }

    .strips-container:hover .strip.active:not(:hover) {
        width: 55vw !important;
        max-width: 280px !important;
    }

    /* ── Carousel Positions via data-carousel-pos (set by JS) ── */
    /* These use !important to override base .strip.active and .strip:hover rules */
    .strip[data-carousel-pos="active"] {
        z-index: 10 !important;
        filter: grayscale(0%) opacity(1) !important;
        transform: translateX(0) scale(1) !important;
        box-shadow: 0 20px 50px rgba(0,0,0,0.25) !important;
    }

    .strip[data-carousel-pos="prev"] {
        z-index: 5 !important;
        filter: grayscale(100%) opacity(0.4) !important;
        transform: translateX(-65%) scale(0.75) !important;
        box-shadow: none !important;
    }

    .strip[data-carousel-pos="next"] {
        z-index: 5 !important;
        filter: grayscale(100%) opacity(0.4) !important;
        transform: translateX(65%) scale(0.75) !important;
        box-shadow: none !important;
    }

    .strip[data-carousel-pos="hidden-left"] {
        z-index: 1 !important;
        filter: grayscale(100%) opacity(0) !important;
        transform: translateX(-130%) scale(0.6) !important;
        pointer-events: none;
    }

    .strip[data-carousel-pos="hidden-right"] {
        z-index: 1 !important;
        filter: grayscale(100%) opacity(0) !important;
        transform: translateX(130%) scale(0.6) !important;
        pointer-events: none;
    }

    /* Show swipe dots */
    .swipe-dots {
        display: flex;
    }

    /* Footer — reorganize for tablet */
    .site-footer {
        padding: 1.5rem;
    }

    .footer-socials a {
        width: 40px;
        height: 40px;
    }

    /* Page content images */
    .page-content img {
        max-width: 100%;
        width: 100%;
    }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Smartphone (≤ 480px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    header {
        padding: 1rem 1rem;
    }

    .logo {
        font-size: 1.3rem;
        letter-spacing: 0;
    }

    .hamburger {
        width: 26px;
        gap: 5px;
    }

    /* Menu overlay — phone optimized */
    .menu-overlay nav ul {
        gap: 1.4rem;
    }

    .menu-overlay nav a {
        font-size: 1.35rem;
    }

    .menu-overlay nav a:hover,
    .menu-overlay nav a.active {
        font-size: 1.5rem;
    }

    /* Carousel — phone sized */
    .strips-container {
        height: 38vh;
        margin-bottom: 0.3rem;
    }

    .strip {
        width: 60vw;
        max-width: 240px;
    }

    .strip:hover {
        width: 60vw;
        max-width: 240px;
    }

    .strips-container:hover .strip.active:not(:hover) {
        width: 60vw;
        max-width: 240px;
    }

    .strip[data-carousel-pos="prev"] {
        transform: translateX(-55%) scale(0.7) !important;
    }

    .strip[data-carousel-pos="next"] {
        transform: translateX(55%) scale(0.7) !important;
    }

    /* Featured text */
    .featured-text {
        padding: 0 1rem;
        margin-top: 0.8rem;
    }

    /* Inner pages */
    .page-header {
        margin-bottom: 1.5rem;
    }

    .page-content {
        padding: 0 1rem;
        line-height: 1.7;
    }

    /* Footer — compact on mobile */
    .site-footer {
        padding: 1.5rem 1rem;
    }

    .footer-links a {
        font-size: 0.7rem;
    }

    .footer-socials {
        gap: 1rem;
    }

    .footer-socials a {
        width: 38px;
        height: 38px;
    }

    /* Vignette — softer on mobile */
    body::before {
        box-shadow: inset 0 0 60px 10px var(--vignette-color);
    }

    main {
        padding: 1.5rem 1rem;
    }

    /* Auth pages — phone */
    .auth-card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    .auth-fields-row {
        grid-template-columns: 1fr;
    }

    .pricing-value {
        font-size: 2.8rem;
    }

    .subscription-badge {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Very Small Screens (≤ 360px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .strips-container {
        height: 32vh;
    }

    .strip {
        width: 65vw;
        max-width: 200px;
    }

    .strip:hover {
        width: 65vw;
        max-width: 200px;
    }

    .strips-container:hover .strip.active:not(:hover) {
        width: 65vw;
        max-width: 200px;
    }

    .menu-overlay nav a {
        font-size: 1.15rem;
    }

    .menu-overlay nav a:hover,
    .menu-overlay nav a.active {
        font-size: 1.3rem;
    }

    .footer-socials a {
        width: 34px;
        height: 34px;
    }

    .footer-socials a svg {
        width: 14px;
        height: 14px;
    }
}


/* ═══════════════════════════════════════════════════════════
   TOUCH / HOVER OPTIMIZATION
   ═══════════════════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
    /* On touch devices, strip sizing is controlled by carousel JS */
    /* Disable hover width changes — tap/swipe only */
    .strip:hover {
        filter: inherit;
        box-shadow: inherit;
    }

    /* Bigger touch targets */
    .hamburger {
        padding: 12px;
        margin: -12px;
    }

    /* Social icons — bigger on touch */
    .footer-socials a {
        width: 42px;
        height: 42px;
    }
}


/* ═══════════════════════════════════════════════════════════
   LANDSCAPE PHONE
   ═══════════════════════════════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) {
    .strips-container {
        height: 55vh;
    }

    .menu-overlay {
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
    }

    .menu-overlay nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.2rem;
        padding: 1rem;
    }

    .menu-overlay nav a {
        font-size: 1rem;
    }

    header {
        padding: 0.75rem 1.5rem;
    }

    .site-footer {
        padding: 0.75rem 1.5rem;
    }

    /* Landscape carousel adjustments */
    .strip {
        height: 80%;
    }
}


/* ═══════════════════════════════════════════════════════════
   iPAD SPECIFIC (768px – 1024px portrait & landscape)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) and (min-height: 900px) {
    /* iPad portrait — taller cards */
    .strips-container {
        height: 38vh;
    }

    .strip {
        max-width: 320px;
        width: 50vw;
    }

    .strip:hover,
    .strip.active {
        max-width: 320px;
        width: 50vw;
    }
}


/* ═══════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════ */
@media print {
    body::before,
    .menu-overlay,
    .hamburger,
    .swipe-dots,
    .footer-socials {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .logo {
        position: relative;
        left: auto;
        transform: none;
        color: #000 !important;
    }
}
