/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none !important;
}

a {
    text-decoration: none;
    color: #d20515;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(210, 5, 21, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(3, 105, 161, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-top: 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-bottom: 4px solid transparent;
    background-image: linear-gradient(135deg, #fff 0%, #f8fafc 100%), linear-gradient(90deg, #d20515, #ff6b6b, #d20515);
    background-origin: border-box;
    background-clip: content-box, border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    background: linear-gradient(135deg, #d20515, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.logo .tagline {
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.search-box {
    display: flex;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 30px;
    padding: 6px;
    border: 2px solid rgba(210, 5, 21, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.search-box:focus-within,
.search-box.search-focused {
    border-color: #d20515;
    box-shadow: 0 4px 20px rgba(210, 5, 21, 0.15);
    transform: translateY(-1px);
    background: linear-gradient(135deg, #fff, #f8fafc);
}

.search-box input {
    border: none;
    background: none;
    padding: 12px 18px;
    outline: none;
    width: 280px;
    font-size: 15px;
    color: #1a202c;
    font-weight: 500;
}

.search-box input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.search-box button {
    border: none;
    background: linear-gradient(135deg, #d20515, #ff6b6b);
    color: white;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(210, 5, 21, 0.3);
}

.search-box button:hover {
    background: linear-gradient(135deg, #a50414, #e53e3e);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(210, 5, 21, 0.4);
}

.search-box button:active {
    transform: scale(0.95);
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    list-style: none;
}

.main-nav li {
    flex: 1;
}

.main-nav a {
    display: block;
    padding: 15px 20px;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.main-nav a:hover::before {
    left: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    background: linear-gradient(135deg, #d20515, #ff6b6b);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 5, 21, 0.3);
}

.main-nav a.active {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    margin-bottom: 30px;
    height: 420px;
    border: 1px solid rgba(210, 5, 21, 0.1);
}

.carousel-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    transform: translateX(0);
    visibility: hidden;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.carousel-slide img {
    width: 60%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.3s ease;
}

.carousel-slide:hover img {
    filter: brightness(1) contrast(1.2);
}

.slide-content {
    width: 40%;
    padding: 40px;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(210, 5, 21, 0.02) 0%, rgba(210, 5, 21, 0.05) 100%);
    pointer-events: none;
}

.slide-content .category {
    background: linear-gradient(135deg, #d20515, #ff6b6b);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(210, 5, 21, 0.3);
    position: relative;
    z-index: 1;
}

.slide-content h2 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a202c;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.slide-content p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-btn {
    background: linear-gradient(135deg, rgba(210, 5, 21, 0.9), rgba(255, 107, 107, 0.9));
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    box-shadow: 0 4px 16px rgba(210, 5, 21, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #d20515, #ff6b6b);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(210, 5, 21, 0.4);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.indicator.active {
    background: white;
    border-color: #d20515;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(210, 5, 21, 0.3);
}

/* News Section */
.news-section {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(210, 5, 21, 0.1);
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d20515, #ff6b6b, #d20515);
}

.section-title {
    color: #1a202c;
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    background: linear-gradient(90deg, #d20515, #ff6b6b) bottom/100% 3px no-repeat;
    display: inline-block;
    font-weight: 700;
    position: relative;
}

.news-grid {
    display: grid;
    gap: 20px;
}

/* News Cards */
.news-card {
    display: flex;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 1px solid rgba(210, 5, 21, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(210, 5, 21, 0.02) 0%, rgba(210, 5, 21, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.news-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(210, 5, 21, 0.15);
    border-color: rgba(210, 5, 21, 0.2);
}

.news-card:hover::before {
    opacity: 1;
}

.news-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
    border: 2px solid rgba(210, 5, 21, 0.15);
    box-shadow: 0 4px 16px rgba(210, 5, 21, 0.1);
}

.news-card img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    flex-shrink: 0;
    transition: all 0.3s ease;
    filter: brightness(0.95) contrast(1.05);
}

.news-card:hover img {
    filter: brightness(1) contrast(1.1);
    transform: scale(1.05);
}

.news-card.featured img {
    width: 200px;
    height: 150px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.card-content .category {
    background: linear-gradient(135deg, #d20515, #ff6b6b);
    color: white;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(210, 5, 21, 0.3);
    letter-spacing: 0.5px;
}

.card-content h3 {
    color: #1a202c;
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 15px;
    flex: 1;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-card:hover .card-content h3 {
    color: #d20515;
}

.news-card.featured .card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.card-content p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(210, 5, 21, 0.1);
}

.card-meta .time {
    font-weight: 500;
    color: #9ca3af;
}

.card-meta .odds {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0369a1;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid rgba(3, 105, 161, 0.2);
    box-shadow: 0 2px 4px rgba(3, 105, 161, 0.1);
    transition: all 0.3s ease;
}

.card-meta .odds:hover {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(3, 105, 161, 0.2);
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Widget Styles */
.widget {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(210, 5, 21, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d20515, #ff6b6b, #d20515);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.widget:hover::before {
    opacity: 1;
}

.widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(210, 5, 21, 0.1);
}

.widget-title {
    color: #1a202c;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid transparent;
    background: linear-gradient(90deg, #d20515, #ff6b6b) bottom/100% 3px no-repeat;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    position: relative;
}

.widget-link {
    display: block;
    text-align: center;
    color: #d20515;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    padding: 12px 20px;
    border: 2px solid #d20515;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, transparent, rgba(210, 5, 21, 0.05));
    position: relative;
    overflow: hidden;
}

.widget-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.widget-link:hover {
    background: linear-gradient(135deg, #d20515, #ff6b6b);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(210, 5, 21, 0.3);
}

.widget-link:hover::before {
    left: 100%;
}

/* Prediction Widget */
.prediction-widget {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0369a1;
}

.prediction-card {
    border-radius: 8px;
    overflow: hidden;
}

.match-info {
    background: #fff;
    padding: 15px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    border-bottom: 2px solid #0369a1;
}

.teams {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.vs {
    color: #d20515;
    margin: 0 10px;
}

.time {
    color: #666;
    font-size: 0.9rem;
}

.prediction-content {
    padding: 15px;
    background: #fff;
    border-radius: 0 0 8px 8px;
}

.prediction-content h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.odds-display {
    background: #0369a1;
    color: white;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 15px;
}

.odds-value {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
}

.odds-label {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.reasoning h5 {
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.reasoning ul {
    list-style: none;
    padding: 0;
}

.reasoning li {
    color: #666;
    font-size: 0.85rem;
    padding: 3px 0;
    padding-left: 15px;
    position: relative;
}

.reasoning li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
}

.confidence {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.confidence-label {
    font-size: 0.9rem;
    color: #333;
    font-weight: bold;
}

.confidence-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #16a34a);
    transition: width 0.5s ease;
}

.confidence-value {
    font-weight: bold;
    font-size: 0.9rem;
}

/* Live Scores Widget */
.live-matches {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.match-item {
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px;
    background: #fafafa;
}

.match-item.live {
    border-color: #16a34a;
    background: #f0fdf4;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.league {
    font-size: 0.8rem;
    color: #666;
    font-weight: bold;
}

.status {
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 10px;
    background: #e5e7eb;
    color: #374151;
}

.live-indicator {
    background: #16a34a !important;
    color: white !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.match-teams {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-name {
    font-size: 0.9rem;
    color: #333;
}

.score {
    font-weight: bold;
    color: #d20515;
    font-size: 1.1rem;
}

/* Betting Tips Widget */
.bookmaker-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bookmaker-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #eee;
}

.bookmaker-info strong {
    color: #333;
    font-size: 0.95rem;
}

.rating {
    display: block;
    font-size: 0.8rem;
    margin-top: 2px;
}

.bonus {
    background: #16a34a;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Quick Stats Widget */
.quick-stats {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.quick-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d20515, #ff6b6b, #d20515);
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(210, 5, 21, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.stat-icon {
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(210, 5, 21, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background: rgba(210, 5, 21, 0.2);
    transform: scale(1.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #d20515;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(210, 5, 21, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 5, 21, 0.15);
}

.stat-item:hover::before {
    transform: scaleY(1);
}

.stat-item:last-child {
    border-bottom: 1px solid rgba(210, 5, 21, 0.1);
}

.stat-label {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
    line-height: 1.4;
}

.stat-value {
    color: #d20515;
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(135deg, #d20515, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: right;
    min-width: 60px;
    position: relative;
}

.stat-value::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #d20515, #ff6b6b);
    border-radius: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover .stat-value::after {
    opacity: 1;
}

/* Анимация появления статистики */
.stat-item {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Специальные стили для разных типов статистики */
.stat-item:nth-child(1) .stat-value {
    color: #059669;
    background: linear-gradient(135deg, #059669, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(2) .stat-value {
    color: #dc2626;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(3) .stat-value {
    color: #7c3aed;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(4) .stat-value {
    color: #d20515;
    background: linear-gradient(135deg, #d20515, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Search Results Styles */
.search-results-container {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 1px solid rgba(210, 5, 21, 0.1);
    border-radius: 15px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-results-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d20515, #ff6b6b, #d20515);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(210, 5, 21, 0.1);
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.search-results-header h2 {
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-search {
    background: linear-gradient(135deg, #d20515, #ff6b6b);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(210, 5, 21, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-search:hover {
    background: linear-gradient(135deg, #a50414, #e53e3e);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(210, 5, 21, 0.4);
}

.close-search:active {
    transform: scale(0.95);
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 30px;
}

.search-result-item {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 1px solid rgba(210, 5, 21, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.search-result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(210, 5, 21, 0.02) 0%, rgba(210, 5, 21, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.search-result-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(210, 5, 21, 0.15);
    border-color: rgba(210, 5, 21, 0.2);
}

.search-result-item:hover::before {
    opacity: 1;
}

.result-category {
    background: linear-gradient(135deg, #d20515, #ff6b6b);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(210, 5, 21, 0.3);
}

.result-title {
    color: #1a202c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.result-content {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
}

.search-highlight {
    background: linear-gradient(135deg, rgba(210, 5, 21, 0.1), rgba(255, 107, 107, 0.1));
    border: 2px solid rgba(210, 5, 21, 0.3);
    box-shadow: 0 0 0 4px rgba(210, 5, 21, 0.1);
    animation: highlightPulse 2s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(210, 5, 21, 0.1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(210, 5, 21, 0.2);
    }
}

/* Search Loading Styles */
.search-results-container.search-loading {
    text-align: center;
    padding: 40px 30px;
}

.search-loading-content {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(210, 5, 21, 0.1);
    border-top: 4px solid #d20515;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.search-loading-content p {
    color: #6b7280;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* No Results Styles */
.search-results-container.no-results {
    text-align: center;
    padding: 40px 30px;
}

.no-results-content {
    padding: 30px 0;
}

.no-results-content p {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.search-suggestions {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(210, 5, 21, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.search-suggestions h3 {
    color: #1a202c;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li {
    color: #4a5568;
    padding: 8px 0;
    border-bottom: 1px solid rgba(210, 5, 21, 0.1);
    font-weight: 500;
    transition: color 0.3s ease;
}

.search-suggestions li:last-child {
    border-bottom: none;
}

.search-suggestions li:hover {
    color: #d20515;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #d20515;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle:hover .hamburger-line {
    background: #a50414;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile search box - hidden on desktop */
.mobile-search-box {
    display: none;
}

/* Mobile overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
}


/* Enhanced mobile menu animations */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Staggered animation for menu items */
.main-nav.mobile-open ul li {
    animation: fadeInScale 0.3s ease forwards;
    opacity: 0;
    transform: scale(0.95);
}

.main-nav.mobile-open ul li:nth-child(1) { animation-delay: 0.05s; }
.main-nav.mobile-open ul li:nth-child(2) { animation-delay: 0.1s; }
.main-nav.mobile-open ul li:nth-child(3) { animation-delay: 0.15s; }
.main-nav.mobile-open ul li:nth-child(4) { animation-delay: 0.2s; }
.main-nav.mobile-open ul li:nth-child(5) { animation-delay: 0.25s; }
.main-nav.mobile-open ul li:nth-child(6) { animation-delay: 0.3s; }

/* Mobile Search Results */
@media (max-width: 768px) {
    .search-results-container {
        margin: 15px;
        border-radius: 12px;
    }
    
    .search-results-header {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .search-results-header h2 {
        font-size: 1.2rem;
    }
    
    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .search-result-item {
        padding: 15px;
    }
    
    .no-results-content {
        padding: 20px 0;
    }
    
    .search-suggestions {
        padding: 20px;
    }
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    margin-top: 50px;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #d20515;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d20515;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: block;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
}

.disclaimer {
    background: #d20515;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    color: #ccc;
    font-size: 0.8rem;
}

.copyright a {
    color: #d20515;
    text-decoration: none;
}

.disclaimer-small {
    font-size: 0.7rem;
    color: #999;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* Responsive Design */
/* Page-specific styles */

/* Live Results Page Styles */
.live-header {
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
}

.live-match-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #16a34a;
}

.match-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.live-time {
    background: #16a34a;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.league-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.live-teams {
    margin-bottom: 15px;
}

.team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d20515;
    min-width: 30px;
    text-align: center;
}

.live-events {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.event {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.event:last-child {
    margin-bottom: 0;
}

.event-time {
    background: #374151;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    min-width: 35px;
    text-align: center;
}

.event-icon {
    font-size: 1.1rem;
}

.live-odds {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}

.odds-values {
    display: flex;
    gap: 10px;
}

.odd {
    background: #e5e7eb;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.fixtures-by-league {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.league-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.league-title {
    color: #d20515;
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.fixture-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.fixture-time {
    font-weight: bold;
    color: #d20515;
    min-width: 50px;
}

.fixture-teams {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.fixture-odds {
    display: flex;
    gap: 8px;
}

.fixture-prediction {
    font-size: 0.9rem;
    color: #059669;
    background: #ecfdf5;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #16a34a;
}

.results-grid {
    display: grid;
    gap: 15px;
}

.result-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.final-status {
    background: #6b7280;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.result-teams {
    margin-bottom: 10px;
}

.team-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.result-score {
    font-weight: bold;
    font-size: 1.2rem;
    color: #6b7280;
}

.result-score.winner {
    color: #16a34a;
}

.result-stats {
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
}

/* Betting Tips Page Styles */
.betting-header {
    background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
}

.tip-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #d20515;
}

.tip-card.premium {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.tip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tip-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.premium-badge {
    background: #f59e0b;
}

.value-badge {
    background: #8b5cf6;
}

.tip-match-info {
    margin-bottom: 20px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.match-details {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
}

.tip-prediction h3 {
    color: #d20515;
    margin-bottom: 15px;
    text-align: center;
}

.tip-odds-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #d20515;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.odds-value {
    font-size: 2rem;
    font-weight: bold;
}

.odds-label {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.tip-analysis {
    line-height: 1.6;
}

.tip-reasons ul {
    list-style: none;
    padding: 0;
}

.tip-reasons li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.tip-reasons li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
}

.tip-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
}

.stat-value {
    font-weight: bold;
    color: #d20515;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.performance-stats {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.performance-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.performance-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.performance-number {
    font-size: 2rem;
    font-weight: bold;
    color: #16a34a;
    margin-bottom: 5px;
}

.performance-label {
    font-size: 0.9rem;
    color: #666;
}

.recent-tips-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-tip {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.recent-tip.won {
    border-left: 4px solid #16a34a;
}

.recent-tip.lost {
    border-left: 4px solid #dc2626;
}

.tip-result {
    font-size: 1.2rem;
}

.tip-info {
    flex: 1;
}

.tip-match {
    font-weight: bold;
    margin-bottom: 3px;
}

.tip-bet {
    font-size: 0.9rem;
    color: #666;
}

.tip-outcome {
    font-weight: bold;
    font-size: 0.9rem;
}

.recent-tip.won .tip-outcome {
    color: #16a34a;
}

.recent-tip.lost .tip-outcome {
    color: #dc2626;
}

/* Predictions Page Styles */
.predictions-header {
    background: linear-gradient(135deg, #8b5cf6, #a855f7) !important;
}

.main-prediction {
    margin-bottom: 40px;
}

.prediction-of-day {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #0369a1;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(3, 105, 161, 0.15);
}

.prediction-header-main {
    text-align: center;
    margin-bottom: 25px;
}

.prediction-header-main h2 {
    color: #0369a1;
    margin-bottom: 10px;
}

.prediction-date {
    color: #666;
    font-size: 1.1rem;
}

.main-prediction-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.prediction-badge-main {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.confidence-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: white;
}

.confidence-badge.high {
    background: #16a34a;
}

.confidence-badge.medium {
    background: #f59e0b;
}

.teams-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.team-main {
    text-align: center;
}

.team-logo-main {
    font-size: 3rem;
    margin-bottom: 15px;
}

.team-details h3 {
    color: #333;
    margin-bottom: 10px;
}

.team-form-main {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.form-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
}

.form-dot.win {
    background: #16a34a;
}

.form-dot.draw {
    background: #f59e0b;
}

.form-dot.loss {
    background: #dc2626;
}

.vs-main {
    text-align: center;
}

.vs-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0369a1;
    margin-bottom: 10px;
}

.match-info-main {
    font-size: 0.9rem;
    color: #666;
}

.prediction-tip-main {
    text-align: center;
    margin-bottom: 30px;
}

.prediction-tip-main h3 {
    color: #0369a1;
    margin-bottom: 15px;
}

.odds-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0369a1;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
}

.odds-value-main {
    font-size: 2.5rem;
    font-weight: bold;
}

.odds-label-main {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.prediction-analysis-main {
    line-height: 1.6;
}

.analysis-section {
    margin-bottom: 25px;
}

.key-factors {
    margin-bottom: 25px;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.factor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.factor-icon {
    font-size: 1.5rem;
}

.factor-text strong {
    display: block;
    margin-bottom: 3px;
}

.factor-text span {
    font-size: 0.9rem;
    color: #666;
}

.statistics-comparison {
    margin-bottom: 25px;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-comparison {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.stat-label {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.stat-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-team {
    min-width: 80px;
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-bar-fill {
    background: #0369a1;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
}

.reasoning-list {
    list-style: none;
    padding: 0;
}

.reasoning-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.reasoning-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
    font-size: 1.1rem;
}

.betting-recommendation {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 20px;
}

.recommendation-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rec-label {
    font-weight: 500;
}

.rec-value {
    font-weight: bold;
    color: #16a34a;
}

.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.prediction-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #8b5cf6;
}

.prediction-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.prediction-league {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.teams-small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
    margin-bottom: 5px;
}

.match-time {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.prediction-summary {
    line-height: 1.5;
}

.key-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
}

.key-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.stat-icon {
    font-size: 1rem;
}

.recommendation-small {
    background: #f0f9ff;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Contact Page Styles */
.contact-header {
    background: linear-gradient(135deg, #0369a1, #0284c7) !important;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-details h3 {
    color: #d20515;
    margin-bottom: 15px;
}

.contact-details p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.contact-details a {
    color: #0369a1;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d20515;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.impressum {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.impressum-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.impressum-section h3 {
    color: #d20515;
    margin-bottom: 10px;
}

.impressum-section h4 {
    color: #333;
    margin: 15px 0 8px 0;
}

.gambling-disclaimer {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 8px;
    padding: 20px;
}

.gambling-disclaimer h3 {
    color: #dc2626 !important;
}

/* Privacy Page Styles */
.privacy-header {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6) !important;
}

.last-updated {
    background: #f3f4f6;
    color: #374151;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 15px;
}

.privacy-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.privacy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-section h2 {
    color: #d20515;
    margin-bottom: 20px;
}

.privacy-section h3 {
    color: #333;
    margin: 20px 0 10px 0;
}

.contact-box {
    background: #f8f9fa;
    border-left: 4px solid #0369a1;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.cookie-types {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-type {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #0369a1;
}

.cookie-type h4 {
    color: #0369a1;
    margin-bottom: 10px;
}

.cookie-controls {
    margin: 20px 0;
    text-align: center;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.right-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #16a34a;
}

.right-item h4 {
    color: #16a34a;
    margin-bottom: 10px;
}

.security-measures {
    background: #f0f9ff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.security-measures h3 {
    color: #0369a1;
    margin-bottom: 15px;
}

.security-measures ul {
    list-style: none;
    padding: 0;
}

.security-measures li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}

.security-measures li:before {
    content: "🔒";
    position: absolute;
    left: 0;
}

.gambling-privacy {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 8px;
    padding: 20px;
}

.gambling-warning {
    background: #fef2f2;
    border: 2px solid #dc2626;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.gambling-warning h3 {
    color: #dc2626;
    margin-bottom: 10px;
}

/* Legal Page Styles */
.legal-header {
    background: linear-gradient(135deg, #374151, #4b5563) !important;
}

.legal-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    color: #d20515;
    margin-bottom: 20px;
}

.gambling-warning-section {
    background: #fef2f2;
    border: 2px solid #dc2626;
    border-radius: 10px;
    padding: 25px;
}

.warning-box {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.warning-box.critical {
    background: #dc2626;
    color: white;
    border-color: #991b1b;
}

.warning-box h3 {
    margin-bottom: 10px;
}

.help-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.help-contact {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #16a34a;
}

.help-contact h4 {
    color: #16a34a;
    margin-bottom: 10px;
}

.responsible-gambling {
    background: #f0f9ff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.responsible-gambling h4 {
    color: #0369a1;
    margin: 15px 0 10px 0;
}

.breadcrumb {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #d20515;
    text-decoration: none;
}

.page-header {
    background: linear-gradient(135deg, #d20515, #f56565);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Bundesliga Table Styles */
.table-container {
    overflow-x: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.league-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.league-table th,
.league-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.league-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
    position: sticky;
    top: 0;
}

.league-table .team-name {
    text-align: left;
    min-width: 180px;
    font-weight: 500;
}

.team-logo {
    margin-right: 8px;
    font-size: 1.1rem;
}

.champions-league {
    background: rgba(22, 163, 74, 0.1);
    border-left: 4px solid #16a34a;
}

.europa-league {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
}

.europa-conference {
    background: rgba(249, 115, 22, 0.1);
    border-left: 4px solid #f97316;
}

.odds-cell {
    background: #d20515;
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
}

.table-legend {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.legend-item {
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    color: white;
}

/* Match Cards */
.matches-grid {
    display: grid;
    gap: 20px;
}

.match-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.league {
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.date {
    font-weight: bold;
    color: #d20515;
}

.match-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.team.away {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.match-odds {
    display: flex;
    gap: 8px;
}

.odds-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px 12px;
    min-width: 50px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.odds-row:hover {
    border-color: #d20515;
}

.odds-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 4px;
}

.odds-value {
    font-weight: bold;
    color: #d20515;
    font-size: 1.1rem;
}

.match-prediction {
    background: #f0f9ff;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    border-left: 4px solid #0369a1;
    color: #0c4a6e;
}

/* Scorers and Stats */
.scorers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scorer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.scorer-item:hover {
    background: #e5e7eb;
}

.rank {
    font-weight: bold;
    color: #d20515;
    width: 30px;
    text-align: center;
}

.player-info {
    flex: 1;
}

.player-info strong {
    display: block;
    color: #333;
    font-size: 0.95rem;
}

.player-info .team {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

.goals {
    background: #16a34a;
    color: white;
    padding: 6px 10px;
    border-radius: 50%;
    font-weight: bold;
    min-width: 35px;
    text-align: center;
    font-size: 0.9rem;
}

.cl-goals {
    background: #1e40af !important;
}

/* Transfer News */
.transfer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transfer-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #d20515;
}

.transfer-type {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    align-self: flex-start;
}

.transfer-type.incoming {
    background: #16a34a;
    color: white;
}

.transfer-type.outgoing {
    background: #dc2626;
    color: white;
}

.transfer-type.rumor {
    background: #f59e0b;
    color: white;
}

.transfer-info {
    flex: 1;
}

.transfer-info strong {
    display: block;
    color: #333;
    margin-bottom: 4px;
}

.transfer-details {
    font-size: 0.85rem;
    color: #666;
    display: block;
    margin-bottom: 4px;
}

.transfer-fee {
    font-size: 0.8rem;
    color: #d20515;
    font-weight: bold;
}

/* Betting Tips */
.tips-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tip-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #d20515;
}

.tip-match {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.tip-prediction {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.tip-odds {
    background: #d20515;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 12px;
}

.tip-confidence {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
}

.tip-confidence span:first-child {
    font-weight: 500;
    color: #374151;
}

.tip-confidence span:last-child {
    font-weight: bold;
    color: #16a34a;
    min-width: 35px;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        order: -1;
    }
    
    .carousel-slide {
        flex-direction: column;
    }
    
    .carousel-slide img {
        width: 100%;
        height: 50%;
    }
    
    .slide-content {
        width: 100%;
        height: 50%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .search-results-grid {
        grid-template-columns: 1fr;
    }
    
    .search-results-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .search-results-header h2 {
        font-size: 1.2rem;
    }
    
    .search-tags {
        justify-content: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .search-box {
        display: none;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        padding: 20px;
        overflow-y: auto;
        height: 100vh;
        width: 100vw;
    }
    
    .main-nav.mobile-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Hide header elements when mobile menu is open */
    .header.mobile-menu-open .header-top {
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .header.mobile-menu-open .header-top .logo,
    .header.mobile-menu-open .header-top .search-box {
        display: none;
    }
    
    .mobile-search-box {
        display: flex;
        background: linear-gradient(135deg, #f8fafc, #e2e8f0);
        border-radius: 30px;
        padding: 6px;
        border: 2px solid rgba(210, 5, 21, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        margin-bottom: 40px;
        width: 100%;
        max-width: 400px;
        animation: fadeInScale 0.4s ease forwards;
        opacity: 0;
        transform: scale(0.9);
        animation-delay: 0.1s;
    }
    
    .mobile-search-box input {
        border: none;
        background: none;
        padding: 12px 18px;
        outline: none;
        width: 100%;
        font-size: 15px;
        color: #1a202c;
        font-weight: 500;
    }
    
    .mobile-search-box input::placeholder {
        color: #9ca3af;
        font-weight: 400;
    }
    
    .mobile-search-box button {
        border: none;
        background: linear-gradient(135deg, #d20515, #ff6b6b);
        color: white;
        padding: 10px 14px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 16px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 8px rgba(210, 5, 21, 0.3);
    }
    
    .mobile-search-box button:hover {
        background: linear-gradient(135deg, #a50414, #e53e3e);
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(210, 5, 21, 0.4);
    }
    
    .mobile-search-box.search-focused {
        border-color: #d20515;
        box-shadow: 0 4px 20px rgba(210, 5, 21, 0.15);
        transform: translateY(-1px);
        background: linear-gradient(135deg, #fff, #f8fafc);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 400px;
    }
    
    .main-nav li {
        flex: none;
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 20px 30px;
        font-size: 1.2rem;
        font-weight: 600;
        color: #e2e8f0;
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .main-nav a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .main-nav a:hover::before {
        left: 100%;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        background: linear-gradient(135deg, #d20515, #ff6b6b);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(210, 5, 21, 0.3);
    }
    
    .main-nav a.active {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
    }
    
    /* Enhanced mobile menu styles */
    .main-nav.mobile-open {
        animation: slideInFromLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .main-nav.mobile-closing {
        animation: slideOutToLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Mobile menu item hover effects */
    .main-nav a {
        position: relative;
        overflow: hidden;
    }
    
    .main-nav a::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: left 0.6s ease;
    }
    
    .main-nav a:hover::after {
        left: 100%;
    }
    
    /* Mobile menu accessibility improvements */
    .main-nav a:focus {
        outline: 2px solid #d20515;
        outline-offset: 4px;
    }
    
    .mobile-menu-toggle:focus {
        outline: 2px solid #d20515;
        outline-offset: 2px;
    }
    
    /* Smooth transitions for all mobile menu elements */
    .main-nav,
    .main-nav ul,
    .main-nav li,
    .main-nav a {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hero-carousel {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 1.2rem;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-card img,
    .news-card.featured img {
        width: 100%;
        height: 150px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Page-specific mobile styles */
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .league-table {
        font-size: 0.8rem;
    }
    
    .league-table th,
    .league-table td {
        padding: 8px 4px;
    }
    
    .league-table .team-name {
        min-width: 120px;
    }
    
    .match-teams {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
    
    .match-odds {
        justify-content: center;
    }
    
    .team.away {
        justify-content: center;
        flex-direction: row;
    }
    
    .table-legend {
        justify-content: center;
        text-align: center;
    }
    
    .transfer-item {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .main-nav a {
        font-size: 1rem;
        padding: 15px 25px;
    }
    
    .main-nav {
        padding: 20px;
        height: 100vh;
        width: 100vw;
    }
    
    .main-nav ul {
        gap: 20px;
        max-width: 350px;
    }
    
    .mobile-search-box {
        max-width: 350px;
        margin-bottom: 30px;
    }
    
    .mobile-menu-toggle {
        width: 25px;
        height: 25px;
        padding: 6px;
    }
    
    .hamburger-line {
        height: 2px;
    }
    
    .main-nav ul {
        gap: 20px;
        max-width: 280px;
    }
    
    .search-box {
        display: none;
    }
}

/* Landscape orientation support for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .main-nav {
        padding: 20px;
        justify-content: center;
        height: 100vh;
        width: 100vw;
    }
    
    .main-nav ul {
        gap: 15px;
        max-width: 500px;
    }
    
    .main-nav a {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
    
    .mobile-search-box {
        max-width: 400px;
        margin-bottom: 25px;
    }
    
    .hero-carousel {
        height: 250px;
    }
}

/* Very small screens in landscape */
@media (max-width: 480px) and (orientation: landscape) {
    .main-nav {
        padding: 20px;
        height: 100vh;
        width: 100vw;
        justify-content: center;
    }
    
    .main-nav ul {
        gap: 12px;
        max-width: 400px;
    }
    
    .main-nav a {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .mobile-search-box {
        max-width: 350px;
        margin-bottom: 20px;
    }
}

/* High DPI display support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hamburger-line {
        height: 2px;
    }
    
    .mobile-menu-toggle {
        padding: 6px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .main-nav,
    .main-nav ul,
    .main-nav li,
    .main-nav a,
    .mobile-menu-toggle,
    .hamburger-line,
    .mobile-nav-overlay {
        transition: none !important;
        animation: none !important;
    }
    
    .main-nav.mobile-open ul li {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
    
    .slide-content {
        padding: 15px;
    }
    
    .slide-content h2 {
        font-size: 1.1rem;
    }
    
    .widget {
        padding: 15px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .page-header {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .match-card {
        padding: 15px;
    }
    
    .odds-row {
        padding: 8px 10px;
        min-width: 45px;
    }
    
    .tip-item {
        padding: 12px;
    }
    
    /* Quick Stats Mobile Styles */
    .quick-stats {
        margin-bottom: 20px;
    }
    
    .stats-list {
        gap: 8px;
    }
    
    .stat-item {
        padding: 10px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .stat-content {
        width: 100%;
        justify-content: flex-start;
    }
    
    .stat-icon {
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 2px;
    }
    
    .stat-value {
        font-size: 0.9rem;
        text-align: right;
        min-width: auto;
        align-self: flex-end;
    }
    
    .stat-item:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(210, 5, 21, 0.1);
    }
    
    /* Упрощенная анимация для мобильных */
    .stat-item {
        animation: fadeInUp 0.4s ease forwards;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

/* Large screens support for mobile menu */


/* Extra large mobile screens */
@media (max-width: 768px) and (min-height: 800px) {
    .main-nav ul {
        gap: 30px;
        max-width: 450px;
    }
    
    .main-nav a {
        padding: 25px 35px;
        font-size: 1.3rem;
    }
    
    .mobile-search-box {
        max-width: 450px;
        margin-bottom: 50px;
    }
}