/* ============================================
   SketchSoul - Hyper Realistic Sketch Art
   Fully Animated Single Page Website
   ============================================ */

:root {
    /* Default Theme - Charcoal Graphite */
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --bg-card: #222222;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --accent: #c9a227;
    --accent-hover: #e0b83a;
    --border: #333333;
    --glow: rgba(201, 162, 39, 0.3);
    --cursor-color: #c9a227;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    /* SPEED UP: faster transitions */
    --transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Color Themes for Body Color Change - MORE COLORS */
body.theme-midnight {
    --bg-primary: #0a0a12;
    --bg-secondary: #12121f;
    --bg-card: #1a1a2e;
    --accent: #7b68ee;
    --accent-hover: #9b88ff;
    --glow: rgba(123, 104, 238, 0.3);
    --cursor-color: #7b68ee;
}

body.theme-ember {
    --bg-primary: #120a0a;
    --bg-secondary: #1f1212;
    --bg-card: #2a1a1a;
    --accent: #e85d04;
    --accent-hover: #f48c06;
    --glow: rgba(232, 93, 4, 0.3);
    --cursor-color: #e85d04;
}

body.theme-forest {
    --bg-primary: #0a120a;
    --bg-secondary: #121f12;
    --bg-card: #1a2a1a;
    --accent: #2d6a4f;
    --accent-hover: #40916c;
    --glow: rgba(45, 106, 79, 0.3);
    --cursor-color: #40916c;
}

body.theme-ocean {
    --bg-primary: #0a0f12;
    --bg-secondary: #121a1f;
    --bg-card: #1a252a;
    --accent: #00b4d8;
    --accent-hover: #48cae4;
    --glow: rgba(0, 180, 216, 0.3);
    --cursor-color: #00b4d8;
}

body.theme-rose {
    --bg-primary: #120a10;
    --bg-secondary: #1f1218;
    --bg-card: #2a1a22;
    --accent: #e63980;
    --accent-hover: #ff6b9d;
    --glow: rgba(230, 57, 128, 0.35);
    --cursor-color: #e63980;
}

body.theme-cyber {
    --bg-primary: #050510;
    --bg-secondary: #0a0a1a;
    --bg-card: #12122a;
    --accent: #00f5d4;
    --accent-hover: #00ffc8;
    --glow: rgba(0, 245, 212, 0.35);
    --cursor-color: #00f5d4;
}

body.theme-sunset {
    --bg-primary: #120c08;
    --bg-secondary: #1f1610;
    --bg-card: #2a1e14;
    --accent: #ff9f1c;
    --accent-hover: #ffbf69;
    --glow: rgba(255, 159, 28, 0.35);
    --cursor-color: #ff9f1c;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: auto; /* Safe fallback: custom cursor is enabled only after JavaScript starts */
    transition: background-color 0.8s ease, color 0.5s ease;
    min-height: 100vh;
}

/* Animated Body Background Gradient Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, var(--glow) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, var(--glow) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    animation: bgPulse 4s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.75; transform: scale(1.08); }
}

/* Strong animated custom cursor — desktop only, never blocks clicks */
body.cursor-ready,
body.cursor-ready a,
body.cursor-ready button,
body.cursor-ready [role="button"],
body.cursor-ready .gallery-card,
body.cursor-ready .blog-card,
body.cursor-ready .btn,
body.cursor-ready input[type="button"],
body.cursor-ready input[type="submit"] {
    cursor: none;
}

/* Keep a useful text caret on fields. */
body.cursor-ready input:not([type="button"]):not([type="submit"]),
body.cursor-ready textarea,
body.cursor-ready select,
body.cursor-ready [contenteditable="true"] {
    cursor: text;
}

.cursor,
.cursor-follower,
.cursor-glow {
    position: fixed;
    left: 0;
    top: 0;
    border-radius: 50%;
    pointer-events: none !important;
    opacity: 0;
    transform: translate(-50%, -50%);
    will-change: left, top, width, height, transform, opacity;
}

.cursor {
    width: 14px;
    height: 14px;
    z-index: 2147483647;
    background: #fff;
    border: 2px solid var(--cursor-color);
    box-shadow: 0 0 10px var(--cursor-color), 0 0 22px var(--cursor-color), 0 0 42px var(--cursor-color);
    transition: width .16s ease, height .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease, opacity .2s ease;
}

.cursor-follower {
    width: 46px;
    height: 46px;
    z-index: 2147483646;
    border: 3px solid var(--cursor-color);
    box-shadow: 0 0 14px color-mix(in srgb, var(--cursor-color) 72%, transparent), inset 0 0 12px color-mix(in srgb, var(--cursor-color) 35%, transparent);
    transition: width .2s ease, height .2s ease, border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
    animation: cursorRingPulse 1.35s ease-in-out infinite;
}

.cursor-glow {
    width: 86px;
    height: 86px;
    z-index: 2147483645;
    background: radial-gradient(circle, color-mix(in srgb, var(--cursor-color) 24%, transparent) 0%, transparent 68%);
    filter: blur(2px);
    transition: width .2s ease, height .2s ease, opacity .2s ease;
}

body.cursor-visible .cursor { opacity: 1; }
body.cursor-visible .cursor-follower { opacity: .9; }
body.cursor-visible .cursor-glow { opacity: 1; }

body.cursor-hover .cursor {
    width: 22px;
    height: 22px;
    background: var(--accent);
    border-color: #fff;
    box-shadow: 0 0 14px var(--accent), 0 0 32px var(--accent), 0 0 64px var(--accent);
}
body.cursor-hover .cursor-follower {
    width: 72px;
    height: 72px;
    border-width: 4px;
}
body.cursor-hover .cursor-glow { width: 126px; height: 126px; }

body.cursor-click .cursor { width: 34px; height: 34px; background: transparent; }
body.cursor-click .cursor-follower { width: 28px; height: 28px; }
body.cursor-click .cursor-glow { width: 150px; height: 150px; }

@keyframes cursorRingPulse {
    0%,100% { filter: brightness(1); }
    50% { filter: brightness(1.65); }
}

@media (hover: none), (pointer: coarse), (max-width: 768px) {
    body, body * { cursor: auto; }
    .cursor, .cursor-follower, .cursor-glow { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .cursor-follower { animation: none; }
}

/* Particles Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

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

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent);
    transform: scale(1.05);
}

.logo-icon {
    font-size: 1.6rem;
    animation: pencilWiggle 1.6s ease-in-out infinite;
}

@keyframes pencilWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

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

.color-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.color-toggle:hover {
    background: var(--accent);
    transform: rotate(180deg) scale(1.1);
    border-color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ========== HERO - SPLIT BANNER ========== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 100vh;
}

.hero-left {
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 1.2s ease;
    animation: heroImageFloat 6s ease-in-out infinite alternate;
}

@keyframes heroImageFloat {
    0% { transform: scale(1.05) translateY(0); }
    100% { transform: scale(1.1) translateY(-12px); }
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 40%, var(--bg-primary) 100%);
    z-index: 1;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem 4rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 540px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.15s forwards;
}

/* H1 ZOOM IN ZOOM OUT Animation */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeUp 0.5s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.25s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }

/* THE KEY REQUESTED ANIMATION: h1 zoom in zoom out */
.zoom-text {
    display: inline-block;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: zoomInOut 1.8s ease-in-out infinite !important;
    transform-origin: left center;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
        letter-spacing: 0;
    }
    50% {
        transform: scale(1.12);
        letter-spacing: 3px;
    }
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.65s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: #0d0d0d;
    box-shadow: 0 8px 25px var(--glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.5s ease 0.8s forwards;
}

.stat {
    text-align: left;
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    z-index: 10;
    opacity: 0;
    animation: fadeUp 0.5s ease 1s forwards;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
}

/* ========== ABOUT ========== */
.about {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature:hover {
    transform: translateX(10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.image-frame:hover .about-img {
    transform: scale(1.05);
}

.frame-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    z-index: 2;
    transition: var(--transition);
}

.top-left { top: 15px; left: 15px; border-right: none; border-bottom: none; }
.top-right { top: 15px; right: 15px; border-left: none; border-bottom: none; }
.bottom-left { bottom: 15px; left: 15px; border-right: none; border-top: none; }
.bottom-right { bottom: 15px; right: 15px; border-left: none; border-top: none; }

.image-frame:hover .frame-corner {
    width: 55px;
    height: 55px;
}

/* ========== GALLERY ========== */
.gallery {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: #0d0d0d;
    border-color: var(--accent);
    transform: translateY(-2px);
}

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

.gallery-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item.hidden {
    display: none;
}

.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    background: var(--bg-card);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.12);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
    transform: translateY(15px);
    transition: transform 0.25s ease 0.05s;
}

.gallery-card:hover .gallery-overlay h3 {
    transform: translateY(0);
}

.gallery-overlay p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
    transform: translateY(15px);
    transition: transform 0.25s ease 0.08s;
}

