/**
 * Bahis Sitesi - Custom Styles
 * Premium Design System
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0f3923;
    --primary-dark: #072214;
    --accent: #fbbf24;
    --accent-hover: #f59e0b;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
    /* Light Luxury Pattern Background */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.40), rgba(255, 255, 255, 0.40)),
        url("img/bg-light-luxury.png");
    background-attachment: fixed;
    background-size: cover, 400px auto;
    background-repeat: no-repeat, repeat;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.glass-dark {
    background: rgba(15, 57, 35, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Animations */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-pulse-soft {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-slide-up {
    animation: slideInUp 0.5s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Helper Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Card & Interactive Elements */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-premium {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f3923;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3);
}

.btn-premium:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.4);
    filter: brightness(1.05);
}

.btn-premium:active {
    transform: translateY(0);
}

/* Form Elements */
.input-premium {
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.input-premium:focus {
    border-color: #0f3923;
    box-shadow: 0 0 0 4px rgba(15, 57, 35, 0.1);
    outline: none;
}

/* Odd Button Premium */
.odd-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.odd-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(251, 191, 36, 0.1);
    opacity: 0;
    transition: opacity 0.2s;
}

.odd-btn:hover::after {
    opacity: 1;
}

.odd-btn.selected {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f3923;
    border-color: transparent;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Live Badge */
.live-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(to right, #ef4444, #dc2626);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.live-badge::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* Admin Dashboard Elements */
.admin-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.admin-nav-item {
    transition: all 0.2s ease;
    border-radius: 0.5rem;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background-color: rgba(15, 57, 35, 0.05);
    color: #0f3923;
}

/* Mobile Responsiveness for Tables */
@media (max-width: 768px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        background: white;
        margin-bottom: 1rem;
        border-radius: 0.75rem;
        padding: 1rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        border: 1px solid #f3f4f6;
    }

    .responsive-table td {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        border: none;
    }

    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #64748b;
        font-size: 0.875rem;
    }
}