/* styles.css (updated with logo styles) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Poppins', system-ui, sans-serif;
}

:root {
    --primary-text: #E0FBFC;
    --secondary-text: #B8C4C7;
    --accent-color: #4CAF50;
    --danger-color: #F44336;
    --background-dark: #1a1f2c;
    --card-background: rgba(255, 255, 255, 0.1);
}

body {
    color: var(--primary-text);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

body {
    background: linear-gradient(135deg, #0a0f24 0%, #141b33 100%);
    color: #e0fbfc;
    line-height: 1.6;
    transition: all 0.3s ease;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body.dark-mode {
    background: linear-gradient(135deg, #121620 0%, #1a2635 100%);
    color: #e0fbfc;
}

.navbar {
    background: linear-gradient(135deg, #060d28 0%, #111b3d 100%);
    padding: 1rem 2.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 90px;
    border-bottom: 3px solid #3B82F6;
}

.logo {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    transition: all 0.3s ease;
    flex: 0 0 auto;
    margin-right: 20px;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #1a1a1a, #333);
    border-radius: 50%;
    border: 2px solid #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.logo-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    line-height: 1;
}

.logo-text {
    font-size: 1.2em;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: 1px;
}

.logo-year {
    font-size: 1em;
    font-weight: 700;
    color: #ff4d4d;
}

.trophy-icon {
    font-size: 0.8em;
    margin-top: 2px;
}

.predictor-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Poppins', sans-serif;
}

.predictor-text span {
    font-size: 1.2em;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.pro-badge {
    display: inline-block;
    font-size: 1.2em !important;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    margin-top: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .logo-circle {
        width: 45px;
        height: 45px;
    }
    
    .logo-text {
        font-size: 1em;
    }
    
    .logo-year {
        font-size: 0.8em;
    }
    
    .predictor-text span {
        font-size: 1em;
    }
    
    .pro-badge {
        font-size: 0.6em !important;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.logo h1 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.6rem 1rem;
        height: 70px;
    }
    .hero {
        margin-top: 70px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }
}

@media (min-width: 1200px) {
    .navbar {
        height: 90px;
    }

    .logo h1 {
        font-size: 2rem;
    }
}

.logo:hover h1 {
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.2);
}

.logo:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin-left: auto;
    align-items: center;
    height: 100%;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.nav-links li a:hover,
.nav-links li a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
}

.dark-mode-toggle {
    color: white;
    font-size: 1.5rem;

.match-section.recent-performance {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.match-section.recent-performance h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.match-section.recent-performance .team-prediction {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.match-section.recent-performance .detail-label {
    color: #ccc;
    margin: 5px 0;
    font-size: 0.9em;
}

.match-section.recent-performance .detail-value {
    color: #fff;
    margin: 5px 0;
    font-weight: 500;
}

    cursor: pointer;
    float: right;
    margin: 0 1rem;
}

.hamburger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.page {
    min-height: 100vh;
    padding: 15px 20px;
    display: none;
}

.page.active {
    display: block;
}

.hero {
    text-align: center;
    padding: 20px 15px;
    margin-top: 15px;
    background: linear-gradient(rgba(10, 31, 68, 0.95), rgba(0, 0, 0, 0.9)), url('https://source.unsplash.com/random/1920x1080?cricket,stadium') center/cover fixed;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    border-bottom: 6px solid #3B82F6;
    position: relative;
    overflow: hidden;
    min-height: clamp(60vh, 70vh, 80vh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        padding: clamp(30px, 6vh, 80px) 15px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 15px;
        min-height: auto;
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 15px 40px;
        min-height: auto;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 0.5rem;
    }

    .hero-content {
        padding: 20px;
        margin: 20px 10px;
        width: calc(100% - 20px);
    }

    .nav-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature {
        padding: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding: clamp(90px, 14vh, 130px) 30px clamp(50px, 9vh, 90px);
    }

    .hero-content {
        padding: 30px;
        margin: 30px auto;
        width: calc(100% - 60px);
    }

    .nav-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1025px) {
    .hero {
        padding: clamp(100px, 15vh, 150px) 40px clamp(60px, 10vh, 100px);
    }

    .hero-content {
        max-width: 1200px;
        margin: 40px auto;
        padding: 40px;
        width: calc(100% - 80px);
    }

    .nav-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 15px 50px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 0.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin: 15px auto;
    }

    .hero-subtext {
        font-size: 0.95rem;
        margin: 15px auto;
        padding: 10px;
    }

    .nav-features {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }

    .feature {
        padding: 20px;
    }

    .time-table-highlight,
    .predictor-highlight,
    .completed-matches-highlight,
    .venues-highlight,
    .why-choose-highlight {
        padding: 15px;
        margin: 15px auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature {
        padding: 25px;
    }
}

@media (min-width: 1025px) {
    .hero-content {
        max-width: 1200px;
        margin: 0 auto;
    }

    .nav-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 109, 0, 0.2), transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

.hero-content {
    max-width: min(1200px, 95%);
    width: 100%;
    margin: clamp(15px, 4vh, 40px) auto;
    padding: clamp(20px, 4vw, 40px);
    background: linear-gradient(145deg, rgba(10, 31, 68, 0.9), rgba(26, 45, 95, 0.85));
    border-radius: clamp(12px, 2vw, 25px);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 15px;
        margin: 10px;
        width: calc(100% - 20px);
    }
}

@media (max-width: 768px) {
    .hero-content {
        margin: 10px auto;
        padding: 15px;
        width: calc(100% - 20px);
    }
}

.hero-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    to {
        transform: translateX(100%);
    }
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.3em);
    line-height: 1.8;
    margin: 25px auto;
    max-width: 800px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
    padding: 0 15px;
    word-wrap: break-word;
}

.hero-subtext {
    font-size: clamp(0.9rem, 2vw, 1.15em);
    color: #e8e8e8;
    margin: 20px auto;
    max-width: 750px;
    line-height: 1.7;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    word-wrap: break-word;
}

.quick-nav {
    margin: clamp(20px, 4vh, 40px) auto;
    padding: clamp(15px, 2.5vw, 25px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    border-radius: clamp(12px, 2vw, 16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    width: calc(100% - clamp(20px, 4vw, 40px));
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
}

.nav-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(10px, 2vw, 20px);
    padding: clamp(10px, 2vw, 20px);
}

@media (max-width: 768px) {
    .quick-nav {
        padding: 15px;
        margin: 15px auto;
    }

    .nav-features {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .quick-nav {
        margin: 15px auto;
        padding: 15px;
        width: calc(100% - 30px);
    }

    .feature {
        padding: 15px;
        margin: 5px 0;
    }

    .feature h4 {
        font-size: 1.1rem;
        margin: 5px 0;
    }

    .feature p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

.nav-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(10px, 2vw, 20px);
    padding: 15px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .nav-features {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .nav-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature {
    padding: clamp(20px, 3vw, 30px);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature h4 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin: 8px 0;
}

.feature p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.5;
}

.hero-content {
    padding: clamp(20px, 3vw, 40px);
    margin: clamp(20px, 4vw, 40px) auto;
    width: calc(100% - 30px);
    max-width: 1400px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 800px;
    margin: 25px auto;
}

.hero-subtext {
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    max-width: 750px;
    margin: 20px auto;
}

.nav-features {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    padding: 15px;
}

.feature {
    flex: 0 1 200px;
    min-width: 180px;
}

.feature {
    padding: clamp(15px, 3vw, 25px);
    background: linear-gradient(to bottom, #484848, #272727);
    border-radius: clamp(12px, 2vw, 20px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: clamp(50px, 10vh, 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.feature h4 {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    margin: clamp(8px, 2vh, 15px) 0;
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .feature {
        padding: 12px;
        min-height: 45px;
    }

    .feature h4 {
        font-size: 0.9rem;
        margin: 6px 0;
    }
}

@media (max-width: 768px) {
    .feature {
        padding: 10px;
        min-height: 50px;
    }

    .feature h4 {
        font-size: 0.9em;
        margin: 5px 0;
    }
}

.feature:hover {
    background: linear-gradient(to bottom, #555555, #333333);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4),
                inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.feature:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.feature h4 {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 8px 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .nav-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 10px;
    }

    .feature {
        padding: 12px 20px;
        min-height: 50px;
    }

    .feature h4 {
        font-size: 0.8rem;
    }
}

@media (min-width: 1200px) {
    .nav-features {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 30px auto;
    }
}

.feature:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-button {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature span {
    font-size: 2em;
    margin-bottom: 10px;
    display: block;
}

.feature h4 {
    color: #ffffff;
    margin: 10px 0;
}

.time-table-highlight,
.predictor-highlight,
.completed-matches-highlight,
.venues-highlight,
.why-choose-highlight {
    margin: 40px auto;
    padding: 35px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translateZ(0);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.section-header i {
    font-size: clamp(1.5em, 4vw, 2em);
    color: #4CAF50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.section-header h3 {
    font-size: clamp(1.2em, 3.5vw, 1.8em);
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .section-header {
        padding: 10px;
        gap: 10px;
    }

    .section-header h3 {
        font-size: 1.2em;
    }
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 2em;
    color: #4CAF50;
    margin-bottom: 15px;
}

.feature-card h4 {
    color: #fff;
    font-size: 1.2em;
    margin: 10px 0;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    line-height: 1.6;
}

.action-banner {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
    border-radius: 12px;
    text-align: center;
}

.highlight-tip {
    font-size: 1.2em;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 20px;
    }

    .section-header h3 {
        font-size: 1.4em;
    }
}

.time-table-highlight:hover,
.predictor-highlight:hover,
.completed-matches-highlight:hover,
.venues-highlight:hover,
.why-choose-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.section-header {
    font-size: 2em;
    color: #fff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.section-header span {
    font-size: 1.2em;
}

.features-list {
    margin: 25px 0;
}

.features-list ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.features-list li {
    margin: 10px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.features-list li:before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 50%;
    color: #4CAF50;
    font-weight: bold;
}

.features-list li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.1);
}

.highlight-tip {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
    border-radius: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.highlight-tip:before {
    content: '💡';
    font-size: 1.5em;
}

.section-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 0;
}

@media (max-width: 768px) {
    .time-table-highlight,
    .predictor-highlight,
    .completed-matches-highlight,
    .venues-highlight,
    .why-choose-highlight {
        padding: 20px;
        margin: 20px auto;
    }

    .section-header {
        font-size: 1.5em;
    }

    .features-list ul {
        grid-template-columns: 1fr;
    }

    .highlight-tip {
        padding: 15px;
        font-size: 0.9em;
    }
}

.features-list ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features-list li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
}

.highlight-tip {
    margin-top: 20px;
    padding: 15px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 8px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-content {
        width: 95%;
        margin: 20px auto;
        padding: 15px;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 10px;
        margin: 15px auto;
    }

    .hero-subtext {
        font-size: 0.9rem;
        padding: 15px;
        margin: 15px auto;
    }

    .nav-features {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .feature {
        padding: 12px;
        margin: 5px 0;
    }

    h1 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        padding: 0 10px;
    }

    h2 {
        font-size: clamp(1.2rem, 3vw, 1.6rem);
        padding: 0 10px;
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.countdown {
    margin-top: 2rem;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 10px;
    display: inline-block;
}

.filter-container {
    max-width: 900px;
    width: 100%;
    margin: 20px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 20px;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .filter-container {
        width: calc(100% - 20px);
        padding: 15px;
        margin: 10px auto;
    }
}

.filter-container .form-group {
    position: relative;
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 11;
}

.filter-container .form-group:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.filter-container label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 1em;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.filter-container select,
.filter-container input {
    width: 100%;
    padding: 8px 30px 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 12;
    pointer-events: auto;
}

.filter-container .form-group {
    position: relative;
    z-index: 1;
}

.filter-container select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23555%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px auto;
}

.filter-container input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    padding: 12px 35px 12px 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1em;
    color: #2d3748;
    cursor: text;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-container input[type="date"]::-webkit-datetime-edit {
    padding: 0;
}

.filter-container input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    background: transparent;
}

.filter-container input[type="date"]::-webkit-datetime-edit-text {
    color: #4a5568;
    padding: 0 0.3em;
}

.filter-container input[type="date"]::-webkit-datetime-edit-month-field,
.filter-container input[type="date"]::-webkit-datetime-edit-day-field,
.filter-container input[type="date"]::-webkit-datetime-edit-year-field {
    padding: 0;
    color: #2d3748;
}

.filter-container input[type="date"]::-webkit-inner-spin-button {
    display: none;
}

.filter-container input[type="date"]::-webkit-calendar-picker-indicator {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 24 24"><path fill="%23666666" d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"/></svg>');
    width: 30px;
    height: 30px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.filter-container input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
}

.filter-container input[type="date"]:hover::-webkit-calendar-picker-indicator {
    background-color: rgba(0, 0, 0, 0.04);
}

.filter-container input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 1;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: transparent;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.filter-container input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.filter-container input[type="date"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    background: #fff;
}

.filter-container input[type="date"]:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-container select:hover,
.filter-container select:focus,
.filter-container input:hover,
.filter-container input:focus {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

.filter-container select:hover,
.filter-container input:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(20, 40, 60, 0.9);
    transform: translateY(-1px);
}

.filter-container select:focus,
.filter-container input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.filter-container select option {
    background: #004ba0;
    color: white;
}

body {
    overflow-x: hidden;
}

.timetable-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.filter-container {
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.schedule-container {
    width: 100%;
    padding: 20px 0;
    margin: 0 auto;
    box-sizing: border-box;
}

.today-matches-section,
.upcoming-matches-section,
.past-matches-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}

@media (min-width: 769px) {
    .today-matches-section,
    .upcoming-matches-section,
    .past-matches-section {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .schedule-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        max-width: 1200px;
        gap: 30px;
    }

    #timetable .match-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .timetable-wrapper {
        padding: 10px;
        width: 100%;
    }

    .filter-container {
        width: 100%;
        padding: 15px;
        margin: 10px auto;
    }

    .schedule-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
        width: 100%;
    }

    #timetable .match-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
}

#timetable .match-card {
    background: linear-gradient(145deg, rgba(14, 30, 43, 0.95), rgba(32, 45, 58, 0.95));
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

#timetable .match-date,
#timetable .match-teams,
#timetable .match-time,
#timetable .match-venue {
    width: 100%;
    text-align: center;
    margin: 5px 0;
}

#timetable .match-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    background: linear-gradient(145deg, rgba(14, 30, 43, 0.95), rgba(32, 45, 58, 0.95));
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 769px) {
    #timetable .match-card {
        width: 300px;
        transform: translateZ(0);
    }

    #timetable .match-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }
}

#timetable .match-teams,
#timetable .match-date,
#timetable .match-time,
#timetable .match-venue {
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .table-wrapper {
        width: 95%;
        padding: 10px;
    }

    .schedule-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    #timetable .match-card {
        width: 90%;
        margin: 0 auto 20px;
        padding: 20px;
    }

    #timetable .match-teams {
        padding: 15px 10px;
    }

    #timetable .match-date,
    #timetable .match-time,
    #timetable .match-venue {
        padding: 8px 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.today-matches-section {
    margin-bottom: 40px;
}

.section-title {
    color: #fff;
    font-size: 1.1em;
    margin: 10px 0;
    padding: 8px 15px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 8px;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.today-match {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.15), rgba(32, 45, 58, 0.95));
    transform: scale(1.02);
}

.match-card {
    background: linear-gradient(145deg, rgba(14, 30, 43, 0.95), rgba(32, 45, 58, 0.95));
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}


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

body.dark-mode .match-card {
    background: #2d1b4e;
    color: #e0e0e0;
}

.match-card:hover {
    transform: translateY(-15px) rotateX(10deg) scale(1.02);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
}

.match-teams {
    font-size: 1.2em;
    font-weight: 600;
    padding: 12px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transform: translateZ(20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.vs-text {
    font-size: 0.9em;
    font-weight: 700;
    color: #2563eb;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0 12px;
    flex-shrink: 0;
}

body.dark-mode .vs-text {
    color: #60a5fa;
}

.match-date {
    font-size: 1.3em;
    color: #3182ce;
    font-weight: 600;
    padding: 10px;
    background: #ebf8ff;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    transform: translateZ(15px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.match-time {
    font-size: 1.1em;
    color: #4a5568;
    padding: 10px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transform: translateZ(10px);
}

.match-venue {
    font-size: 1em;
    color: #4a5568;
    padding: 10px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transform: translateZ(5px);
}

.match-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(30deg);
    transition: all 0.5s ease;
}

.match-card:hover::before {
    top: -70%;
    left: -70%;
}

/* Enhanced Team Logo Styles */
.team-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    font-weight: 700;
    font-size: 0.9em;
    position: relative;
    text-shadow: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    flex-shrink: 0;
    z-index: 1;
    text-align: center;
    letter-spacing: 0.5px;
    margin: 0 auto;
    place-self: center;
}

