:root {
    --primary-bg: #1c0a25;
    --secondary-bg: #2d143a;
    --card-bg: rgba(69, 39, 87, 0.4);
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA8825;
    --text-main: #FFFFFF;
    --text-muted: #B3A0BA;
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--primary-bg) 0%, #0d0411 100%);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--gold), var(--gold-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo-text {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gold);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title i {
    font-size: 0.8em;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold));
    color: #000;
    border: none;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(28, 10, 37, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 5%;
}

.logo img {
    height: 60px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.logo-text {
    font-size: 2.2rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-main);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--secondary-bg);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    transition: right 0.4s ease;
}

.mobile-menu.open {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.mobile-menu .mobile-btn {
    margin-top: 20px;
    width: 100%;
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 600px;
    position: relative;
}

.hero .swiper-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: var(--primary-bg);
}

.slide-bg-1 {
    background-image: url('Background header.jpg');
}

.slide-bg-2 {
    background-image: url('https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--primary-bg) 0%, rgba(28, 10, 37, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    color: var(--gold);
    line-height: 0.9;
    margin-bottom: 25px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 50px rgba(212, 175, 55, 0.3);
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 40px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.swiper-pagination-bullet {
    background: var(--text-main);
}

.swiper-pagination-bullet-active {
    background: var(--gold);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--gold);
}

/* General Section Styling */
.section {
    padding: 80px 0;
}

/* Fixtures Section */
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    background: transparent;
    color: var(--text-muted);
    border: 2px solid var(--text-muted);
    padding: 8px 24px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.match-card {
    background: rgba(45, 20, 58, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.4s ease;
}

.match-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    background: rgba(45, 20, 58, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.1);
}

.match-card:hover::before {
    height: 100%;
}

.match-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.match-status {
    color: var(--gold);
}

.match-status.highlight {
    color: #ff4757;
    animation: pulse 2s infinite;
}

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

.team {
    text-align: center;
    width: 40%;
}

.team-logo {
    width: 95px;
    height: 95px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.match-card:hover .team-logo {
    transform: scale(1.1) rotate(3deg);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.team h3 {
    font-size: 20px;
    letter-spacing: 1px;
    color: var(--text-main);
    font-weight: 600;
}

.vs {
    font-family: var(--font-heading);
    font-size: 38px;
    color: var(--gold);
    font-weight: 700;
    opacity: 0.8;
}

.match-footer {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

/* Teams Section */
.teams-section {
    background-image: url('https://images.unsplash.com/photo-1531415074968-036ba1b575da?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.teams-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 10, 37, 0.85);
    /* Overlay for readability */
    z-index: 1;
}

.teams-section .container {
    position: relative;
    z-index: 2;
}

/* Teams Section Redesign (Image 3 style) */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 15px;
}

.title-icon {
    height: 40px;
    vertical-align: middle;
    margin-right: 15px;
}

.team-nav-buttons {
    display: flex;
    gap: 15px;
    position: relative;
    width: 100px;
    height: 40px;
}

.team-nav-buttons .swiper-button-next,
.team-nav-buttons .swiper-button-prev {
    position: static;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    border-radius: 8px;
    margin: 0;
}

.team-nav-buttons .swiper-button-next::after,
.team-nav-buttons .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.teams-swiper {
    padding: 60px 40px !important;
    overflow: hidden !important;
}

.teams-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.team-card {
    height: 280px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
    z-index: 2;
}

.team-card:hover::after {
    left: 100%;
}

.team-card:hover::after {
    left: 100%;
}

.team-card:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
}

/* Team Card Backgrounds with Zoom Effect */
.card-tigers {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(74, 48, 0, 0.8)), url('https://images.unsplash.com/photo-1546182990-dffeafbe841d?auto=format&fit=crop&q=80&w=600');
    background-size: 100% 100%;
    transition: background-size 0.8s ease;
}

.card-royals {
    background: linear-gradient(135deg, rgba(0, 26, 77, 0.8), rgba(0, 51, 102, 0.8)), url('https://images.unsplash.com/photo-1590073844006-33379778ae09?auto=format&fit=crop&q=80&w=600');
    background-size: 100% 100%;
    transition: background-size 0.8s ease;
}

.card-strickers {
    background: linear-gradient(135deg, rgba(77, 0, 0, 0.8), rgba(153, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1518331647614-7a1f04cd34cf?auto=format&fit=crop&q=80&w=600');
    background-size: 100% 100%;
    transition: background-size 0.8s ease;
}

.card-crown {
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.8), rgba(138, 43, 226, 0.8)), url('https://images.unsplash.com/photo-1557683316-973673baf926?auto=format&fit=crop&q=80&w=600');
    background-size: 100% 100%;
    transition: background-size 0.8s ease;
}

.card-kings {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.8), rgba(218, 165, 32, 0.8)), url('https://images.unsplash.com/photo-1564391779221-cd7b02450bd9?auto=format&fit=crop&q=80&w=600');
    background-size: 100% 100%;
    transition: background-size 0.8s ease;
}

