/* ============================================
   Global Styles & Base Configuration
   ============================================ */

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

:root {
    /* Colors - Black & Red Domination */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-darkest: #1a1a1a;
    
    /* Black Shades */
    --black-charcoal: #1a1a1a;
    --black-slate: #2d2d2d;
    --black-midnight: #0f0f0f;
    
    /* Red Shades */
    --red-primary: #DC143C;
    --red-dark: #8B0000;
    --red-crimson: #A71930;
    --red-maroon: #800000;
    --red-burgundy: #740001;
    --red-dark-red: #660000;
    --red-brick: #C41E3A;
    --red-candy: #FF0000;
    
    /* Primary Colors */
    --primary: #DC143C;
    --primary-dark: #A71930;
    --primary-light: #E63946;
    --accent-1: #8B0000;
    --accent-2: #C41E3A;
    --text-white: #FFFFFF;
    --text-muted: #B0B0B0;
    --border-color: #333333;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.15s ease-out;
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(220, 20, 60, 0.15);
    --shadow-md: 0 10px 30px rgba(220, 20, 60, 0.2);
    --shadow-lg: 0 20px 50px rgba(220, 20, 60, 0.3);
    
    /* Glow */
    --glow-sm: 0 0 10px rgba(220, 20, 60, 0.4);
    --glow-md: 0 0 20px rgba(220, 20, 60, 0.6);
    --glow-lg: 0 0 30px rgba(220, 20, 60, 0.5);
}

/* Body Styling */
html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--text-white);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Patterns */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.01) 10px,
            rgba(255, 255, 255, 0.01) 20px
        );
    pointer-events: none;
    z-index: -1;
}

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

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

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

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

/* Selection */
::selection {
    background-color: var(--primary);
    color: var(--bg-dark);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-white);
}

.text-muted {
    color: var(--text-muted);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }

/* Links */
.btn-link {
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
}

.btn-link:hover {
    color: var(--accent-1);
}