.team-prediction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: clamp(10px, 3vw, 12px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateZ(20px);
    transition: all 0.3s ease;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

#venueInsights .team-prediction .team-logo {
    margin: 0 auto;
    display: flex;
}

#venueInsights .team-prediction {
    text-align: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .team-logo {
        width: 40px;
        height: 40px;
        margin: 0 8px;
        font-size: 0.8em;
    }
}

.team-logo:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.4),
        inset 0 2px 8px rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Team-specific styles with official IPL colors */
.team-logo.CSK {
    background: linear-gradient(135deg, #FFD700, #FDB913);
    color: #000;
    font-weight: bold;
    border-color: #FDB913;
}

.team-logo.MI {
    background: linear-gradient(135deg, #004BA0, #003A70);
    color: #fff;
    border-color: #00A3E0;
}

.team-logo.RCB {
    background: linear-gradient(135deg, #EC1C24, #8B0000);
    color: #fff;
    border-color: #EC1C24;
}

.team-logo.KKR {
    background: linear-gradient(135deg, #3A225D, #2E1A47);
    color: #FFD700;
    border-color: #B3A123;
}

.team-logo.DC {
    background: linear-gradient(135deg, #282968, #1A1B47);
    color: #fff;
    border-color: #00A3E0;
}

.team-logo.PBKS {
    background: linear-gradient(135deg, #ED1B24, #A51890);
    color: #fff;
    border-color: #ED1B24;
}

.team-logo.RR {
    background: linear-gradient(135deg, #FF69B4, #E91E63);
    color: #fff;
    border-color: #254AA5;
}

.team-logo.SRH {
    background: linear-gradient(135deg, #FF822A, #E05C25);
    color: #000;
    border-color: #FF822A;
}

.team-logo.GT {
    background: linear-gradient(135deg, #1B2133, #15192A);
    color: #fff;
    border-color: #1B2133;
}

.team-logo.LSG {
    background: linear-gradient(135deg, #A7D5F8, #78B5E9);
    color: #000;
    border-color: #78B5E9;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    body {
        background: linear-gradient(135deg, #0a0f24 0%, #141b33 100%);
        background-attachment: fixed;
    }

    .navbar {
        background: linear-gradient(135deg, #060d28 0%, #111b3d 100%);
    }

    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 1.8rem;
        padding: 0.5rem;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        width: 100%;
        position: fixed;
        top: 60px;
        left: 0;
        background: linear-gradient(135deg, #060d28 0%, #111b3d 100%);
        flex-direction: column;
        padding: 20px 0;
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    }

    .match-card,
    .predictor-container,
    .result-card,
    .venue-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: none;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li a {
        padding: 15px 20px;
        width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 20px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .countdown {
        font-size: 1.2rem;
        padding: 15px;
        margin: 20px;
    }

    .filter-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .filter-container select,
    .filter-container input {
        width: 100%;
        margin: 5px 0;
    }

    .table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0;
        padding: 0;
    }

    .schedule-container {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 15px;
        margin: 0;
        width: 100%;
        min-width: 320px;
        box-sizing: border-box;
    }

    .match-card {
        padding: 15px;
        margin: 0;
        width: 100%;
        min-width: unset;
    }

    .match-teams {
        font-size: 1em;
        padding: 8px;
        gap: 8px;
    }

    .team-logo {
        width: 36px;
        height: 36px;
        font-size: 0.9em;
        margin: 0 6px;
    }

    .match-date {
        font-size: 1em;
        padding: 8px;
    }

    .match-time,
    .match-venue {
        font-size: 0.9em;
        padding: 8px;
    }

    .form-comparison {
        flex-direction: column;
        gap: 15px;
    }

    .team-form-card {
        width: 100%;
    }

    .form-badges {
        flex-wrap: wrap;
        justify-content: space-around;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .schedule-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .filter-container {
        padding: 0 20px;
    }
}

@media (min-width: 1025px) {
    .schedule-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Enhanced Section Headers */
#timetable h1,
#predictor h1,
#about h1,
#venues h1,
#completed h1 {
    text-align: center;
    margin: 0;
    padding: 60px 20px 20px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: headerGlow 2s ease-in-out infinite alternate;
}

#timetable h1::after,
#predictor h1::after,
#about h1::after,
#venues h1::after,
#completed h1::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    border-radius: 2px;
}

@keyframes headerGlow {
    from {
        filter: drop-shadow(0 0 2px rgba(99, 102, 241, 0.2));
    }

    to {
        filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.6));
    }
}

/* Completed Matches Styles */
:root {
  --primary-bg: #1a237e;
  --card-bg: rgba(26, 35, 126, 0.95);
  --accent: #2196f3;
  --accent-2: #4caf50;
  --text: #ffffff;
  --text-muted: #e3f2fd;
  --border: #3f51b5;
  --glow: #2196f3;
}

#completed .match-card {
  background: linear-gradient(145deg, rgba(14, 30, 43, 0.95), rgba(32, 45, 58, 0.95));
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

#completed .match-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(82, 130, 255, 0.3);
}

#completed .match-header {
  background: linear-gradient(145deg, rgba(33, 150, 243, 0.2), rgba(63, 81, 181, 0.2));
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(33, 150, 243, 0.3);
}

#completed .match-number {
  font-size: 1.4em;
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#completed .match-date {
  font-size: 1.2em;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
}

#completed .match-teams {
  font-size: 1.3em;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  margin: 15px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#completed .match-result {
  text-align: center;
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
  padding: 12px;
  margin: 12px 0;
  background: #4caf50;
  border-radius: 4px;
}

#completed .match-details {
  background: #283593;
  padding: 15px;
  border-radius: 4px;
  margin-top: 12px;
}

#completed .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#completed .detail-row:last-child {
  border-bottom: none;
}

#completed .detail-label {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1em;
}

#completed .detail-value {
  color: var(--text);
  font-size: 1.1em;
}

@media (max-width: 768px) {
  #completed .match-card {
    padding: 15px;
  }

  #completed .match-header {
    padding: 15px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  #completed .match-number {
    font-size: 1.2em;
  }

  #completed .match-date {
    font-size: 1em;
  }

  #completed .match-teams {
    font-size: 1.1em;
    padding: 15px;
  }

  #completed .detail-row {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}

