/* 
  YLDRMTECH Design System 2.0 - "Kinetic Glass"
  Innovative, Modern, and Distinctive
*/

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    /* Transitions */
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;

    /* Global Accents (will be overridden by PHP) */
    --accent: #ff8900;
    --accent-rgb: 255, 137, 0;
}

/* LIGHT THEME (Default) */
:root[data-theme="light"] {
    --bg: #fdfdfd;
    --fg: #0a0a0a;
    --fg-muted: #525252;
    --border: rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.05);
    --card-bg: #ffffff;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    --blob-opacity: 0.15;
}

/* DARK THEME */
:root[data-theme="dark"] {
    --bg: #050505;
    --fg: #ffffff;
    --fg-muted: #a3a3a3;
    --border: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(10, 10, 10, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    --card-bg: #0d0d0d;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --blob-opacity: 0.3;
}

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

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    transition: background-color var(--transition-slow), color var(--transition-slow);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Bricolage Grotesque', sans-serif;
    letter-spacing: -0.04em;
    font-weight: 800;
}

/* UTILITIES */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
}

.text-gradient {
    background: linear-gradient(135deg, var(--fg) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ANIMATIONS */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

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

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

.animate-blob {
    animation: float 10s infinite ease-in-out;
}

/* THEME SWITCHER */
.theme-switch-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-medium);
}

.theme-switch-btn:hover {
    transform: scale(1.1) rotate(12deg);
}

/* CUSTOM CURSOR (Optional support) */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}