.gallery-card:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Action buttons container */
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    transform: translateY(15px);
    transition: transform 0.25s ease 0.12s;
}

.gallery-card:hover .card-actions {
    transform: translateY(0);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

/* Reaction (Like) button */
.reaction-btn {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.reaction-btn:hover {
    background: rgba(255,255,255,0.22);
    transform: scale(1.08);
}

.reaction-btn.liked {
    background: rgba(255, 60, 90, 0.25);
    border-color: #ff3c5a;
    color: #ff6b81;
}

.reaction-btn .heart {
    font-size: 1rem;
    transition: transform 0.2s;
}

.reaction-btn.liked .heart {
    animation: heartPop 0.4s ease;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.like-count {
    font-variant-numeric: tabular-nums;
    min-width: 1.5em;
}

/* Download button */
.download-btn {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.download-btn:hover {
    background: var(--accent);
    color: #0d0d0d;
    border-color: var(--accent);
    transform: scale(1.08);
}

/* View Full button */
.view-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    background: var(--accent);
    color: #0d0d0d;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.08);
}

/* ========== PROCESS ========== */
.process {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

.process-step {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--accent);
    color: #0d0d0d;
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--glow);
}

.step-content {
    padding-top: 1rem;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== CONTACT ========== */
.contact {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.contact-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-content {
    padding: 3.5rem;
}

.contact-content h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-content > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

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

.contact-form input,
.contact-form textarea {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--glow);
}

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

.contact-form .btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.contact-visual {
    position: relative;
    overflow: hidden;
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.contact-card:hover .contact-img {
    transform: scale(1.08);
}

/* ========== SHOP / DIGITAL PACKS ========== */
.shop {
    padding: 7rem 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin-top: 3rem;
}

.shop-card {
    background: var(--bg-card);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border-color: var(--accent);
}

.shop-card.featured {
    border: 2px solid var(--accent);
}

.shop-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-card:hover .shop-image img {
    transform: scale(1.1);
}

.shop-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #0d0d0d;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
}

.shop-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.shop-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}

.shop-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.shop-price .old-price {
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-left: 0.5rem;
    font-weight: 400;
}

.shop-btn {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
}

/* ========== FLOATING WHATSAPP BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 9990;
    transition: all 0.3s ease;
    animation: waPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    color: white;
}

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

.wa-text {
    white-space: nowrap;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7); }
}

@media (max-width: 600px) {
    .whatsapp-float .wa-text {
        display: none;
    }
    .whatsapp-float {
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .wa-icon {
        font-size: 1.8rem;
    }
}

/* ========== DONATION POSTER ========== */
.donation {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
    background: var(--bg-primary);
}

.donation-poster {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background: var(--bg-card);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.donation-poster:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.donation-image {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.donation-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.donation-poster:hover .donation-img {
    transform: scale(1.06);
}

.donation-image-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--accent);
    color: #0d0d0d;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 6px 20px var(--glow);
}

.donation-content {
    padding: 3rem 3.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.donation-tag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.donation-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.donation-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.donation-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
}

.don-stat {
    text-align: left;
}

.don-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
}

.don-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.donation-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.donation-btn {
    font-size: 1rem;
    padding: 1rem 2.2rem;
    animation: softPulse 2s ease-in-out infinite;
}

@keyframes softPulse {
    0%, 100% { box-shadow: 0 8px 25px var(--glow); }
    50% { box-shadow: 0 8px 35px var(--glow), 0 0 20px var(--glow); }
}

.donation-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.85;
}

