/* ===== CSS CUSTOM PROPERTIES ===== */
:root { --transition-speed: 0.3s; }

[data-theme="dark"] {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-card: #2a2a3d;
    --bg-card-hover: #353550;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d0;
    --text-muted: #8888a8;
    --border-color: #3a3a55;
    --accent: #4488ff;
    --accent-glow: rgba(68, 136, 255, 0.3);
    --hero-overlay: rgba(26, 26, 46, 0.3);
    --shadow: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
    --bg-primary: #f0f2f5;
    --bg-secondary: #e8eaed;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f8fa;
    --text-primary: #1a1a2e;
    --text-secondary: #555566;
    --text-muted: #888899;
    --border-color: #dddde5;
    --accent: #3366dd;
    --accent-glow: rgba(51, 102, 221, 0.2);
    --hero-overlay: rgba(240, 242, 245, 0.15);
    --shadow: rgba(0, 0, 0, 0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    transition: background var(--transition-speed), color var(--transition-speed);
    overflow-x: hidden;
}
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(68, 136, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(160, 68, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(68, 200, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===== ANNOUNCEMENT BANNER ===== */
.announcement-banner {
    background: linear-gradient(135deg, var(--accent), #6644cc);
    color: #fff;
    text-align: center;
    padding: 10px 36px 10px 20px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 10;
    display: none;
}
.announcement-banner.active { display: block; }
.announcement-banner a { color: #fff; text-decoration: underline; font-weight: 600; }
.announcement-close {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; color: #fff;
    font-size: 18px; cursor: pointer;
    opacity: 0.7; padding: 4px 8px;
}
.announcement-close:hover { opacity: 1; }

/* ===== THEME / SHARE TOGGLES ===== */
.theme-toggle, .share-toggle {
    position: fixed; right: 16px; z-index: 100;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 12px var(--shadow);
    backdrop-filter: blur(10px);
}
.theme-toggle { top: 16px; }
.share-toggle { top: 70px; }
.theme-toggle:hover, .share-toggle:hover {
    transform: scale(1.1);
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.theme-toggle svg, .share-toggle svg {
    width: 20px; height: 20px;
    fill: var(--text-primary);
}
.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }
[data-theme="light"] .theme-toggle .sun-icon { display: block; }
[data-theme="light"] .theme-toggle .moon-icon { display: none; }

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    position: relative;
}
.modal h3 { font-size: 20px; margin-bottom: 24px; color: var(--text-primary); }
.modal-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none;
    color: var(--text-muted); font-size: 24px; cursor: pointer;
}

/* Share grid */
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.share-btn {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 12px; border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    text-decoration: none; font-size: 12px;
    transition: transform 0.2s, background 0.2s;
    cursor: pointer; border: none;
}
.share-btn:hover { transform: translateY(-2px); background: var(--bg-card-hover); }
.share-btn svg { width: 28px; height: 28px; }
.qr-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.qr-section canvas { margin: 12px auto; display: block; border-radius: 8px; }
.qr-label { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* Contact form */
.contact-form { text-align: left; }
.contact-form label {
    display: block; font-size: 13px; font-weight: 500;
    color: var(--text-secondary); margin-bottom: 6px; margin-top: 14px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}
.contact-form button:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.contact-form button:disabled { opacity: 0.5; cursor: not-allowed; }
.form-status { margin-top: 12px; font-size: 13px; min-height: 18px; }
.form-status.ok { color: #4caf50; }
.form-status.err { color: #ff6b6b; }

/* ===== HERO ===== */
.hero-bg {
    width: 100%; height: 280px;
    background: url('images/hero-bg.jpg') center center / cover no-repeat;
    position: relative; z-index: 1;
}
.hero-bg::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

/* ===== PROFILE ===== */
.profile-card {
    max-width: 680px;
    margin: -100px auto 0;
    padding: 0 20px;
    text-align: center;
    position: relative; z-index: 2;
}
.avatar-wrapper { position: relative; display: inline-block; margin-bottom: 16px; }
.avatar-wrapper::before {
    content: '';
    position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    background: conic-gradient(#ff6b6b, #feca57, #48dbfb, #ff9ff3, #54a0ff, #5f27cd, #ff6b6b);
    animation: spin-border 4s linear infinite;
    z-index: -1;
}
@keyframes spin-border { to { transform: rotate(360deg); } }
.avatar {
    width: 180px; height: 180px;
    border-radius: 50%; object-fit: cover;
    border: 4px solid var(--bg-primary);
    display: block;
}
.profile-name { font-size: 28px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.location {
    font-size: 14px; color: var(--text-secondary); margin-bottom: 12px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.location svg { width: 14px; height: 14px; fill: var(--text-secondary); }
.bio { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 20px; }

.email-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px;
    border: 1.5px solid var(--border-color);
    border-radius: 24px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: all var(--transition-speed);
    margin-bottom: 24px;
    background: none; cursor: pointer;
    font-family: inherit;
}
.email-btn:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.email-btn svg { width: 18px; height: 18px; fill: var(--text-primary); }

.social-icons { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; }
.social-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.social-icon:hover { transform: scale(1.15) translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,0.3); filter: brightness(1.1); }
.social-icon svg { width: 22px; height: 22px; }
.social-youtube { background: #FF0000; }
.social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-facebook { background: #1877F2; }
.social-tiktok { background: #111; position: relative; }
.social-tiktok::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    box-shadow: inset 1px 1px 0 #25F4EE, inset -1px -1px 0 #FE2C55;
    pointer-events: none;
}
.social-website { background: linear-gradient(135deg, #6C38FF, #9a66ff); }

/* ===== CONTENT AREA ===== */
.content { max-width: 680px; margin: 0 auto; padding: 0 20px 60px; position: relative; z-index: 1; }

.section-title {
    font-size: 22px; font-weight: 600; text-align: center;
    margin: 40px 0 20px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.section-title svg { width: 24px; height: 24px; fill: var(--accent); flex-shrink: 0; }

.divider-line { border: none; height: 2px; background: var(--border-color); margin: 30px 0; }
.divider-line.blue { background: linear-gradient(90deg, transparent, var(--accent), transparent); }

/* ===== VIDEO GRID ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
.video-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid transparent;
    display: flex; flex-direction: column;
}
.video-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px var(--accent-glow);
}
.video-thumb {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
    overflow: hidden;
}
.video-thumb img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.video-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.4) 100%);
    opacity: 0; transition: opacity 0.3s;
}
.video-card:hover .video-thumb::after { opacity: 1; }
.video-thumb .play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.video-thumb .play-overlay svg {
    width: 54px; height: 54px;
    fill: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
    opacity: 0.9;
    transition: transform 0.3s;
}
.video-card:hover .play-overlay svg { transform: scale(1.15); }
.video-info { padding: 12px 14px; }
.video-title {
    font-size: 14px; font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-date { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== LINK ITEMS ===== */
.link-item {
    display: flex; align-items: center;
    background: var(--bg-card);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    margin-bottom: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    min-height: 70px;
    border: 1px solid transparent;
    position: relative;
}
.link-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px var(--accent-glow), 0 4px 12px var(--shadow);
}
.link-icon {
    width: 70px; height: 70px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; border-radius: 12px 0 0 12px;
}
.link-icon img { width: 100%; height: 100%; object-fit: cover; }
.link-icon.branded { padding: 14px; }
.link-icon.branded img { object-fit: contain; }
.link-text { flex: 1; padding: 12px 16px; min-width: 0; }
.link-title { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.link-subtitle { font-size: 12px; color: var(--text-muted); }
.link-arrow { padding: 0 16px; flex-shrink: 0; color: var(--text-muted); font-size: 18px; transition: transform 0.3s, color 0.3s; }
.link-item:hover .link-arrow { transform: translateX(3px); color: var(--accent); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-2 .link-item { margin-bottom: 0; }

.products-intro {
    max-width: 640px;
    margin: -4px auto 22px;
    padding: 0 4px;
    text-align: center;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-secondary);
}

/* ===== SHOWS (WHERE AM I NEXT) ===== */
.shows-list { display: flex; flex-direction: column; gap: 10px; }
.show-item {
    display: flex; align-items: stretch;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s, transform 0.2s;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
}
.show-logo-bg {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.9;
    pointer-events: none;
    filter: saturate(1.1);
}
.show-info { position: relative; z-index: 1; }
.show-item:hover { border-color: var(--accent); transform: translateX(2px); }
.show-date-box {
    flex-shrink: 0;
    width: 78px;
    background: linear-gradient(135deg, var(--accent), #6644cc);
    color: #fff;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 12px 8px;
    text-align: center;
}
.show-date-day { font-size: 24px; font-weight: 700; line-height: 1; }
.show-date-month { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; opacity: 0.9; }
.show-date-year { font-size: 10px; opacity: 0.75; margin-top: 2px; }
.show-info { padding: 12px 16px 12px 16px; padding-right: 100px; flex: 1; min-width: 0; }
.show-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.show-venue { font-size: 13px; color: var(--text-secondary); }
.show-promo {
    font-size: 11px;
    color: var(--accent);
    margin-top: 6px;
    font-weight: 500;
}
.shows-empty {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 14px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px dashed var(--border-color);
}

/* ===== BOOK PROMO ===== */
.book-promo {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 14px;
}
.book-promo-top { display: flex; gap: 18px; padding: 20px; align-items: center; }
.book-cover {
    flex-shrink: 0;
    width: 150px;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    border-radius: 4px;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}
.book-copy { flex: 1; min-width: 0; }
.book-title-lg { font-size: 18px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.book-subtitle { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
.book-cta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 18px;
    background: var(--accent);
    color: #fff;
    border-radius: 24px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}
.book-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }

.reviews-strip {
    border-top: 1px solid var(--border-color);
    padding: 16px 20px;
    background: var(--bg-primary);
}
.reviews-header {
    display: flex; align-items: center; justify-content: flex-end;
    font-size: 12px; color: var(--text-muted); margin-bottom: 10px;
}
.review-item {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding: 10px 0;
    border-top: 1px dashed var(--border-color);
}
.review-item:first-of-type { border-top: none; padding-top: 0; }
.review-stars {
    color: #feca57;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 4px;
}
.review-text { font-style: italic; }
.review-author { font-style: normal; font-size: 11px; color: var(--text-muted); margin-top: 4px; display: block; }
.review-date { opacity: 0.75; margin-left: 4px; }
#reviews-list { transition: opacity 0.3s ease; }
#reviews-list.reviews-fading { opacity: 0; }

/* ===== LEAD MAGNET ===== */
.lead-magnet {
    background: linear-gradient(135deg, rgba(68, 136, 255, 0.1), rgba(160, 68, 255, 0.08));
    border: 1px solid var(--accent);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}
.lead-magnet h3 { font-size: 18px; margin-bottom: 8px; }
.lead-magnet p { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.5; }
.lead-magnet-form { display: flex; flex-direction: column; gap: 10px; max-width: 340px; margin: 0 auto; }
.lead-magnet-form input {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}
.lead-magnet-form button {
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

/* ===== BIG CTA BUTTONS (FAQ / CONTACT) ===== */
.big-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.big-cta {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    padding: 22px 16px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-family: inherit;
}
.big-cta:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}
.big-cta svg { width: 28px; height: 28px; fill: var(--accent); }
.big-cta-subtitle { font-size: 12px; color: var(--text-muted); font-weight: 400; }

/* ===== FADE-IN ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.grid-2 .fade-in:nth-child(2), .video-grid .fade-in:nth-child(2) { transition-delay: 0.05s; }
.grid-2 .fade-in:nth-child(3), .video-grid .fade-in:nth-child(3) { transition-delay: 0.1s; }
.grid-2 .fade-in:nth-child(4), .video-grid .fade-in:nth-child(4) { transition-delay: 0.15s; }
.grid-2 .fade-in:nth-child(5), .video-grid .fade-in:nth-child(5) { transition-delay: 0.2s; }
.grid-2 .fade-in:nth-child(6) { transition-delay: 0.25s; }
.grid-2 .fade-in:nth-child(7) { transition-delay: 0.3s; }
.grid-2 .fade-in:nth-child(8) { transition-delay: 0.35s; }

/* ===== LOADING SKELETON ===== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-card-hover) 50%, var(--bg-card) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 12px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .hero-bg { height: 200px; }
    .profile-card { margin-top: -80px; }
    .avatar { width: 140px; height: 140px; }
    .profile-name { font-size: 22px; }
    .grid-2 { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 18px; }
    .link-title { font-size: 13px; }
    .theme-toggle { top: 10px; right: 10px; width: 38px; height: 38px; }
    .share-toggle { top: 58px; right: 10px; width: 38px; height: 38px; }
    .modal { padding: 24px; }
    .book-promo-top { flex-direction: column; text-align: center; }
    .book-cover { width: 200px; max-height: 220px; }
    .big-cta-row { grid-template-columns: 1fr; }
}
