/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #0ea5e9;
    --light-color: #f1f5f9;
    --dark-color: #1e3a8a;
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-dark: #1e3a8a;
    --white: #ffffff;
    --primary-light: #dbeafe;
    --warning-light: #fef3c7;
    --info-light: #e0f2fe;
    --success-light: #d1fae5;
    --error-light: #fee2e2;
    --error-color: #ef4444;
    --border-light: #e2e8f0;
    --shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
    --shadow-hover: 0 5px 25px rgba(37, 99, 235, 0.15);
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    height: 60px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.logo-text span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    display: block;
    font-weight: 400;
    border-radius: 0;
    transition: background-color 0.3s ease;
    background: none;
}

.dropdown-menu a:hover {
    background-color: var(--light-blue);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(30, 58, 138, 0.8));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content .highlight {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Team Photo Section */
.team-photo-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.team-photo-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-content {
    padding: 40px;
}

.team-photo-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.team-photo-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.team-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.team-photo-section .stat-number {
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

/* Latest Results */
.latest-results {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--white);
}

.latest-results .section-title {
    color: var(--white);
}

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

.result-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    color: var(--text-color);
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.result-card.win {
    border-left: 5px solid var(--success-color);
}

.result-card.loss {
    border-left: 5px solid var(--danger-color);
}

.result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.category {
    background-color: var(--bg-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

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

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.team img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
}

.team-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 20px;
}

.separator {
    color: var(--text-light);
    margin: 0 5px;
}

.result-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.result-card.win .result-status {
    color: var(--success-color);
}

.result-card.loss .result-status {
    color: var(--danger-color);
}

.results-footer {
    text-align: center;
}

/* Teams Overview */
.teams-overview {
    padding: 80px 0;
}

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

.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.team-details {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.team-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.news-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-card.featured {
    grid-column: span 2;
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
    display: block;
}

.news-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more:hover {
    color: #1d4ed8;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: #34495e;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
}

.footer-logo h3 {
    color: var(--primary-color);
    margin: 0;
}

.footer-section h4 {
    color: #f8f9fa;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-section a {
    color: #e9ecef;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e9ecef;
}

.contact-info i {
    color: var(--accent-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.schedule-info .day {
    font-weight: 500;
    color: #f8f9fa;
}

.schedule-info .time {
    display: block;
    font-size: 0.9rem;
    color: #e9ecef;
    margin-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #e9ecef;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        box-shadow: var(--shadow);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        position: relative;
    }
    
    .nav-menu a {
        display: block;
        color: var(--text-dark);
        padding: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        background: #f8f9fa;
        box-shadow: none;
        border-radius: 0;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
    }

    .dropdown-menu a {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
        border-bottom: 1px solid #e9ecef;
    }

    .dropdown-toggle i {
        margin-left: auto;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        border-radius: 0;
        border-bottom: 1px solid var(--bg-light);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .team-photo-card {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        justify-content: center;
    }
    
    .results-grid,
    .teams-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-column: span 1;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .team-photo-content {
        padding: 20px;
    }
    
    .team-stats {
        gap: 20px;
    }
}

/* Enhanced Animations and Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

/* Shimmer Effect for Loading */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Gradient Backgrounds */
.gradient-bg-1 {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.gradient-bg-2 {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.gradient-bg-3 {
    background: linear-gradient(135deg, var(--success-color), #22c55e);
}

.gradient-bg-4 {
    background: linear-gradient(135deg, var(--warning-color), #fbbf24);
}

/* Enhanced Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.hover-scale {
    transition: all 0.3s ease;
}

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

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

/* Interactive Elements */
.interactive-card {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.interactive-card:hover::before {
    left: 100%;
}

/* Status Indicators */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: var(--success-light);
    color: var(--success-color);
}

.status-badge.inactive {
    background: var(--error-light);
    color: var(--error-color);
}

.status-badge.pending {
    background: var(--warning-light);
    color: var(--warning-color);
}

.status-badge.info {
    background: var(--info-light);
    color: var(--info-color);
}

/* Progress Indicators */
.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

/* Enhanced Typography */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.text-glow {
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* Backdrop Filters */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Enhanced Focus States */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
    border-color: var(--primary-color);
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Floating Animation */
.float {
    animation: float 6s ease-in-out infinite;
}

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

/* Bounce Animation */
.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Slide Animations */
.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

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

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

/* Glow Effect */
.glow {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
}

/* Enhanced Border Effects */
.border-gradient {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius);
}

.border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Coaches Section */
.coaches-section {
    padding: 80px 0;
    background-color: var(--white);
}

.coaches-intro {
    text-align: center;
    margin-bottom: 60px;
}

.coaches-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.coaches-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.coach-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.coach-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.coach-photo {
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.coach-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
    display: block;
    border-radius: 0;
}

/* Adattamento automatico per immagini con aspect ratio diversi */
.coach-photo img {
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
}

.coach-card:hover .coach-photo img {
    transform: scale(1.05);
}

/* Fallback per immagini mancanti */
.coach-photo img[src*="team-default.png"],
.coach-photo img[src*="coach-placeholder"] {
    object-fit: contain;
    padding: 20px;
    background-color: var(--bg-light);
}

/* Adattamento automatico responsive per diversi tipi di immagini */
.coach-photo img {
    /* Adattamento automatico basato sull'aspect ratio dell'immagine */
    aspect-ratio: 1;
    object-fit: cover;
}

/* Per immagini molto larghe */
.coach-photo img[style*="width"] {
    object-fit: cover;
    object-position: center top;
}

/* Per immagini molto alte */
.coach-photo img[style*="height"] {
    object-fit: cover;
    object-position: center center;
}

/* Media query per dispositivi mobili */
@media (max-width: 768px) {
    .coach-photo {
        height: 200px;
    }
    
    .coach-photo img {
        object-fit: cover;
        object-position: center;
    }
}

/* Caricamento progressivo delle immagini */
.coach-photo img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.coach-photo img.loaded,
.coach-photo img:not([src*="placeholder"]) {
    opacity: 1;
}

.coach-info {
    padding: 25px;
}

.coach-info h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.coach-role {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 500;
}

.coach-role i {
    font-size: 1.1rem;
}

.coach-teams h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.coach-teams ul {
    list-style: none;
    margin-bottom: 20px;
}

.coach-teams li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.coach-teams i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Coach Formation Section */
.coach-formation h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.coach-formation ul {
    list-style: none;
    margin-bottom: 20px;
}

.coach-formation li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.coach-formation i {
    color: var(--success-color);
    font-size: 0.9rem;
}

.coach-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Teams Section */
.teams-section {
    padding: 80px 0;
    background-color: var(--white);
}

.teams-intro {
    text-align: center;
    margin-bottom: 60px;
}

.teams-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.teams-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.category-section {
    margin-bottom: 60px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.category-title i {
    color: var(--primary-color);
}

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

.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-card.youth {
    border-left: 5px solid var(--accent-color);
}

.team-card.youth:hover {
    border-color: var(--accent-color);
}

.team-card.senior {
    border-left: 5px solid var(--primary-color);
}

.team-card.senior:hover {
    border-color: var(--primary-color);
}

.team-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-logo {
    font-size: 1.5rem;
    opacity: 0.9;
}

.team-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.team-info {
    padding: 25px;
}

.team-category,
.team-coach,
.team-age,
.team-championship {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.team-category {
    color: var(--accent-color);
    font-weight: 500;
}

.team-coach {
    color: var(--secondary-color);
}

.team-age,
.team-championship {
    color: var(--text-light);
}

.team-description {
    margin: 20px 0;
}

.team-description p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 90px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.9;
}

/* History Section */
.history-section {
    padding: 80px 0;
    background-color: var(--white);
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.history-text h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.history-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.history-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Methodology Section */
.methodology-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.methodology-block {
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.methodology-block:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.methodology-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.methodology-icon {
    font-size: 2rem;
    opacity: 0.9;
}

.methodology-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.methodology-content {
    padding: 30px;
}

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

.methodology-content li {
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

.methodology-content li:last-child {
    border-bottom: none;
}

.methodology-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 25px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Management Section */
.management-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.management-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.management-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.management-photo {
    height: 280px;
    overflow: hidden;
}

.management-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.management-info {
    padding: 25px;
    text-align: center;
}

.management-info h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px !important;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.stats-section .section-title {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Responsive Design for Society Page */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
        margin-top: 80px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .history-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .methodology-header {
        padding: 20px 25px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .methodology-content {
        padding: 25px 20px;
    }
    
    .values-grid,
    .management-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .coaches-grid {
        grid-template-columns: 1fr;
    }
    
    .coach-photo {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .methodology-header h3 {
        font-size: 1.2rem;
    }
    
    .methodology-content li {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .coach-photo {
        height: 180px;
    }
    
    .coach-info {
        padding: 20px;
    }
    
    .coaches-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.contact-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.contact-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-card p {
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* Social Section */
.social-section {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.social-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.social-link i {
    font-size: 1.2rem;
}

/* Bank Section */
.bank-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.bank-info {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bank-info h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.bank-details {
    display: grid;
    gap: 20px;
}

.bank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-light);
    font-size: 1.1rem;
}

.bank-item:last-child {
    border-bottom: none;
}

.bank-item strong {
    color: var(--secondary-color);
    font-weight: 600;
    min-width: 120px;
    text-align: left;
}

.bank-item span {
    color: var(--text-color);
    font-weight: 500;
    text-align: right;
    word-break: break-all;
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background-color: var(--white);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-light);
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: var(--shadow-hover);
    text-align: center;
}

.form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.form-wrapper p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form {
    text-align: left;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.required {
    color: var(--danger-color);
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: var(--danger-color);
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: 500;
    display: none;
}

.contact-form .btn {
    margin: 30px auto 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 15px 30px;
    justify-content: center;
    min-width: 200px;
}

.contact-form .btn i {
    font-size: 1rem;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        margin: 0 20px;
        padding: 40px 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bank-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .bank-item strong,
    .bank-item span {
        text-align: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .form-wrapper {
        margin: 0 15px;
        padding: 30px 20px;
    }
    
    .form-wrapper h2 {
        font-size: 1.8rem;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
}

/* Results Page Styles */
.results-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.results-intro {
    text-align: center;
    margin-bottom: 60px;
}

.basketball-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: bounce 2s infinite;
}

.basketball-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.results-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.results-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.coming-soon-section {
    margin: 60px 0;
}

.coming-soon-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-hover);
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: pulse 2s infinite;
}

.coming-soon-icon i {
    font-size: 2rem;
    color: var(--white);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.coming-soon-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.coming-soon-card p {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.9;
}

/* Team Selector Styles */
.team-selector {
    margin: 40px 0 60px;
    text-align: center;
}

.team-selector h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.team-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-button {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100px;
    box-shadow: var(--shadow-light);
}

.team-button:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.team-button.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.team-button i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.team-button:hover i,
.team-button.active i {
    color: var(--white);
}

.team-button span {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.team-button small {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Results Grid Styles */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.result-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.team-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.match-date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.home-team, .away-team {
    flex: 1;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

.our-team {
    color: var(--primary-color);
    font-weight: 600;
}

.vs {
    margin: 0 15px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.score {
    text-align: center;
    margin-bottom: 10px;
}

.score-home, .score-away {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.score-home.winner, .score-away.winner {
    color: var(--success-color);
}

.score-separator {
    margin: 0 10px;
    color: var(--text-muted);
}

.result-status {
    text-align: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.result-status.victory {
    background-color: var(--success-light);
    color: var(--success-color);
}

.result-status.defeat {
    background-color: var(--error-light);
    color: var(--error-color);
}

.result-status.draw {
    background-color: var(--warning-light);
    color: var(--warning-color);
}

/* Team Results Section */
.team-results-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-light);
}

.team-header-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.team-details span {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.team-category {
    background: var(--primary-light) !important;
    color: var(--primary-color) !important;
}

.matches-container h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.matches-list {
    display: grid;
    gap: 20px;
}

.match-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--border-light);
    transition: all 0.3s ease;
}

.match-card.giocata {
    border-left-color: var(--primary-color);
}

.match-card.programmata {
    border-left-color: var(--warning-color);
    background: linear-gradient(135deg, var(--white), var(--warning-light));
}

.match-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.match-date-time .date {
    font-weight: 600;
    color: var(--primary-color);
}

.match-date-time .time {
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

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

.match-score {
    text-align: center;
    margin-bottom: 15px;
}

.match-score .score-home,
.match-score .score-away {
    font-size: 2rem;
    font-weight: 700;
}

.match-result {
    text-align: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.match-status {
    text-align: center;
    color: var(--warning-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.match-venue {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.error-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--error-color);
}

.error-message i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--error-color);
}

.error-message h3 {
    color: var(--error-color);
    margin-bottom: 10px;
}

/* Responsive Design for Results */
@media (max-width: 768px) {
    .team-buttons {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .team-button {
        padding: 15px 10px;
        min-height: 80px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .result-header {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .teams {
        flex-direction: column;
        gap: 10px;
    }
    
    .vs {
        margin: 5px 0;
    }
    
    .team-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .match-date-time {
        justify-content: center;
    }
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--white);
}

.features-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
    font-size: 2.5rem;
}

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

.feature-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Countdown Section */
.countdown-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.countdown-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-card h2 {
    color: var(--white);
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px 20px;
    border-radius: var(--border-radius);
    min-width: 100px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
    font-weight: 500;
}

/* Responsive Design for Results Page */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        gap: 20px;
    }
    
    .countdown-item {
        min-width: 90px;
        padding: 20px 15px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .coming-soon-card {
        margin: 0 20px;
        padding: 40px 30px;
    }
    
    .basketball-icon {
        width: 80px;
        height: 80px;
    }
    
    .basketball-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .results-intro h2 {
        font-size: 2rem;
    }
    
    .features-section h2 {
        font-size: 2rem;
    }
    
    .countdown-card h2 {
        font-size: 1.8rem;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
}

/* Orari Page Styles */
.orari-section {
    padding: 80px 0;
    background-color: var(--white);
}

.orari-intro {
    text-align: center;
    margin-bottom: 60px;
}

.season-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.season-info p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.schedule-table {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.schedule-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.header-cell {
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    border-bottom: 1px solid #e2e8f0;
    transition: var(--transition);
}

.schedule-row:hover {
    background-color: var(--bg-light);
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-cell {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-cell {
    border-right: 1px solid #e2e8f0;
    text-align: center;
}

.category-cell strong {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    display: block;
}

.age {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.location-cell {
    border-right: 1px solid #e2e8f0;
    text-align: center;
}

.location-cell i {
    color: var(--accent-color);
    margin-right: 8px;
}

.time-cell i {
    color: var(--accent-color);
    margin-right: 8px;
}

.time-cell strong {
    color: var(--secondary-color);
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.info-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 2rem;
    color: var(--white);
}

.info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-card p {
    line-height: 1.6;
}

/* Responsive Design for Orari Page */
@media (max-width: 768px) {
    .schedule-header,
    .schedule-row {
        grid-template-columns: 1fr;
    }
    
    .schedule-cell {
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0;
        text-align: center;
        padding: 20px;
    }
    
    .schedule-row .schedule-cell:last-child {
        border-bottom: none;
    }
    
    .header-cell {
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    
    .header-cell:last-child {
        border-bottom: none;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .season-info h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .orari-section {
        padding: 60px 0;
    }
    
    .season-info h2 {
        font-size: 1.8rem;
    }
    
    .schedule-cell {
        padding: 15px;
    }
    
    .header-cell {
        padding: 15px;
        font-size: 1rem;
    }
    
    .info-card {
        padding: 25px;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .info-icon i {
        font-size: 1.5rem;
    }
}

/* Main Results Page Enhanced Styles */
.results-page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 90px;
    position: relative;
    overflow: hidden;
}

.results-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="90" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="30" r="2" fill="rgba(255,255,255,0.08)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.results-page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.results-page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Team Overview Cards */
.teams-overview-section {
    padding: 80px 0;
    background: var(--white);
}

.teams-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.team-overview-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.team-overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.team-overview-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.team-overview-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.team-overview-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.team-overview-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.team-overview-meta span {
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.team-overview-meta i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.team-overview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.mini-stat {
    text-align: center;
}

.mini-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.mini-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-overview-card .btn {
    width: 100%;
    margin-top: 10px;
    border-radius: 25px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.team-overview-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Category Sections */
.category-section {
    margin-bottom: 80px;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-title i {
    color: var(--primary-color);
    font-size: 2rem;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Special Category Colors */
.category-section.minibasket .team-overview-card::before {
    background: linear-gradient(90deg, #10b981, #22c55e);
}

.category-section.minibasket .team-overview-icon {
    background: linear-gradient(135deg, #10b981, #22c55e);
}

.category-section.giovanili .team-overview-card::before {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.category-section.senior .team-overview-card::before {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.category-section.senior .team-overview-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Season Info */
.season-info-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-light), rgba(255, 255, 255, 0.8));
    text-align: center;
}

.season-info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.season-info-card h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.season-info-card p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Enhanced Stats Overview */
.stats-overview-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.stats-overview-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.overall-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.overall-stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.overall-stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.overall-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.overall-stat-label {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quick Access Section */
.quick-access-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.quick-access-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.quick-access-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-access-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.quick-access-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.quick-access-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.quick-access-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.quick-access-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.quick-access-card .btn {
    border-radius: 25px;
    padding: 12px 25px;
}

/* Responsive Design for Main Results Page */
@media (max-width: 768px) {
    .results-page-header h1 {
        font-size: 2.5rem;
    }
    
    .teams-overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .team-overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .overall-stats-grid,
    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .overall-stat-number {
        font-size: 2.5rem;
    }
    
    .season-info-card {
        padding: 30px 20px;
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    .results-page-header h1 {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .overall-stats-grid,
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
    
    .team-overview-stats {
        grid-template-columns: 1fr;
    }
    
    .team-overview-card {
        padding: 25px 20px;
    }
    
    .season-info-card h2 {
        font-size: 2rem;
    }
}
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 90px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="3" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="90" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="30" r="2" fill="rgba(255,255,255,0.08)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

/* Team Info Section */
.team-info-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-light), var(--white));
}

.team-info-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: var(--transition);
}

.team-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.team-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.team-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.team-logo i {
    font-size: 2.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.team-details h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.team-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.team-meta span {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-meta i {
    font-size: 0.9rem;
    opacity: 0.9;
}

.team-meta strong {
    color: var(--white);
    font-weight: 600;
}

/* Results Section Enhanced */
.results-section {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.matches-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 60px;
}

/* Enhanced Match Card */
.match-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.match-card:hover::before {
    transform: scaleX(1);
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.match-card.played {
    border-left: 4px solid var(--success-color);
}

.match-card.scheduled {
    border-left: 4px solid var(--warning-color);
    background: linear-gradient(135deg, var(--white), var(--warning-light));
}

/* Team Stats Section */
.team-stats {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.team-stats h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
}

.team-stats h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.stat-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.stat-card.victory::before {
    background: linear-gradient(90deg, var(--success-color), #22c55e);
}

.stat-card.defeat::before {
    background: linear-gradient(90deg, var(--danger-color), #f87171);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-card.victory .stat-number {
    color: var(--success-color);
}

.stat-card.defeat .stat-number {
    color: var(--danger-color);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Section */
.navigation-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-light), var(--white));
}

.navigation-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.navigation-links .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navigation-links .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.navigation-links .btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.navigation-links .btn:hover i {
    transform: translateX(-3px);
}

.navigation-links .btn:last-child:hover i {
    transform: translateX(3px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-state h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.empty-state p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loading-text {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive Design for Team Results Pages */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
        margin-top: 80px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .team-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .team-logo {
        width: 60px;
        height: 60px;
    }
    
    .team-logo i {
        font-size: 2rem;
    }
    
    .team-details h2 {
        font-size: 2rem;
    }
    
    .team-meta {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .navigation-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .navigation-links .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .team-stats {
        padding: 30px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .match-card {
        padding: 20px;
    }
    
    .breadcrumb {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Modulistica Page Styles */
.modulistica-section {
    padding: 80px 0;
    background-color: var(--white);
}

.modulistica-intro {
    text-align: center;
    margin-bottom: 60px;
}

.modulistica-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.modulistica-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.important-notice {
    margin: 30px auto;
    max-width: 900px;
}

.notice-box {
    background: linear-gradient(135deg, var(--primary-light), rgba(255, 255, 255, 0.9));
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.notice-box.trial {
    border-color: var(--warning-color);
    background: linear-gradient(135deg, var(--warning-light), rgba(255, 255, 255, 0.9));
}

.notice-box.registration {
    border-color: var(--info-color);
    background: linear-gradient(135deg, var(--info-light), rgba(255, 255, 255, 0.9));
}

.notice-box i {
    font-size: 1.5rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.notice-box.trial i {
    color: var(--warning-color);
}

.notice-box.registration i {
    color: var(--info-color);
}

.notice-box p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.documents-category {
    margin-bottom: 60px;
}

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

.document-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.document-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin: 0 auto 20px;
}

.document-icon i {
    font-size: 2rem;
    color: var(--white);
}

.document-info {
    text-align: center;
    flex-grow: 1;
    margin-bottom: 20px;
}

.document-info h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.document-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.document-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.document-meta span {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.document-meta i {
    color: var(--accent-color);
}

.document-actions {
    text-align: center;
}

.document-actions .btn {
    width: 100%;
    max-width: 200px;
}

.document-actions .btn i {
    margin-right: 8px;
}

/* Special styling for different document types */
.document-card:nth-child(3n+1) .document-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.document-card:nth-child(3n+2) .document-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.document-card:nth-child(3n+3) .document-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* Featured document card */
.document-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.02), rgba(42, 82, 152, 0.02));
}

.document-card.featured::before {
    content: "PRINCIPALE";
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.document-card.featured .document-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

.document-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.document-features .feature {
    background: rgba(30, 60, 114, 0.1);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.document-features .feature i {
    font-size: 0.7rem;
}

/* Responsive Design for Modulistica Page */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .document-card {
        padding: 25px 20px;
    }
    
    .document-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .modulistica-intro h2 {
        font-size: 2rem;
    }
    
    .document-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .document-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .modulistica-section {
        padding: 60px 0;
    }
    
    .modulistica-intro h2 {
        font-size: 1.8rem;
    }
    
    .document-card {
        padding: 20px 15px;
    }
    
    .document-info h4 {
        font-size: 1.1rem;
    }
    
    .document-meta span {
        font-size: 0.8rem;
    }
}

/* Latest News Section */
.latest-news {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: fit-content;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.news-card.featured {
    grid-row: span 1;
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 280px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content {
    padding: 25px;
}

.news-card.featured .news-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-meta i {
    color: var(--primary-color);
}

.news-content h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-card.featured .news-content h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.news-content p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(4px);
}

.news-footer {
    text-align: center;
}

/* Responsive News Section */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .news-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .latest-news {
        padding: 60px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .news-card.featured {
        grid-column: span 1;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-card.featured .news-image {
        height: 220px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-card.featured .news-content {
        padding: 25px;
    }
    
    .news-content h3 {
        font-size: 1.2rem;
    }
    
    .news-card.featured .news-content h3 {
        font-size: 1.4rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .latest-news {
        padding: 50px 0;
    }
    
    .news-content h3 {
        font-size: 1.1rem;
    }
    
    .news-card.featured .news-content h3 {
        font-size: 1.3rem;
    }
    
    .news-content {
        padding: 18px;
    }
    
    .news-card.featured .news-content {
        padding: 22px;
    }
}

/* Loading and Error Placeholders */
.loading-placeholder,
.error-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    grid-column: 1 / -1;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.loading-placeholder i,
.error-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.loading-placeholder i.fa-spin {
    animation: spin 1s linear infinite;
}

.error-placeholder i {
    color: var(--danger-color);
}

.loading-placeholder p,
.error-placeholder p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.error-placeholder button {
    margin-top: 10px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Medical Info Styles for Modulistica */
.medical-info {
    margin: 20px 0;
    padding: 20px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.medical-info h5 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.medical-info h5 i {
    font-size: 0.9rem;
}

.medical-info ul {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.medical-info li {
    margin-bottom: 8px;
    color: var(--text-color);
    line-height: 1.5;
}

.medical-info h5:last-of-type {
    margin-top: 20px;
}

.medical-info ul:last-child {
    margin-bottom: 0;
}

/* Header Badges for Modulistica */
.header-badges {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.badge-info {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.badge-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #333;
}

.badge-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

.badge i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header-badges {
        gap: 10px;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Page Header Content */
.page-header .header-content {
    text-align: center;
}

.page-header .header-content h1 {
    margin-bottom: 15px;
}

.page-header .header-content p {
    margin-bottom: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}