/* Nav donate link highlight */
.donate-link {
    color: var(--accent) !important;
    font-weight: 600;
}

.donate-link::after {
    background: var(--accent) !important;
}

/* Responsive donation */
@media (max-width: 900px) {
    .donation-poster {
        grid-template-columns: 1fr;
    }
    
    .donation-image {
        min-height: 300px;
        max-height: 360px;
    }
    
    .donation-content {
        padding: 2.5rem 2rem;
    }
    
    .donation-stats {
        gap: 1.5rem;
    }
}

/* ========== FOOTER ========== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.7rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-4px) rotate(10deg);
    border-color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========== LIGHTBOX ========== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-align: center;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.lightbox-nav:hover {
    background: var(--accent);
    color: #0d0d0d;
}

.lightbox-nav.prev { left: 2rem; }
.lightbox-nav.next { right: 2rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
    }
    
    .hero-left {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-image-overlay {
        background: linear-gradient(0deg, var(--bg-primary) 0%, transparent 60%);
    }
    
    .hero-right {
        padding: 3rem 2rem 6rem;
    }
    
    .about-grid,
    .contact-card {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-visual {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 6rem 2rem;
        gap: 2rem;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-num {
        font-size: 1.6rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Disable custom cursor on touch devices */
    .cursor, .cursor-follower {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Smooth reveal utility */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* AdSense-ready editorial and consent components */
.content-section{padding:6rem 0;background:var(--bg-secondary)}
.editorial-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:2rem;align-items:stretch}
.editorial-card,.ad-slot{background:var(--card-bg);border:1px solid var(--border);border-radius:18px;padding:2rem}
.editorial-card h2{font-family:'Playfair Display',serif;font-size:clamp(2rem,4vw,3.5rem);margin:.5rem 0 1rem}
.editorial-card p{color:var(--text-secondary);line-height:1.8;margin-bottom:1rem}
.ad-slot{display:grid;place-content:center;text-align:center;min-height:250px;border-style:dashed;color:var(--text-secondary)}
.ad-slot span{text-transform:uppercase;letter-spacing:.14em;font-size:.75rem}
.cookie-banner{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:12000;display:none;align-items:center;justify-content:space-between;gap:1.5rem;max-width:1100px;margin:auto;padding:1rem 1.2rem;background:#111;color:#fff;border:1px solid #444;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.cookie-banner.show{display:flex}.cookie-banner p{margin:.3rem 0 0;color:#ddd}.cookie-actions{display:flex;gap:.75rem;flex-shrink:0}.cookie-actions .btn{white-space:nowrap}
.cookie-settings-link{border:0;background:none;color:var(--text-secondary);padding:0;text-align:left;cursor:pointer;font:inherit}.cookie-settings-link:hover{color:var(--accent)}
.back-to-top{position:fixed;right:1.2rem;bottom:1.2rem;width:46px;height:46px;border:0;border-radius:50%;background:var(--accent);color:#111;font-size:1.3rem;cursor:pointer;z-index:9000;opacity:0;pointer-events:none;transform:translateY(10px);transition:.25s}.back-to-top.show{opacity:1;pointer-events:auto;transform:none}
.legal-main{min-height:70vh;padding:9rem 0 5rem}.legal-card{max-width:900px;margin:auto;background:var(--card-bg);border:1px solid var(--border);border-radius:20px;padding:clamp(1.4rem,4vw,3rem)}.legal-card h1,.legal-card h2{font-family:'Playfair Display',serif}.legal-card h1{font-size:clamp(2.4rem,6vw,4.5rem);margin-bottom:1rem}.legal-card h2{margin-top:2rem}.legal-card p,.legal-card li{color:var(--text-secondary);line-height:1.8}.legal-card a{color:var(--accent)}
@media(max-width:800px){.editorial-grid{grid-template-columns:1fr}.cookie-banner{align-items:flex-start;flex-direction:column}.cookie-actions{width:100%}.cookie-actions .btn{flex:1;padding:.8rem}.back-to-top{bottom:1rem}}

/* Blog */
.blog-main{min-height:100vh;background:var(--bg-primary)}
.blog-hero{padding:10rem 0 5rem;background:linear-gradient(135deg,var(--bg-secondary),var(--bg-primary));border-bottom:1px solid var(--border)}
.blog-hero-inner{max-width:900px;text-align:center}
.blog-hero h1{font-family:'Playfair Display',serif;font-size:clamp(2.7rem,7vw,5.8rem);line-height:1.03;margin:.75rem 0 1rem}
.blog-hero p:not(.section-tag){max-width:720px;margin:auto;color:var(--text-secondary);font-size:1.08rem;line-height:1.8}
.blog-section{padding:4rem 0 6rem}
.blog-toolbar{display:flex;justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:2rem;flex-wrap:wrap}
.blog-search{display:grid;gap:.5rem;font-weight:600;min-width:min(100%,330px)}
.blog-search input,.newsletter-form input{width:100%;padding:1rem 1.1rem;border-radius:12px;border:1px solid var(--border);background:var(--card-bg);color:var(--text-primary);font:inherit}
.blog-filters{display:flex;gap:.6rem;flex-wrap:wrap}.blog-filter{border:1px solid var(--border);border-radius:999px;background:var(--card-bg);color:var(--text-primary);padding:.7rem 1rem;cursor:pointer;font:inherit}.blog-filter.active,.blog-filter:hover{background:var(--accent);color:#111;border-color:var(--accent)}
.featured-post{display:grid;grid-template-columns:1.15fr 1fr;background:var(--card-bg);border:1px solid var(--border);border-radius:24px;overflow:hidden;margin-bottom:2rem}
.featured-post-image img{width:100%;height:100%;min-height:410px;object-fit:cover}.featured-post-content{padding:clamp(1.5rem,4vw,3.3rem);align-self:center}.featured-post h2,.blog-card h2,.newsletter-card h2{font-family:'Playfair Display',serif}.featured-post h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.12;margin:.6rem 0 1rem}.featured-post p,.blog-card p,.newsletter-card p{color:var(--text-secondary);line-height:1.75}
.post-category{display:inline-block;color:var(--accent);text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:700}.post-meta{display:flex;gap:1rem;flex-wrap:wrap;color:var(--text-secondary);font-size:.86rem;margin:1rem 0}.text-link{color:var(--accent);font-weight:600}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.blog-card{background:var(--card-bg);border:1px solid var(--border);border-radius:18px;overflow:hidden;transition:transform .25s,border-color .25s}.blog-card:hover{transform:translateY(-6px);border-color:var(--accent)}.blog-card img{width:100%;aspect-ratio:16/10;object-fit:cover}.blog-card-body{padding:1.4rem}.blog-card h2{font-size:1.45rem;line-height:1.25;margin:.55rem 0 .75rem}.blog-card[hidden],.featured-post[hidden]{display:none}.blog-empty{text-align:center;padding:3rem;color:var(--text-secondary)}
.blog-ad{margin:2rem 0;min-height:140px}.newsletter-card{display:grid;grid-template-columns:1.4fr 1fr;gap:2rem;align-items:center;margin-top:2rem;padding:clamp(1.5rem,4vw,3rem);background:var(--card-bg);border:1px solid var(--border);border-radius:22px}.newsletter-card h2{font-size:clamp(1.8rem,4vw,3rem);margin:.5rem 0}.newsletter-form{display:flex;gap:.75rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nav-link.active{color:var(--accent)}
@media(max-width:950px){.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-post{grid-template-columns:1fr}.featured-post-image img{min-height:300px}.newsletter-card{grid-template-columns:1fr}}
@media(max-width:620px){.blog-grid{grid-template-columns:1fr}.blog-toolbar{align-items:stretch}.blog-filters{width:100%}.blog-filter{flex:1}.newsletter-form{flex-direction:column}.blog-hero{padding-top:8rem}}



/* Professional precision cursor */
.cursor{width:8px;height:8px;border:0;background:var(--cursor-color);box-shadow:0 0 8px color-mix(in srgb,var(--cursor-color) 55%,transparent);}
.cursor-follower{width:30px;height:30px;border:1.5px solid color-mix(in srgb,var(--cursor-color) 78%,transparent);box-shadow:none;background:transparent;animation:none;transition:width .18s ease,height .18s ease,border-color .18s ease,background .18s ease;}
.cursor-glow{display:none!important;}
body.cursor-visible .cursor-follower{opacity:.82;}
body.cursor-hover .cursor{width:6px;height:6px;background:#fff;box-shadow:0 0 0 2px var(--cursor-color);}
body.cursor-hover .cursor-follower{width:40px;height:40px;background:color-mix(in srgb,var(--cursor-color) 10%,transparent);border-color:var(--cursor-color);}
body.cursor-click .cursor{width:4px;height:4px;}
body.cursor-click .cursor-follower{width:24px;height:24px;}
.footer-contact{display:flex;flex-direction:column;gap:.65rem;min-width:220px}.footer-contact h4{margin:0 0 .35rem}.footer-contact a{color:var(--text-secondary);text-decoration:none;line-height:1.45;word-break:break-word}.footer-contact a:hover{color:var(--accent)}
.contact-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:2rem 0}.contact-detail-card{display:flex;flex-direction:column;gap:.5rem;padding:1.25rem;border:1px solid var(--border);border-radius:18px;background:var(--card-bg);text-decoration:none;color:var(--text-primary);transition:transform .2s ease,border-color .2s ease}.contact-detail-card:hover{transform:translateY(-4px);border-color:var(--accent)}.contact-detail-card span{font-size:1.65rem}.contact-detail-card small{color:var(--text-secondary);word-break:break-word}
.hero-img{transition:opacity .55s ease,transform .7s ease}.hero-img.hero-changing{opacity:.08;transform:scale(1.025)}
@media(max-width:800px){.contact-details-grid{grid-template-columns:1fr}}