#completed h1 {
  text-align: center;
  margin: 0;
  padding: 60px 20px 20px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: headerGlow 2s ease-in-out infinite alternate;
}

#completed h1::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #6366f1, transparent);
  border-radius: 2px;
}

#completed .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

#completed .matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 20px;
  justify-items: center;
  margin: 0 auto;
  max-width: 1400px;
}

#completed .match-card {
  background: linear-gradient(145deg, rgba(14, 30, 43, 0.95), rgba(32, 45, 58, 0.95));
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(82, 130, 255, 0.3);
  position: relative;
  overflow: hidden;
  color: #fff;
  margin-bottom: 30px;
  width: 100%;
  max-width: 460px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

#completed .match-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(82, 130, 255, 0.5);
}

#completed .match-header {
  background: linear-gradient(145deg, rgba(33, 150, 243, 0.2), rgba(63, 81, 181, 0.2));
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(33, 150, 243, 0.3);
}

#completed .match-number {
  font-size: 1.4em;
  color: #2196f3;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#completed .match-date {
  font-size: 1.1em;
  padding: 8px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  display: block;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
  text-transform: capitalize;
}

#completed .match-teams {
  font-size: 1.3em;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  margin: 15px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

#completed .match-teams .vs-text {
  color: #FF6B6B;
  font-weight: 700;
  font-size: 1.1em;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.1));
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

