/* 
   Casino Atlas Theme - Premium Dark/Gold Design 
   Design System & Global Styles
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&family=Inter:wght@400;600&display=swap');

:root {
    /* Color Palette */
    --color-bg-dark: #050505;
    /* Deepest black */
    --color-bg-panel: #0a0a0a;
    /* Slightly lighter for cards */
    --color-bg-overlay: rgba(255, 255, 255, 0.03);

    --color-gold-500: #fbbf24;
    --color-gold-600: #d97706;
    --color-gold-700: #b45309;
    --color-gold-glow: rgba(251, 191, 36, 0.4);

    --color-text-main: #ffffff;
    --color-text-muted: #a3a3a3;

    --color-danger: #ef4444;
    --color-success: #22c55e;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #fbbf24, #d97706);
    --gradient-gold-hover: linear-gradient(135deg, #fbbf24, #b45309);
    --gradient-dark: linear-gradient(to bottom, #111111, #050505);

    /* Variables */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    /* Pill shape */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.text-center {
    text-align: center;
}

/* Premium Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: 0 4px 15px var(--color-gold-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-gold-glow);
    background: var(--gradient-gold-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
}

.btn-outline:hover {
    border-color: var(--color-gold-500);
    color: var(--color-gold-500);
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: #fff;
}

.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards (Glassmorphism) */
.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-5px);
}

/* Brand Card Interactions */
.brand-card {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.brand-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.2);
    border-color: var(--color-gold-500) !important;
    background: rgba(20, 20, 20, 0.8) !important;
}

.brand-card:hover img {
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.6)) !important;
}

.brand-card:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1) !important;
}

.brand-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.brand-card:hover::after {
    left: 100%;
}

/* Header Styles */
.main-header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo-container {
    position: relative;
}

.logo-glow {
    width: 60px;
    height: 60px;
    background: var(--color-gold-500);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-img {
    height: 50px;
    position: relative;
    z-index: 2;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    color: var(--color-gold-500);
}

.nav-link i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    background: url('https://images.unsplash.com/photo-1596838132731-3301c3fd4317?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #050505 0%, rgba(5, 5, 5, 0.8) 50%, rgba(5, 5, 5, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 900;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

/* Sponsors Strip */
.sponsors-strip {
    background: #000;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.sponsors-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    opacity: 0.6;
}

.sponsor-logo {
    height: 30px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.sponsors-grid:hover .sponsor-logo {
    filter: grayscale(0%);
}

/* Admin Specific Base */
.admin-body {
    background: #080808;
}

.admin-sidebar {
    width: 260px;
    background: #050505;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    height: 100vh;
    position: fixed;
    padding: 20px;
}

/* YouTube Button Hover Effect */
.youtube-btn {
    display: inline-block;
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
}

.youtube-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
    background: linear-gradient(135deg, #ff1a1a, #e60000);
}

.youtube-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

.youtube-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.youtube-btn:hover::after {
    left: 100%;
}

/* YouTube Card Hover Effects */
.youtube-card {
    position: relative;
    overflow: hidden;
}

.youtube-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    opacity: 0;

/* Click and hover effects for interactive areas */
.youtube-section,
.brand-card {
    cursor: pointer;
}

.youtube-card,
.brand-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.youtube-card:active,
.brand-card:active {
    transform: scale(0.985) translateY(1px);
}

.click-ripple {
    position: relative;
    overflow: hidden;
}

/* Ripple element inserted by JS */
.ripple-element {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.9;
    pointer-events: none;
}

.ripple-element.animate {
    transition: transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 520ms ease;
    transform: translate(-50%, -50%) scale(40);
    opacity: 0;
}

/* Quick press feedback for buttons */
.btn.press-active,
.brand-card.press-active,
.youtube-card.press-active {
    transform: scale(0.985) translateY(1px) !important;
}
    transition: opacity 0.3s;
    pointer-events: none;
}

.youtube-section:hover .youtube-card {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
    border-color: #ff3333;
    background: rgba(10, 0, 0, 0.9);
}

.youtube-section:hover .youtube-card::before {
    opacity: 1;
}

.youtube-section:hover .fab.fa-youtube {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.8));
}

.youtube-section:hover h2 {
    color: #ff3333;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.youtube-section:hover .youtube-btn-inline {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.6);
    background: linear-gradient(135deg, #ff1a1a, #e60000);
}

.youtube-section:active .youtube-card {
    transform: translateY(0) scale(0.98);
}