/* CSS RESET & VARIABLES */
:root {
    --bg-dark: #030712;
    --orange-primary: #ff6b00;
    --orange-glow: rgba(255, 107, 0, 0.4);
    --orange-glow-light: rgba(255, 107, 0, 0.15);
    
    --blue-primary: #0052ff;
    --blue-glow: rgba(0, 82, 255, 0.4);
    --blue-glow-light: rgba(0, 82, 255, 0.15);
    
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-dim: #6b7280;
    
    --glass-bg: rgba(17, 24, 39, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.18);
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    
    --cursor-dot-color: #ff6b00;
    --cursor-outline-color: #0052ff;
}

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

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--orange-primary);
}

/* INTERACTIVE PARTICLE CANVAS */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* GLOWING ORBS BACKGROUND */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    opacity: 0.45;
    pointer-events: none;
    animation: drift 25s infinite alternate ease-in-out;
}

.orb-orange {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--orange-primary) 0%, transparent 70%);
    top: -10vw;
    right: -10vw;
}

.orb-blue {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--blue-primary) 0%, transparent 70%);
    bottom: -15vw;
    left: -15vw;
    animation-delay: -5s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(8%, 8%) scale(1.15);
    }
    100% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

/* CUSTOM MOUSE CURSOR */
.custom-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--cursor-dot-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px var(--cursor-dot-color);
    transition: width 0.2s, height 0.2s;
}

.custom-cursor-outline {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--cursor-outline-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    box-shadow: 0 0 15px rgba(0, 82, 255, 0.2);
    transition: transform 0.08s cubic-bezier(0.1, 1, 0.1, 1), border-color 0.2s;
}

/* APP CONTAINER */
.app-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* NAVBAR */
.navbar {
    height: 90px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.logo-mark {
    width: 28px;
    height: 28px;
    position: relative;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--blue-primary) 100%);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
    animation: pulseLogo 4s infinite alternate;
}

@keyframes pulseLogo {
    0% {
        box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 25px rgba(0, 82, 255, 0.5);
    }
}

.logo-text {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, #fff 40%, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* HERO SECTION */
.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
}

.main-title {
    font-size: clamp(3.2rem, 11vw, 7.8rem);
    font-weight: 800;
    font-family: var(--font-sans);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    position: relative;
}

.gradient-text.orange-blue {
    background: linear-gradient(135deg, var(--orange-primary) 20%, #ffad66 45%, #6699ff 55%, var(--blue-primary) 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 6s linear infinite alternate;
}

@keyframes textShimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 50px;
    line-height: 1.4;
}

/* APOLOGY CARD */
.apology-card-wrapper {
    width: 100%;
    max-width: 680px;
    margin-bottom: 30px;
    perspective: 1000px;
}

.apology-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 36px;
    text-align: left;
    backdrop-filter: blur(16px) saturate(180%);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}

.apology-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--orange-primary), var(--blue-primary));
}

.apology-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 82, 255, 0.08);
}

.apology-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.warning-icon {
    color: var(--orange-primary);
    filter: drop-shadow(0 0 8px var(--orange-glow));
    flex-shrink: 0;
}

.apology-header h2 {
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.apology-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    font-weight: 300;
}

/* FOOTER */
.footer {
    height: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    font-size: 12px;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .navbar {
        height: 80px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .apology-card {
        padding: 24px 28px;
    }
    
    .footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        height: auto;
        padding-bottom: 40px;
    }
    
    .custom-cursor-dot,
    .custom-cursor-outline {
        display: none !important;
    }
}