.card-warriors {
    background: linear-gradient(135deg, rgba(0, 77, 0, 0.8), rgba(0, 128, 0, 0.8)), url('https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?auto=format&fit=crop&q=80&w=600');
    background-size: 100% 100%;
    transition: background-size 0.8s ease;
}

.card-harricanes {
    background: linear-gradient(135deg, rgba(0, 56, 147, 0.8), rgba(220, 20, 60, 0.8)), url('https://images.unsplash.com/photo-1544735716-392fe2489ffa?auto=format&fit=crop&q=80&w=600');
    background-size: 100% 100%;
    transition: background-size 0.8s ease;
}

.team-card:hover.card-tigers,
.team-card:hover.card-royals,
.team-card:hover.card-strickers,
.team-card:hover.card-crown,
.team-card:hover.card-kings,
.team-card:hover.card-warriors,
.team-card:hover.card-harricanes {
    background-size: 120% 120%;
}

.team-card-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
    transition: all 0.4s ease;
    margin-bottom: 20px;
}

.team-card:hover .team-card-logo {
    transform: scale(1.05);
}

.team-card-info {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.team-card:hover .team-card-info {
    transform: translateY(-5px);
}

.team-card-info h4 {
    font-size: 20px;
    line-height: 1.2;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.team-card-info h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.team-card:hover .team-card-info h4::after {
    width: 80%;
}

@media (max-width: 768px) {
    .team-card {
        height: 350px;
    }

    .team-card-logo {
        width: 120px;
        height: 120px;
    }

    .team-card-info h4 {
        font-size: 24px;
    }
}

/* Coming Soon Message */
.coming-soon-message {
    text-align: center;
    padding: 100px 20px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px dashed var(--gold);
    margin-top: 20px;
}

.coming-soon-message h3 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.coming-soon-message p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Points Table */
.points-table-section {
    background: rgba(45, 20, 58, 0.4);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.points-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    text-align: center;
}

.points-table tr td {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.points-table tr td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px 0 0 12px;
}

.points-table tr td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 12px 12px 0;
}

.points-table tr:hover td {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold);
    transform: scale(1.01);
    transition: all 0.3s ease;
    border-color: rgba(212, 175, 55, 0.2);
}

.points-table th {
    background: var(--gold-dark);
    color: #000;
    padding: 15px;
    font-weight: 700;
    font-size: 14px;
}

.points-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--card-bg);
}

.points-table tr:hover td {
    background: rgba(212, 175, 55, 0.1);
}

.points-table .top-team td {
    position: relative;
}

.points-table .top-team td:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gold);
}

.team-name {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    font-weight: 600;
}

.mini-logo {
    width: 35px;
    height: 35px;
    background: #fff;
    border: 1px solid var(--gold);
    border-radius: 50%;
    object-fit: contain;
    padding: 3px;
}

.table-footer {
    margin-top: 15px;
    text-align: right;
    font-size: 13px;
    color: var(--gold);
    font-weight: 600;
}

/* Footer */
.footer {
    background: #110617;
    position: relative;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-hashtag {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    color: rgba(255, 255, 255, 0.05);
    letter-spacing: 5px;
    margin-bottom: 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.footer-links a {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* Keyframes */
@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 900px) {

    .nav-links,
    .nav-actions .btn-primary {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .match-footer {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .vs {
        font-size: 24px;
    }

    .team h3 {
        font-size: 16px;
    }

    .placeholder-logo {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .team-circle {
        width: 90px;
        height: 90px;
        font-size: 30px;
    }
}