/* =====================================================
   Marathi Text & League Name Styling
   छत्रपती शिवाजी महाराज चषक
   ===================================================== */

/* Navigation Brand - League Name */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-brand span {
    /* Marathi Text Styling */
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-brand i {
    font-size: 2rem;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Hover Effect */
.nav-brand:hover span {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section - League Name */
.hero h1,
h1:has-text("छत्रपती शिवाजी महाराज चषक"),
.hero-title {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Page Headers with Marathi Text */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
}

/* Footer League Name */
footer .nav-brand span {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Ensure proper Devanagari rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Marathi Text in Cards */
.card-title,
.team-name,
.player-name {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
}

/* Responsive Typography for Marathi */
@media (max-width: 768px) {
    .nav-brand span {
        font-size: 1.1rem;
    }

    .hero h1,
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-brand span {
        font-size: 0.95rem;
        letter-spacing: 0.3px;
    }

    .hero h1,
    .hero-title {
        font-size: 1.6rem;
    }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .nav-brand span {
    text-shadow: 0 2px 8px rgba(156, 77, 204, 0.3);
}

/* Gradient Animation for League Name */
@keyframes marathi-gradient {
    0% {
        background-position: 0% center;
    }

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

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

.nav-brand span {
    background-size: 200% auto;
    animation: marathi-gradient 8s ease infinite;
}

/* Trophy Icon Enhancement */
.nav-brand i.fa-fort-awesome,
.nav-brand i.fa-trophy {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Page Title Styling */
.page-title {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 2rem;
}

/* Breadcrumb with Marathi */
.breadcrumb {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
}

/* Meta Description & SEO */
meta[content*="छत्रपती"] {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
}

/* Loading State */
.nav-brand span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-brand:hover span {
    transform: translateY(-2px);
}

/* Ensure visibility on all backgrounds */
.nav-brand span {
    position: relative;
    z-index: 10;
}

/* Print styles */
@media print {
    .nav-brand span {
        -webkit-text-fill-color: initial;
        color: #000;
    }
}