/* Chetton Path - Desert Pathway Design System */
:root {
    --bg-obsidian: #0c0a08;
    --chetton-amber: #f59e0b;
    --chetton-gold: #fbbf24;
    --chetton-sunset: #d97706;
    --chetton-sand: #fde68a;
    --chetton-glow: rgba(245, 158, 11, 0.35);
    --warm-bronze: #92400e;
    --deep-earth: #1c1512;
    --glass-bg: rgba(12, 10, 8, 0.82);
    --glass-border: rgba(245, 158, 11, 0.12);
    --transition-drift: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=DM+Sans:wght@300;400;500;700&family=JetBrains+Mono:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-obsidian);
    color: #f5e6d3;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Desert Path Background */
.path-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 60% at 50% 120%, rgba(146, 64, 14, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 70% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, #150f0a 0%, #0c0a08 100%);
}

/* Grain/Noise Texture */
.path-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

/* Horizon Line */
.path-horizon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, var(--chetton-amber), transparent 95%);
    opacity: 0.15;
}

/* Floating Dust Particles */
.dust-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--chetton-gold);
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    animation: dustDrift 18s infinite ease-in-out;
}

.dust-particle:nth-child(2) {
    animation-delay: -4s;
    animation-duration: 22s;
}

.dust-particle:nth-child(3) {
    animation-delay: -8s;
    animation-duration: 15s;
}

.dust-particle:nth-child(4) {
    animation-delay: -12s;
    animation-duration: 26s;
}

@keyframes dustDrift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    15% {
        opacity: 0.3;
    }

    50% {
        transform: translate(80px, -120px) scale(1.5);
        opacity: 0.15;
    }

    85% {
        opacity: 0.25;
    }

    100% {
        transform: translate(-40px, -200px) scale(0.8);
        opacity: 0;
    }
}

/* Warm Glow Orbs */
.glow-orb-warm {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    z-index: -1;
    animation: warmPulse 12s infinite alternate ease-in-out;
}

.orb-amber {
    width: 400px;
    height: 400px;
    background: var(--chetton-amber);
    top: -100px;
    right: -80px;
}

.orb-sunset {
    width: 350px;
    height: 350px;
    background: var(--chetton-sunset);
    bottom: -120px;
    left: -60px;
    animation-delay: -6s;
}

@keyframes warmPulse {
    0% {
        transform: scale(1);
        opacity: 0.08;
    }

    100% {
        transform: scale(1.15);
        opacity: 0.16;
    }
}

/* Typography & Headers */
h1,
h2,
h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
}

.text-amber {
    color: var(--chetton-amber);
}

.text-gold {
    color: var(--chetton-gold);
}

.glow-text-warm {
    text-shadow: 0 0 30px var(--chetton-glow), 0 0 60px rgba(245, 158, 11, 0.15);
}

/* Chetton Glass Card */
.chetton-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 3.5rem;
    box-shadow:
        0 25px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(245, 158, 11, 0.03);
    position: relative;
    overflow: hidden;
}

/* Scanning Amber Line */
.chetton-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--chetton-amber), var(--chetton-gold), transparent);
    animation: amberScan 4s infinite ease-in-out;
}

@keyframes amberScan {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Bottom Glow Effect on Card */
.chetton-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), transparent);
}

/* Button */
.btn-chetton {
    background: linear-gradient(135deg, var(--chetton-amber), var(--chetton-sunset));
    color: #0c0a08;
    padding: 1.2rem 2.5rem;
    border-radius: 14px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-drift);
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.25);
}

.btn-chetton:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, var(--chetton-gold), var(--chetton-amber));
    color: #0c0a08;
}

/* Input Fields */
.input-chetton {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(245, 158, 11, 0.1);
    color: #fff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-drift);
}

.input-chetton::placeholder {
    color: rgba(253, 230, 138, 0.35);
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.input-chetton:focus {
    border-color: var(--chetton-amber);
    background: rgba(245, 158, 11, 0.04);
    outline: none;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

/* Utility Classes */
.mono-text {
    font-family: 'JetBrains Mono', monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .chetton-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
}