/* ============================================
   Global Styles for ScreenV2 Dashboard
   ============================================ */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Easy theme switching */
:root {
    /* Orange Theme (Default) */
    --accent-primary: #ff8300;
    --accent-secondary: #ffa300;
    --accent-rgba-25: rgba(255, 131, 0, 0.25);
    --accent-rgba-20: rgba(255, 131, 0, 0.2);
    --accent-rgba-15: rgba(255, 131, 0, 0.15);
    --accent-rgba-10: rgba(255, 131, 0, 0.1);
    --accent-rgba-08: rgba(255, 131, 0, 0.08);
    --accent-rgba-05: rgba(255, 131, 0, 0.05);
    --accent-rgba-50: rgba(255, 131, 0, 0.5);
    --accent-rgba-40: rgba(255, 131, 0, 0.4);
    --accent-rgba-30: rgba(255, 131, 0, 0.3);
    
    /* Blue Theme (Alternative - uncomment to use) */
    /*
    --accent-primary: #0083ff;
    --accent-secondary: #00a3ff;
    --accent-rgba-25: rgba(0, 131, 255, 0.25);
    --accent-rgba-20: rgba(0, 131, 255, 0.2);
    --accent-rgba-15: rgba(0, 131, 255, 0.15);
    --accent-rgba-10: rgba(0, 131, 255, 0.1);
    --accent-rgba-08: rgba(0, 131, 255, 0.08);
    --accent-rgba-05: rgba(0, 131, 255, 0.05);
    --accent-rgba-50: rgba(0, 131, 255, 0.5);
    --accent-rgba-40: rgba(0, 131, 255, 0.4);
    --accent-rgba-30: rgba(0, 131, 255, 0.3);
    */
}

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

html, body {
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Base Body Styles */
body {
    background: #000000;
    background: linear-gradient(135deg, 
        #000000 0%, 
        #050810 15%,
        #0a0a15 25%, 
        #0f0f1a 35%,
        #0a0a15 50%,
        #050810 65%,
        #000000 75%,
        #000510 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Background Gradient Animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Background Glow Effects */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-rgba-25) 0%, var(--accent-rgba-10) 40%, transparent 70%);
    top: -300px;
    left: -300px;
    animation: pulse 8s ease-in-out infinite;
    filter: blur(40px);
}

.bg-animation::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-rgba-20) 0%, var(--accent-rgba-08) 40%, transparent 70%);
    bottom: -350px;
    right: -350px;
    animation: pulse 10s ease-in-out infinite reverse;
    filter: blur(50px);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 0.9; }
}

/* Grid Pattern */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--accent-rgba-08) 1px, transparent 1px),
        linear-gradient(90deg, var(--accent-rgba-08) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    animation: gridMove 20s linear infinite;
    opacity: 0.6;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Common Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes breathing {
    0% {
        transform: scale(0.9);
    }
    25% {
        transform: scale(1);
    }
    60% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(0.9);
    }
}

/* Scrollbar Styling */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

body::-webkit-scrollbar-thumb {
    background: var(--accent-rgba-30);
    border-radius: 4px;
}

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

/* Common Header Section */
.header-section {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 10;
    animation: fadeInDown 0.8s ease-out;
    width: 100%;
    max-width: 1400px;
}

.header-section .subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Utility Classes */
.hidden {
    display: none;
}

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

.z-10 {
    z-index: 10;
}