#completed .match-result {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  margin: 15px 0;
  box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

#completed .match-details {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  margin-top: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#completed .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#completed .detail-row:last-child {
  border-bottom: none;
}

#completed .detail-label {
  color: #90caf9;
  font-weight: 600;
  font-size: 0.95em;
}

#completed .detail-value {
  color: #fff;
  font-size: 0.95em;
}

@media (max-width: 768px) {
  #completed .matches-grid {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 15px;
  }

  #completed .match-card {
    padding: 15px;
    margin: 10px;
    max-width: 100%;
  }

  #completed .match-header {
    padding: 15px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  #completed .match-number {
    font-size: 1.2em;
  }

  #completed .match-date {
    font-size: 1em;
  }

  #completed .match-teams {
    font-size: 1.1em;
    padding: 15px;
  }

  #completed .match-details {
    padding: 15px;
  }

  #completed .detail-row {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #completed .matches-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1025px) {
  #completed .matches-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
  }
}

#completed .match-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(30, 64, 175, 0.3);
  border-color: rgba(82, 130, 255, 0.3);
  background: linear-gradient(145deg, #243772, #1b2346);
}

#completed .match-header {
  background: #2196f3;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #1976d2;
}

#completed .match-teams {
  background: rgba(255, 255, 255, 0.08);
  padding: 15px;
  border-radius: 12px;
  margin: 15px 0;
  font-size: 1.2em;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#completed .match-info {
  margin-top: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#completed .match-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(33, 150, 243, 0.4);
  border-color: var(--accent);
}

