/* ============================================
   MOKA'S PERSONAL WEBSITE - STYLES
   The most beautiful personal website ever! ✨
   ============================================ */

/* CSS Variables - The Color Palette */
/* DEFAULT / MODERN THEME */
:root {
    /* Primary Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;

    /* Accent Colors */
    --accent-orange: #f97316;
    --accent-pink: #ec4899;
    --accent-teal: #14b8a6;
    --accent-amber: #f59e0b;

    /* Neutrals */
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252542;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-hero: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
    --gradient-card: linear-gradient(145deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);

    /* Microsoft Colors (subtle nod) */
    --ms-blue: #00a4ef;
    --ms-green: #7fba00;
    --ms-yellow: #ffb900;
    --ms-red: #f25022;

    /* Apple-esque */
    --apple-silver: #a3a3a3;
}

/* ============================================
   THEME: CLASSIC (VINTAGE)
   Warm, nostalgic colors with sepia tones
   ============================================ */
[data-theme="classic"] {
    /* Primary Colors - Deep burgundy/wine */
    --primary: #8b4557;
    --primary-light: #a85a6d;
    --primary-dark: #6d3344;

    /* Accent Colors - Vintage palette */
    --accent-orange: #c9a227;
    --accent-pink: #d4a574;
    --accent-teal: #5e7e6b;
    --accent-amber: #b8860b;

    /* Neutrals - Warm sepia tones */
    --bg-dark: #1a1612;
    --bg-card: #2a241e;
    --bg-card-hover: #3a332b;
    --text-primary: #f5e6d3;
    --text-secondary: #c4b49a;
    --text-muted: #8a7a66;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b4557 0%, #6d3344 50%, #c9a227 100%);
    --gradient-hero: linear-gradient(180deg, #1a1612 0%, #2a241e 100%);
    --gradient-card: linear-gradient(145deg, rgba(139, 69, 87, 0.15) 0%, rgba(201, 162, 39, 0.08) 100%);

    /* Microsoft Colors */
    --ms-blue: #4a6fa5;
    --ms-green: #6b8e5a;
    --ms-yellow: #c9a227;
    --ms-red: #a85a5a;

    /* Apple-esque */
    --apple-silver: #b8a88a;
}

/* ============================================
   THEME: MODERN
   Clean, minimal with electric accents
   ============================================ */
[data-theme="modern"] {
    /* Primary Colors - Electric blue */
    --primary: #0ea5e9;
    --primary-light: #38bdf8;
    --primary-dark: #0284c7;

    /* Accent Colors - Bold & clean */
    --accent-orange: #f43f5e;
    --accent-pink: #d946ef;
    --accent-teal: #22d3ee;
    --accent-amber: #fbbf24;

    /* Neutrals - Pure dark mode */
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --bg-card-hover: #27272a;
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 50%, #d946ef 100%);
    --gradient-hero: linear-gradient(180deg, #09090b 0%, #18181b 100%);
    --gradient-card: linear-gradient(145deg, rgba(14, 165, 233, 0.1) 0%, rgba(34, 211, 238, 0.05) 100%);

    /* Microsoft Colors */
    --ms-blue: #0ea5e9;
    --ms-green: #22c55e;
    --ms-yellow: #fbbf24;
    --ms-red: #f43f5e;

    /* Apple-esque */
    --apple-silver: #71717a;
}

/* ============================================
   THEME: CREATIVE
   Bold, artistic, gradient-heavy
   ============================================ */
[data-theme="creative"] {
    /* Primary Colors - Vibrant coral/orange */
    --primary: #ff6b6b;
    --primary-light: #ff8787;
    --primary-dark: #f03e3e;

    /* Accent Colors - Playful & bold */
    --accent-orange: #ffd43b;
    --accent-pink: #f06595;
    --accent-teal: #20c997;
    --accent-amber: #ff922b;

    /* Neutrals - Deep purple-black */
    --bg-dark: #12071f;
    --bg-card: #1e1233;
    --bg-card-hover: #2d1b4e;
    --text-primary: #ffffff;
    --text-secondary: #c4b5fd;
    --text-muted: #7c6b9e;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff6b6b 0%, #f06595 33%, #cc5de8 66%, #845ef7 100%);
    --gradient-hero: linear-gradient(180deg, #12071f 0%, #1e1233 50%, #2d1b4e 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 107, 107, 0.15) 0%, rgba(132, 94, 247, 0.1) 100%);

    /* Microsoft Colors */
    --ms-blue: #339af0;
    --ms-green: #51cf66;
    --ms-yellow: #ffd43b;
    --ms-red: #ff6b6b;

    /* Apple-esque */
    --apple-silver: #c4b5fd;
}

/* ============================================
   THEME: ZEN (MINIMALISTIC)
   Clean, calm, inspired by Japanese aesthetics
   ============================================ */
[data-theme="zen"] {
    /* Primary Colors - Soft stone/ink */
    --primary: #5c6370;
    --primary-light: #7a8291;
    --primary-dark: #3e4451;

    /* Accent Colors - Nature-inspired, muted */
    --accent-orange: #d19a66;
    --accent-pink: #c8a2c8;
    --accent-teal: #88b7a1;
    --accent-amber: #c9b97a;

    /* Neutrals - Paper & ink */
    --bg-dark: #fafaf8;
    --bg-card: #f0eeeb;
    --bg-card-hover: #e8e6e3;
    --text-primary: #2d2d2d;
    --text-secondary: #5c5c5c;
    --text-muted: #8a8a8a;

    /* Gradients - Subtle, almost flat */
    --gradient-primary: linear-gradient(135deg, #5c6370 0%, #7a8291 100%);
    --gradient-hero: linear-gradient(180deg, #fafaf8 0%, #f0eeeb 100%);
    --gradient-card: linear-gradient(145deg, rgba(92, 99, 112, 0.05) 0%, rgba(136, 183, 161, 0.03) 100%);

    /* Microsoft Colors - Muted versions */
    --ms-blue: #6b9dbd;
    --ms-green: #88b7a1;
    --ms-yellow: #c9b97a;
    --ms-red: #c97a7a;

    /* Apple-esque */
    --apple-silver: #8a8a8a;
}

/* Zen theme specific overrides for better contrast */
[data-theme="zen"] .cursor {
    background: #2d2d2d;
}

[data-theme="zen"] {
    --navbar-bg: rgba(250, 250, 248, 0.9);
    --navbar-border: rgba(0, 0, 0, 0.08);
}

:root {
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-accent: 'Playfair Display', serif;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BASE STYLES
   ============================================ */

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

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

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.15s ease;
    opacity: 0.5;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 20s infinite ease-in-out;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-50px) translateX(-30px);
        opacity: 0.3;
    }

    75% {
        transform: translateY(-150px) translateX(20px);
        opacity: 0.5;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: var(--navbar-bg, rgba(15, 15, 26, 0.8));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--navbar-border, rgba(99, 102, 241, 0.1));
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-medium);
    transform: translateX(-50%);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.greeting-tamil {
    color: var(--accent-orange);
    font-weight: 600;
}

.greeting-divider {
    color: var(--text-muted);
}

.greeting-english {
    color: var(--text-secondary);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.hero-fullname {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.title-line {
    display: block;
}

.title-line:first-child {
    font-family: var(--font-accent);
    font-style: italic;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.apple-fan {
    color: var(--apple-silver);
    font-weight: 600;
}

.apple-icon::before {
    content: '';
}

.microsoft {
    background: linear-gradient(90deg, var(--ms-red), var(--ms-green), var(--ms-blue), var(--ms-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.pun {
    color: var(--text-muted);
    font-size: 1rem;
    display: block;
    margin-top: var(--space-xs);
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-medium);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(99, 102, 241, 0.5);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(99, 102, 241, 0.5);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.avatar-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-ring {
    position: absolute;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.avatar-ring:first-child {
    width: 100%;
    height: 100%;
}

.ring-2 {
    width: 80%;
    height: 80%;
    animation-direction: reverse;
    animation-duration: 15s;
    border-color: rgba(236, 72, 153, 0.3);
}

.ring-3 {
    width: 60%;
    height: 60%;
    animation-duration: 10s;
    border-color: rgba(249, 115, 22, 0.3);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.avatar-emoji {
    font-size: 8rem;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.5));
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-item {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.float-item.chess {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.float-item.whiskey {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.float-item.cat {
    bottom: 30%;
    left: 5%;
    animation-delay: 2s;
}

.float-item.cat-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.float-item.code {
    top: 40%;
    right: 5%;
    color: var(--primary);
    font-family: monospace;
    font-size: 1.5rem;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: var(--space-xl) var(--space-lg);
    position: relative;
}

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

.section-number {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    font-family: monospace;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
    max-width: 200px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background: var(--bg-card);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
}

.about-intro {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.highlight-tamil {
    color: var(--accent-orange);
    font-family: var(--font-accent);
}

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

.about-text em {
    color: var(--accent-pink);
    font-style: italic;
}

.about-text strong {
    color: var(--text-primary);
}

.fun-fact {
    background: var(--gradient-card);
    border-left: 4px solid var(--primary);
    padding: var(--space-md);
    border-radius: 0 12px 12px 0;
    margin-top: var(--space-md);
    display: flex;
    gap: var(--space-sm);
}

.fact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.fun-fact p {
    margin: 0;
}

/* Info Cards */
.about-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.info-card {
    background: var(--bg-dark);
    padding: var(--space-md);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition-medium);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-sm);
}

.info-card:hover {
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: var(--shadow-glow);
}

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

.info-card h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.info-card p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.card-detail {
    font-size: 0.85rem;
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ============================================
   LIFE SECTION
   ============================================ */

.life {
    background: var(--bg-dark);
}

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

.life-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 24px;
    padding: var(--space-lg);
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition-medium);
}

.life-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    transition: var(--transition-medium);
}

.life-card:hover .card-bg {
    opacity: 0.1;
}

.chess-card .card-bg {
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%236366f1' fill-opacity='1'%3E%3Cpath d='M0 0h20v20H0zm20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}

.culture-card .card-bg {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(236, 72, 153, 0.2) 50%, rgba(245, 158, 11, 0.2) 100%);
}

.cats-card .card-bg {
    background: radial-gradient(circle at 30% 70%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
}

.love-card .card-bg {
    background: radial-gradient(circle at 70% 30%, rgba(239, 68, 68, 0.2) 0%, transparent 50%);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-emoji {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.life-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.life-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.life-card em {
    color: var(--accent-pink);
}

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

/* Chess pieces */
.chess-board {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.chess-piece {
    font-size: 2rem;
    animation: chess-hover 2s ease-in-out infinite;
}

.chess-piece:nth-child(2) {
    animation-delay: 0.3s;
}

.chess-piece:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes chess-hover {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Culture icons animation */
.culture-icons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.culture-icons span {
    font-size: 1.8rem;
    animation: culture-float 2s ease-in-out infinite;
}

.culture-icons span:nth-child(2) {
    animation-delay: 0.3s;
}

.culture-icons span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes culture-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

/* Paw prints */
.paw-prints {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.paw-prints span {
    font-size: 1.5rem;
    animation: paw-step 1.5s ease-in-out infinite;
}

.paw-prints span:nth-child(2) {
    animation-delay: 0.3s;
}

.paw-prints span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes paw-step {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Hearts */
.hearts {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.heart {
    font-size: 1.5rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.heart:nth-child(2) {
    animation-delay: 0.2s;
}

.heart:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Tamil and Urdu text styling */
.tamil-word {
    color: var(--accent-orange);
    font-weight: 600;
}

.urdu-word {
    color: var(--accent-teal);
    font-weight: 600;
}

/* Pun Corner */
.pun-corner {
    background: var(--gradient-card);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: var(--space-lg);
    text-align: center;
}

.pun-corner h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--accent-amber);
}

.pun-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

#daily-pun {
    font-size: 1.3rem;
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

.pun-btn {
    background: var(--gradient-primary);
    border: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-medium);
}

.pun-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   JOURNEY / TIMELINE SECTION
   ============================================ */

.journey {
    background: var(--bg-card);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: var(--space-lg);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-lg);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: calc(-1 * var(--space-lg) - 8px);
    width: 18px;
    height: 18px;
    background: var(--bg-card);
    border: 3px solid var(--primary);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-marker {
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
}

.timeline-content {
    background: var(--bg-dark);
    padding: var(--space-md);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition-medium);
}

.timeline-item:hover .timeline-content {
    border-color: var(--primary);
    transform: translateX(10px);
}

.timeline-year {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
}

.timeline-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: var(--bg-dark);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.contact-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.contact-intro em {
    color: var(--text-muted);
    font-size: 1rem;
}

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

.contact-card {
    background: var(--bg-card);
    padding: var(--space-md);
    border-radius: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition-medium);
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

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

.contact-text {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Coffee Animation */
.contact-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.coffee-animation {
    text-align: center;
}

.cup {
    width: 100px;
    height: 100px;
    background: linear-gradient(180deg, #4a3728 0%, #2d1f15 100%);
    border-radius: 0 0 40px 40px;
    position: relative;
    margin: 0 auto var(--space-md);
}

.cup::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 20px;
    width: 30px;
    height: 40px;
    border: 4px solid #4a3728;
    border-left: none;
    border-radius: 0 20px 20px 0;
}

.steam {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.steam span {
    width: 8px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    animation: steam 2s infinite;
}

.steam span:nth-child(2) {
    animation-delay: 0.3s;
    height: 40px;
}

.steam span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes steam {
    0% {
        transform: translateY(0) scaleY(1);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-20px) scaleY(1.2);
        opacity: 0.2;
    }

    100% {
        transform: translateY(-40px) scaleY(0.8);
        opacity: 0;
    }
}

.coffee-animation p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.coffee-animation small {
    color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-card);
    padding: var(--space-lg);
    text-align: center;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.footer-pun {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

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

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

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-lg) var(--space-md);
        padding-top: 80px;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: var(--space-sm);
    }

    .floating-elements {
        transform: scale(0.85);
    }

    .avatar-container {
        width: 220px;
        height: 220px;
    }

    .avatar-emoji {
        font-size: 6rem;
    }

    .hero-greeting {
        justify-content: center;
    }

    .hero-tagline {
        margin: 0 auto var(--space-lg);
    }

    .hero-cta {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .contact-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    .hero {
        padding-top: 80px;
    }

    .floating-elements {
        transform: scale(0.75);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250, 250, 248, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-md);
        gap: 0;
    }

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

    .nav-link {
        padding: var(--space-sm);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle span {
        background: var(--text-primary);
    }

    section {
        padding: var(--space-lg) var(--space-md);
    }

    .avatar-container {
        width: 200px;
        height: 200px;
    }

    .avatar-emoji {
        font-size: 5rem;
    }

    .contact-links {
        grid-template-columns: 1fr;
    }

    /* Hide custom cursor on mobile */
    .cursor,
    .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .float-item {
        font-size: 1.2rem;
        opacity: 0.6;
    }

    .floating-elements {
        transform: scale(0.8);
    }

    .avatar-container {
        width: 180px;
        height: 180px;
    }

    .avatar-emoji {
        font-size: 4.5rem;
    }

    .timeline {
        padding-left: var(--space-md);
    }

    .timeline-marker {
        left: calc(-1 * var(--space-md) - 8px);
    }
}

/* ============================================
   ANIMATIONS ON SCROLL
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards */
.life-card:nth-child(1) {
    transition-delay: 0s;
}

.life-card:nth-child(2) {
    transition-delay: 0.1s;
}

.life-card:nth-child(3) {
    transition-delay: 0.2s;
}

.life-card:nth-child(4) {
    transition-delay: 0.3s;
}

.info-card:nth-child(1) {
    transition-delay: 0s;
}

.info-card:nth-child(2) {
    transition-delay: 0.1s;
}

.info-card:nth-child(3) {
    transition-delay: 0.2s;
}

/* Glowing text effect for hover */
.glow-text:hover {
    text-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.2);
}