/*
 * Betinespor CMS - Premium Public Stylesheet
 * Brand colors: Black (#09090d), Dark Gray (#11131b), Yellow accent (#ffb71c)
 */

:root {
    --bg-black: #09090d;
    --bg-dark-card: #11131b;
    --bg-hover-card: #171a24;
    --text-main: #f7f7fb;
    --text-muted: #a8adba;
    --accent-yellow: #ffb71c;
    --accent-yellow-hover: #ff9d00;
    --border-line: rgba(255, 255, 255, 0.08);
    --border-line-hover: rgba(255, 183, 28, 0.2);
    --font-inter: 'Inter', system-ui, -apple-system, sans-serif;
    --radius: 16px;
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and body */
body {
    background-color: var(--bg-black);
    color: var(--text-main);
    font-family: var(--font-inter);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    transition: var(--transition);
}

/* Logo Accent */
.navbar-brand {
    font-size: 24px;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-yellow);
}

/* Navbar */
.navbar {
    background-color: rgba(9, 9, 13, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-yellow) !important;
}

/* News Ticker */
.ticker-badge {
    font-weight: 850;
    letter-spacing: 0.05em;
    padding: 6px 12px;
}

.ticker-marquee a {
    color: var(--accent-yellow) !important;
}

.ticker-marquee a:hover {
    color: var(--text-main) !important;
}

/* Hero Slider */
.hero-slider-container {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-line);
    box-shadow: var(--shadow);
}

.carousel-item {
    height: 480px;
    background-color: #000;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: transform 6s ease;
}

.carousel-item.active img {
    transform: scale(1.04);
}

.carousel-caption {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    text-align: left;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(9,9,13,0.95) 100%);
    z-index: 10;
}

.slider-category {
    background-color: var(--accent-yellow);
    color: #09090d;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.slider-title {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 14px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Cards */
.card-custom {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-line);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: var(--transition);
}

.card-custom:hover {
    transform: translateY(-4px);
    border-color: var(--border-line-hover);
    box-shadow: var(--shadow);
}

.card-custom-img-wrapper {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.card-custom-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-custom:hover .card-custom-img-wrapper img {
    transform: scale(1.06);
}

.card-custom-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-custom-meta {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-yellow);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.card-custom-meta .text-muted {
    color: var(--text-muted) !important;
    text-transform: none;
    font-weight: 500;
}

.card-custom-title {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-custom-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: auto;
}

/* Sidebar Ads/Widgets */
.sidebar-panel {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-line);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.sidebar-panel h5 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 15px;
    border-left: 3px solid var(--accent-yellow);
    padding-left: 10px;
    margin-bottom: 15px;
}

/* Detail Page */
.detail-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--border-line);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #e2e8f0;
}

.detail-content p {
    margin-bottom: 20px;
}

.detail-image {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-line);
    margin-bottom: 24px;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent-yellow);
}

.breadcrumb-item.active {
    color: var(--text-main);
}

/* Live score wrapper */
.score-widget-wrapper {
    background-color: var(--bg-dark-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-line);
    position: relative;
}

/* Helper styles */
.text-danger {
    color: var(--accent-yellow) !important;
}

.btn-danger {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #09090d !important; /* Premium contrast */
}

.btn-danger:hover {
    background-color: var(--accent-yellow-hover);
    border-color: var(--accent-yellow-hover);
    color: #09090d !important;
}

.btn-outline-danger {
    color: var(--accent-yellow);
    border-color: var(--accent-yellow);
}

.btn-outline-danger:hover {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #09090d;
}

.page-link {
    background-color: var(--bg-dark-card);
    border-color: var(--border-line);
    color: var(--text-main);
}

.page-link:hover {
    background-color: var(--bg-hover-card);
    color: var(--accent-yellow);
    border-color: var(--border-line);
}

.page-item.active .page-link {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #09090d;
}

.page-item.disabled .page-link {
    background-color: var(--bg-black);
    border-color: var(--border-line);
    color: var(--text-muted);
}

/* Hover Accent */
.hover-accent:hover {
    color: var(--accent-yellow) !important;
}

/* CSS Media Queries for Responsive Design */
@media (max-width: 768px) {
    .carousel-item {
        height: 320px;
    }
    
    .carousel-caption {
        padding: 20px;
    }
}