@media (max-width: 768px) {
  #completed .matches-grid {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 15px;
  }

  #completed .match-card {
    padding: 15px;
    margin: 0 auto 15px;
    max-width: 100%;
  }

  #completed .container {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  #completed .match-card {
    padding: 15px;
    margin: 10px;
  }

  #completed .match-number {
    font-size: 1.3em;
    color: var(--accent);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  #completed .match-date {
    font-size: 1.1em;
    color: var(--text);
    margin: 8px 0;
    font-weight: 600;
  }

  #completed .match-teams {
    font-size: 1.1em;
    line-height: 1.4;
    margin: 12px 0;
    color: var(--text);
    font-weight: 600;
  }

  #completed .match-info {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text);
  }

  #completed .info-label {
    color: var(--accent-2);
    font-weight: 600;
    margin-right: 8px;
    font-size: 1em;
  }
}

#completed .match-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 22, 72, 0.2);
}

#completed .match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(33, 150, 243, 0.2), rgba(63, 81, 181, 0.2));
  border-radius: 15px;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

#completed .match-number {
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#completed .match-date {
  font-size: 1.2rem;
  color: var(--text);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#completed /* Calendar emoji removed */

#completed .match-teams {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: center;
  line-height: 1.5;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

#completed .match-info {
  margin-bottom: 10px;
}

#completed .info-label {
  color: var(--accent-2);
  font-weight: 600;
  margin-right: 8px;
}

#completed .match-links {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

#completed .match-links a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

#completed .match-links a:hover {
  color: var(--accent-2);
}

#completed .loading {
  text-align: center;
  padding: 40px;
}

#completed .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

#completed .error {
  text-align: center;
  color: var(--accent);
  padding: 20px;
  background: rgba(255, 22, 72, 0.1);
  border-radius: 8px;
  margin: 20px 0;
}

#completed .hidden {
  display: none;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {

    #timetable h1,
    #predictor h1,
    #about h1,
    #venues h1 {
        padding: 80px 15px 20px;
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        letter-spacing: 2px;
    }

    #timetable h1::after,
    #predictor h1::after,
    #about h1::after,
    #venues h1::after {
        width: 60px;
        height: 3px;
        bottom: 15px;
    }
}

@media (max-width: 480px) {

    #timetable h1,
    #predictor h1,
    #about h1,
    #venues h1 {
        padding: 70px 10px 15px;
        font-size: clamp(1.5rem, 3.5vw, 2rem);
        letter-spacing: 1px;
    }
}

body.dark-mode #timetable h1 {
    color: #63b3ed;
}

.match-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.status-completed {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: 1px solid #059669;
    animation: glowGreen 2s infinite alternate;
}

.status-today {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    border: 1px solid #D97706;
    animation: glowOrange 2s infinite alternate;
}

.status-upcoming {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
    border: 1px solid #2563EB;
    animation: glowBlue 2s infinite alternate;
}

@keyframes glowGreen {
    from { box-shadow: 0 0 5px rgba(16, 185, 129, 0.5); }
    to { box-shadow: 0 0 15px rgba(16, 185, 129, 0.8); }
}

@keyframes glowOrange {
    from { box-shadow: 0 0 5px rgba(245, 158, 11, 0.5); }
    to { box-shadow: 0 0 15px rgba(245, 158, 11, 0.8); }
}

@keyframes glowBlue {
    from { box-shadow: 0 0 5px rgba(59, 130, 246, 0.5); }
    to { box-shadow: 0 0 15px rgba(59, 130, 246, 0.8); }
}

.match-date {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    color: #3182ce;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    display: block;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    margin: 10px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.match-time {
    color: #4a5568;
    margin: 5px 0;
    font-size: 1.1em;
    font-weight: 500;
    text-shadow: none;
    padding: 4px 0;
    text-align: center;
}

.match-venue {
    font-size: 1.1em;
    color: #4a5568;
    font-family: 'Poppins', sans-serif;
    margin-top: 5px;
    /* Reduced margin */
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body.dark-mode .match-card {
    background: linear-gradient(145deg, #222831, #1a1d24);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .match-date {
    color: #3182ce;
}

body.dark-mode .match-time {
    color: #c8d6e5;
}

body.dark-mode .match-venue {
    color: #8395a7;
}

/* Predictor Styles */
#predictor h1 {
    text-align: center;
    margin: 0;
    padding: 60px 20px 20px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, #6366f1, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: headerGlow 2s ease-in-out infinite alternate;
}

#predictor h1::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    border-radius: 2px;
}

#about h1 {
    text-align: center;
    color: #fff;
    margin: 80px 0 30px;
    padding-top: 20px;
    font-size: 2.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073;
    }

    to {
        text-shadow: 0 0 20px #ff4da6, 0 0 30px #ff4da6, 0 0 40px #ff4da6;
    }
}

.predictor-container button {
    position: relative;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2b3af0, #1e2b8f);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 0 20px rgba(43, 58, 240, 0.5);
    animation: pulseGlow 2s infinite;
}

.predictor-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.predictor-container button.processing {
    background: linear-gradient(135deg, #2b3af0, #1e2b8f);
    pointer-events: none;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 0 20px rgba(43, 58, 240, 0.5);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 20px rgba(43, 58, 240, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(43, 58, 240, 0.8);
    }

    100% {
        box-shadow: 0 0 20px rgba(43, 58, 240, 0.5);
    }
}

.predictor-container button.processing::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    top: 0;
    left: -100%;
    transform: skewX(-25deg);
    animation: scanning 2s infinite;
}

