/**
 * Hydros Home Portal - Base Styles, Theme Variables & Ambient Effects
 */

:root {
    --bg-base: #080f13;
    --bg-surface: #101920;
    --bg-card: rgba(24, 34, 43, 0.75);
    --bg-card-hover: rgba(32, 47, 60, 0.9);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(168, 85, 247, 0.35);

    --primary: #a855f7;
    --primary-glow: rgba(168, 85, 247, 0.5);
    --primary-light: #c084fc;
    --cyan: #38bdf8;
    --cyan-glow: rgba(56, 189, 248, 0.4);
    --magenta: #ec4899;
    --purple: #a855f7;
    --green: #10b981;

    --text-primary: #f9f9f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --font-main: 'Outfit', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Source Code Pro', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px rgba(168, 85, 247, 0.25);
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-main);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 0%, #15222c 0%, var(--bg-base) 65%);
}

/* Ambient glowing background */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 600px;
    background: radial-gradient(
        circle at 50% 10%,
        rgba(168, 85, 247, 0.14) 0%,
        rgba(56, 189, 248, 0.06) 40%,
        transparent 80%
    );
    pointer-events: none;
    z-index: 0;
}

.ambient-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Keyframe Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-dot {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

