/* LottoSignals.com Custom Styles */

:root {
    /* Color System - HSL */
    --background: hsl(220, 20%, 94%);
    --foreground: hsl(220, 20%, 15%);
    
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(220, 20%, 15%);
    
    --primary: hsl(220, 70%, 50%);
    --primary-foreground: hsl(0, 0%, 100%);
    
    --secondary: hsl(180, 70%, 40%);
    --secondary-foreground: hsl(0, 0%, 100%);
    
    --muted: hsl(220, 15%, 85%);
    --muted-foreground: hsl(220, 15%, 40%);
    
    --accent: hsl(45, 90%, 50%);
    --accent-foreground: hsl(220, 70%, 10%);
    
    --border: hsl(220, 15%, 85%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(220, 70%, 50%), hsl(220, 60%, 60%));
    --gradient-accent: linear-gradient(135deg, hsl(45, 90%, 50%), hsl(35, 85%, 55%));
    --gradient-hero: linear-gradient(180deg, hsl(220, 20%, 96%), hsl(220, 25%, 92%));
    
    /* Glows */
    --glow-primary: 0 0 40px hsl(180, 70%, 45%, 0.2);
    --glow-accent: 0 0 30px hsl(45, 90%, 55%, 0.15);
}

/* Base Styles */
body {
    background: var(--background);
    color: var(--foreground);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Backgrounds */
.bg-background {
    background: var(--background);
}

.bg-card {
    background: var(--card);
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

.bg-gradient-hero {
    background: var(--gradient-hero);
}

/* Text Colors */
.text-foreground {
    color: var(--foreground) !important;
}

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

.text-secondary {
    color: var(--secondary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

/* Borders */
.border-bottom {
    border-bottom: 1px solid var(--border) !important;
}

.border-top {
    border-top: 1px solid var(--border) !important;
}

.border {
    border: 1px solid var(--border) !important;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(8px);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--muted-foreground);
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: var(--accent-foreground);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: var(--glow-accent);
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline-secondary:hover {
    background: hsla(180, 70%, 45%, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Shadows */
.shadow-glow-accent {
    box-shadow: var(--glow-accent);
}

.shadow-glow-primary {
    box-shadow: var(--glow-primary);
}

/* Number Balls */
.number-ball {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.number-ball.hot {
    background: var(--gradient-accent);
    color: var(--accent-foreground);
    box-shadow: var(--glow-accent);
}

.number-ball.cold {
    background: var(--gradient-primary);
    color: var(--secondary);
    border: 2px solid hsla(180, 70%, 45%, 0.3);
}

/* Countdown Timer */
.countdown-item {
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

/* Hero Section */
.hero-title {
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Feature Cards */
.feature-icon {
    background: var(--gradient-primary);
    padding: 0.75rem;
    border-radius: 0.5rem;
    width: fit-content;
    box-shadow: var(--glow-primary);
}

.feature-icon i {
    font-size: 2rem !important;
    display: block;
    line-height: 1;
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: fadeIn 0.6s ease-out;
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 300px;
    margin-top: 1rem;
}

/* Lottery Cards */
a.text-decoration-none .card {
    transition: all 0.3s ease;
}

a.text-decoration-none .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary);
}

a.text-decoration-none:hover {
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .number-ball {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
}

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

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

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

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

/* Equipment Cards */
.equipment-card {
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}