@keyframes scanning {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.team-logo-prediction {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4em;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.team-logo-prediction:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.winner-prediction {
    background: linear-gradient(145deg, rgba(46, 204, 113, 0.1), rgba(46, 204, 113, 0.05));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.winner-prediction .team-name strong {
    color: #2ecc71;
    font-size: 1.1em;
}

body.dark-mode .winner-prediction .team-name strong {
    color: #00ff95;
}

/* Team-specific colors and gradients */
.team-logo.CSK,
.team-logo-prediction.CSK {
    background: linear-gradient(135deg, #FFFF3C, #FDB913);
    color: #000;
    text-shadow: none;
    border-color: #FDB913;
}

.team-logo.MI,
.team-logo-prediction.MI {
    background: linear-gradient(135deg, #004BA0, #003A70);
    border-color: #00A3E0;
}

.team-logo.RCB,
.team-logo-prediction.RCB {
    background: linear-gradient(135deg, #EC1C24, #8B0000);
    border-color: #EC1C24;
}

.team-logo.KKR,
.team-logo-prediction.KKR {
    background: linear-gradient(135deg, #3A225D, #2E1A47);
    border-color: #B3A123;
}

.team-logo.DC,
.team-logo-prediction.DC {
    background: linear-gradient(135deg, #282968, #1A1B47);
    border-color: #00A3E0;
}

.team-logo.PBKS,
.team-logo-prediction.PBKS {
    background: linear-gradient(135deg, #ED1B24, #A51890);
    border-color: #ED1B24;
}

.team-logo.RR,
.team-logo-prediction.RR {
    background: linear-gradient(135deg, #FF69B4, #E91E63);
    border-color: #254AA5;
}

.team-logo.SRH,
.team-logo-prediction.SRH {
    background: linear-gradient(135deg, #FF822A, #E05C25);
    border-color: #FF822A;
}

.team-logo.GT,
.team-logo-prediction.GT {
    background: linear-gradient(135deg, #1B2133, #15192A);
    border-color: #1B2133;
}

.team-logo.LSG,
.team-logo-prediction.LSG {
    background: linear-gradient(135deg, #A7D5F8, #78B5E9);
    color: #000;
    text-shadow: none;
    border-color: #78B5E9;
}

.team-logo:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.team-logo-prediction::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    animation: rotateLogo 3s linear infinite;
}

@keyframes rotateLogo {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.predictor-container button.processing::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg) translateX(-50%) translateY(-50%);
    animation: scanning 3s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    top: 50%;
    left: 50%;
}

.predictor-container button.processing::after {
    content: '🔮';
    position: absolute;
    right: 20px;
    top: 50%;
    transform-origin: center;
    font-size: 1.5em;
    animation: predictOrb 3s ease infinite;
}

@keyframes scanning {
    0% {
        transform: rotate(45deg) translateX(-150%) translateY(-50%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: rotate(45deg) translateX(150%) translateY(-50%);
        opacity: 0;
    }
}

@keyframes predictOrb {
    0% {
        transform: translateY(-50%) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-50%) rotate(180deg) scale(1.2);
    }

    100% {
        transform: translateY(-50%) rotate(360deg) scale(1);
    }
}

.predictor-container button.processing .button-text {
    display: inline-block;
    animation: pulseText 2s ease infinite;
}

@keyframes pulseText {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.analyzing {
    display: none;
    position: relative;
    margin: 40px auto;
padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    animation: float 3s ease-in-out infinite;
}

.analyzing::before {
    content: '🎲';
    fontsize: 2em;
    display: block;
    margin-bottom: 10px;
    animation: spin 2s linear infinite;
}

.analyzing::after {
    content: '';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes float {

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

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

@keyframes spin {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes dots {

    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60% {
        content: '...';
    }

    80% {
        content: '....';
    }

    100% {
        content: '.....';
    }
}

.predictor-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .predictor-container {
        margin: 10px;
        padding: 15px;
    }
}

@media (min-width: 768px) {
    .predictor-container {
        padding: 35px 65px;
    }
}

.predictor-container .form-group {
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.predictor-container .cricket-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cricket-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.4em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cricket-label:hover .cricket-icon {
    transform: scale(1.1) rotate(15deg);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.cricket-icon {
    font-size: 1.4em;
    margin-right: 10px;
    background: linear-gradient(135deg, #00ffff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 2px rgba(0, 255, 255, 0.5));
    font-weight: 600;
    font-size: 1.2em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 5px 0;
}

.predictor-container label::before {
    margin-right: 15px;
    display: inline-block;
    transform: translateZ(10px);
    transition: transform 0.3s ease;
}

.predictor-container .form-group:hover label::before {
    transform: translateZ(20px) scale(1.2);
}

.predictor-container select {
    width: 100%;
    padding: 12px 35px 12px 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23555%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
    padding-right: 40px;
}

.predictor-container select option {
    display: flex;
    align-items: center;
    padding: 10px;
}

.team-logo-small {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
    font-size: 0.8em;
    line-height: 24px;
    text-align: center;
    font-weight: bold;
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.predictor-container .form-group {
    position: relative;
}

.predictor-container .form-group {
    position: relative;
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .predictor-container .form-group {
        padding: 20px;
    }
}

.predictor-container .form-group:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.predictor-container label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 1em;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.predictor-container label::before {
    margin-right: 15px;
    font-size: 1.3em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.predictor-container .form-group:hover label::before {
    transform: rotate(15deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.predictor-container .form-group:has(#team1) label::before {
    content: '🏏';
    background: linear-gradient(135deg, #2c0b0b, #4a1010);
    border-color: #ff3333;
}

.predictor-container .form-group:has(#team2) label::before {
    content: '🏏';
    background: linear-gradient(135deg, #0b162c, #102a5c);
    border-color: #3366ff;
}

.predictor-container .form-group:has(#venue) label::before {
    content: '🏟️';
    background: linear-gradient(135deg, #0b2c14, #104a1e);
    border-color: #2ecc71;
}

.predictor-container .form-group:has(#tossWinner) label::before {
    content: '🎯';
    background: linear-gradient(135deg, #2c2c0b, #4a4a10);
    border-color: #f1c40f;
}

.predictor-container .form-group:has(#tossDecision) label::before {
    content: '⚡';
    background: linear-gradient(135deg, #1f0b2c, #341048);
    border-color: #9b59b6;
}

.predictor-container select:hover,
.predictor-container select:focus {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    outline: none;
}

.predictor-container .form-group:hover label {
    transform: translateX(5px);
    color: #4CAF50;
}

.predictor-container button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    border: none;
    border-radius: 15px;
    color: #fff;
    font-size: 1.3em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2);
}

.predictor-container button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: 0.5s;
}

.predictor-container button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 114, 255, 0.3);
    background: linear-gradient(45deg, #00b4ff, #0063ff);
}

.predictor-container button:hover::before {
    left: 100%;
}

.predictor-container button:active {
    transform: translateY(2px);
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.2);
}

.predictor-container button.processing {
    pointer-events: none;
    background: linear-gradient(45deg, #2193b0, #6dd5ed);
    animation: pulseBackground 2s infinite;
}

.predictor-container button.processing::after {
    content: '🎲';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
    animation: spinDice 1s linear infinite;
}

@keyframes pulseBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes spinDice {
    from {
        transform: translateY(-50%) rotate(0deg);
    }

    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes glowingButton {
    0% {
        box-shadow: 0 0 5px #FF416C;
    }

    50% {
        box-shadow: 0 0 20px #FF416C;
    }

    100% {
        box-shadow: 0 0 5px #FF416C;
    }
}

@keyframes spinLoader {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

.result {
    display: none;
    margin-top: 25px;
    padding: 20px;
    border-radius: 18px;
}

@media (min-width: 768px) {
    .result {
        margin-top: 35px;
        padding: 30px;
    }

    transform-style: preserve-3d;
    transition: all 0.5s ease;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result.show {
    animation: cardReveal 0.8s ease-out forwards;
}

@keyframes cardReveal {
    0% {
        transform: translateY(20px) rotateX(-90deg);
        opacity: 0;
    }

    100% {
        transform: translateY(0) rotateX(0);
        opacity: 1;
    }
}

.probability-bar {
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    margin: 8px 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.team-prediction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: clamp(10px, 3vw, 12px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateZ(20px);
    transition: all 0.3s ease;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.team-prediction .team-name {
    flex: 1;
    min-width: 150px;
    max-width: 100%;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    padding: 0 5px;
}

@media (max-width: 480px) {
    .team-prediction .team-name {
        min-width: calc(100% - 50px);
        font-size: 0.85rem;
        padding: 0 8px;
    }
}

.team-prediction .team-name p {
    margin: 5px 0;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    text-align: left;
    font-size: 0.95em;
    line-height: 1.5;
}

#headToHead .team-prediction .team-name p {
    white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
    padding-right: 10px;
}

@media (max-width: 480px) {
    .team-prediction {
        padding: 10px;
        gap: 8px;
    }

    .team-prediction .team-name {
        min-width: calc(100% - 60px);
        font-size: 0.9rem;
    }

    .team-logo-prediction {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .team-prediction {
        padding: 10px;
        gap: 8px;
    }

    .team-prediction .team-logo {
        width: 36px;
        height: 36px;
        font-size: 0.9em;
        flex-shrink: 0;
    }

    .team-prediction .team-name {
        flex: 1;
        min-width: calc(100% - 52px);
        font-size: 0.9em;
        line-height: 1.3;
    }

    .team-prediction .team-name p {
        margin: 4px 0;
        white-space: normal;
        word-wrap: break-word;
    }
}

#headToHead {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

#headToHead .team-prediction {
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

#headToHead .team-name {
    font-size: 0.95em;
    line-height: 1.4;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#headToHead .team-name p {
    margin: 8px 0;
    font-size: 0.9em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: center;
    width: 100%;
    padding: 0 10px;
}

#headToHead .team-logo {
    margin-bottom: 5px;
    width: 60px;
    height: 60px;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    #headToHead {
        padding: 0 10px;
    }

    #headToHead .team-prediction {
        padding: 10px;
    }

    #headToHead .team-name {
        font-size: 0.85em;
    }

    #headToHead .team-name p {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    #headToHead .team-prediction {
        padding: 10px;
    }

    #headToHead .team-name {
        font-size: 0.85em;
    }

    #headToHead .team-name p {
        margin: 4px 0;
        font-size: 0.85em;
    }

    #headToHead .team-logo {
        width: 32px;
        height: 32px;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    #headToHead .team-prediction {
        padding: 12px;
    }

    #headToHead .team-name {
        font-size: 0.9em;
    }

    #headToHead .team-name p {
        font-size: 0.85em;
        margin: 6px 0;
    }

    #headToHead .team-logo {
        width: 36px;
        height: 36px;
        font-size: 0.9em;
    }
}

.team-prediction .team-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.team-prediction:hover {
    transform: translateZ(30px) scale(1.02);
}

.team-logo-prediction {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.team-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    color: #fff;
    flex-grow: 1;
}

.probability-text {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 600;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 1;
    font-family: 'Inter', sans-serif;
}

.probability-fill {
    height: 100%;
    width: 0;
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.team1-bar .probability-fill {
    background: linear-gradient(90deg, #4CAF50, #2E7D32);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
}

.team2-bar .probability-fill {
    background: linear-gradient(90deg, #2196F3, #1565C0);
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.4);
}

.probability-fill {
    height: 100%;
    width: 0;
    border-radius: 15px;
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.probability-text {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.team1-bar .probability-fill {
    background: #2ecc71;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.4);
}

.team2-bar .probability-fill {
    background: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

.team-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.team-logo-large {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.result-card {
    border-radius: 20px;
    padding: clamp(15px, 4vw, 25px);
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.6s forwards;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
}

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

.result-card {
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.form-comparison {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 20px 0;
}

.team-form-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.team-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.team-form-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-form-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
}

.form-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
}

.form-badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.form-badge {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.match-number {
    font-size: 0.7em;
    color: rgba(255, 255, 255, 0.6);
}

.form-summary {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: #fff;
}

.form-badge.win {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 2px 5px rgba(46, 204, 113, 0.3);
}

.form-badge.loss {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.3);
}

.form-badge:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.form-badge:hover {
    transform: translateZ(10px) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.form-badge.win {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 2px 5px rgba(46, 204, 113, 0.3);
}

.form-badge.loss {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 2px5px rgba(231, 76, 60, 0.3);
}

@keyframes badgePop {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.recent-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0;
}

.result h2,
.result h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 2em;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 i.fa-chart-line {
    color: #FF0000;
    font-size: 32px;
    margin-right: 12px;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
    transition: all 0.3s ease;
}

h3 i.fa-user-friends {
    color: #4169E1;
    font-size: 32px;
    margin-right: 12px;
    text-shadow: 0 0 15px rgba(65, 105, 225, 0.7);
    transition: all 0.3s ease;
}

h3 i.fa-map-marker-alt {
    color: #FFD700;
    font-size: 32px;
    margin-right: 12px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
    transition: all 0.3s ease;
}

h3 i.fa-poll {
    color: #32CD32;
    font-size: 32px;
    margin-right: 12px;
    text-shadow: 0 0 15px rgba(50, 205, 50, 0.7);
    transition: all 0.3s ease;
}

h3 i.fa-calendar-alt {
    color: #FF69B4;
    font-size: 32px;
    margin-right:12px;
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.7);
    transition: all 0.3s ease;
}

.material-symbols-outlined {
    font-size: 36px;
    color: #00CED1;
    margin-right: 12px;
    text-shadow: 0 0 15px rgba(0, 206, 209, 0.7);
    transition: all 0.3s ease;
}

h3 i:hover,
.material-symbols-outlined:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.result p {
    color: #fff;
    margin: 10px 0;
    font-size: 1.1em;
    line-height: 1.6;
}

.venue-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.venue-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto;
    text-align: center;
}

.venue-header h3 {
    margin: 0 auto;
    color: #fff;
    font-size: clamp(1rem, 2.5vw, 1.2em);
    font-weight: 600;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
    max-width: 100%;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

@media (max-width: 480px) {
    .venue-header h3 {
        font-size: 0.95em;
        line-height: 1.5;
        padding: 0 8px;
    }
}

.section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.venues-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 30px;
    animation: fadeIn 0.5s ease-in;
}

.venue-card {
    background: linear-gradient(145deg, #1e2a4a, #151b30);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(82, 130, 255, 0.1);
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    color: #fff;
}

.venue-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.venue-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(30, 64, 175, 0.3);
    border-color: rgba(82, 130, 255, 0.3);
    background: linear-gradient(145deg, #243772, #1b2346);
}

.venue-card:hover::after {
    opacity: 1;
}

.venue-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transform: translateZ(10px);
    flex-wrap: wrap;
}

.venue-name {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.venue-city {
    color: var(--secondary-text);
    font-size: 1em;
    letter-spacing: 0.5px;
}

.venue-capacity {
    font-size: 1.1em;
    color: var(--primary-text);
    margin: 15px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateZ(5px);
}

.venue-stats {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95em;
    color: var(--secondary-text);
}

@media (max-width: 768px) {
    .venues-container {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 20px;
    }

    .venue-card {
        padding: 20px;
    }

    .venue-header {
        padding: 12px;
    }

    .venue-name {
        font-size: 1.2em;
    }

    .venue-capacity {
        padding: 10px;
        font-size: 1em;
    }
}

.loader {
    display: none;
    width: 80px;
    height: 80px;
    margin: 30px auto;
    position: relative;
    background: linear-gradient(45deg, transparent, transparent 40%, #e6f2ff);
    border-radius: 50%;
    animation: loaderSpin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.loader::before,
.loader::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.loader::before {
    inset: 5px;
    background: linear-gradient(45deg, #2196F3, #00BCD4);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
    animation: loaderPulse 1.5s ease-out infinite;
}

.loader::after {
    inset: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes loaderSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes loaderPulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

.match-details-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.match-section.prediction-details h3 {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.match-section {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .match-section {
        padding: 15px;
        margin: 10px 5px;
    }

    .match-section h3 {
        font-size: 1.1em;
    }

    .winner-prediction {
        padding: 15px;
    }

    .team-prediction {
        flex-direction: row;
        align-items: center;
        padding: 10px;
    }

    .team-logo {
        width: 40px;
        height: 40px;
        font-size: 0.9em;
    }

    .team-name {
        font-size: 1em;
        margin-left: 10px;
    }

    .detail-value {
        font-size: 1em;
    }

    .probability-bar {
        height: 30px;
        margin: 10px 0;
    }

    .probability-text {
        font-size: 0.9em;
        right: 8px;
    }
}

.match-section h3 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin-bottom: 2px;
}

.detail-value {
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 8px;
}

.winner-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin-bottom: 5px;
}

.winner-name {
    color: #4CAF50;
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
}

.prediction-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

.stat-value {
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

.venue-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.winner-prediction {
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.25), rgba(76, 175, 80, 0.15));
    border: 2px solid rgba(76, 175, 80, 0.4);
    padding: clamp(15px, 4vw, 30px);
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    backdrop-filter: blur(10px);
    transform: translateZ(0);
    width: 100%;
    box-sizing: border-box;
}

.winner-prediction .team-name {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    color: #ffffff;
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 0.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

@media (max-width: 480px) {
    .winner-prediction {
        padding: 15px;
        margin: 15px 0;
    }

    .winner-prediction .team-name {
        font-size: 1.1rem;
    }

    .probability-text {
        font-size: 0.9rem;
    }

    .expected-score {
        font-size: 0.9rem;
        padding: 8px;
    }
}

.winner-prediction::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.winner-prediction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.winner-prediction .team-name {
    font-size: 1.6em;
    color: #ffffff;
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.winner-prediction .probability-text {
    font-size: 1.2em;
    font-weight: bold;
    color: #4CAF50;
}

.expected-score {
    font-size: 1.1em;
    color: #ffffff;
    margin-top: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

#venues h1 {
    text-align: center;
    margin: 0;
    padding-top: 100px;
    font-size: 2.5em;
    color: #3182ce;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

body.dark-mode #venues h1 {
    color: #63b3ed;
}

.section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.about-content {
    color: #fff;
    line-height: 1.6;
}

.about-intro {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-align: center;
    padding: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.how-it-works, .contact-section {
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.how-it-works h2, .contact-section h2 {
    color: #4CAF50;
    margin-bottom: 15px;
}

.how-it-works ul {
    list-style: none;
    padding: 0;
}

.how-it-works ul li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.how-it-works ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #4CAF50;
}

.contact-details {
    margin-top: 15px;
}

.contact-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

.contact-details p {
    margin: 10px 0;
}