/* HOME2 - Hero-Focused Sports Theme */

/* ===== HOME2 SPECIFIC STYLES ===== */
/* Note: Dropdown and mobile menu fixes are now in mobile_menu_dropdowns.css */

/* ===== GLOBAL STYLES ===== */
.home2-body {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== MEGA HERO SECTION ===== */
.home2-mega-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0;
}

.home2-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

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

.home2-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="sports-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="5" cy="5" r="0.5" fill="white" opacity="0.05"/><circle cx="15" cy="15" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23sports-pattern)"/></svg>');
    opacity: 0.3;
}

.home2-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.home2-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.home2-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 4px 8px rgba(0,0,0,0.5); }
    to { text-shadow: 0 4px 20px rgba(255,255,255,0.3); }
}

.home2-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.home2-hero-carousel {
    margin: 6rem 0 0 0 !important;
    position: relative;
    z-index: 2;
}

.home2-hero-carousel .owl-carousel {
    position: relative;
    z-index: 2;
}

.home2-hero-carousel .tourno_club {
    text-align: center;
    padding: 0;
    margin: 0;
}

.home2-hero-carousel .tourno_club img {
    width: 50px !important;
    height: auto;
    margin: 0 auto;
    display: block;
}

.home2-hero-carousel .home_logos {
    color: #ffffff;
    font-size: 12px;
    margin: 5px 0 0 0;
    list-style: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.home2-hero-carousel .owl-stage-outer {
    padding: 0;
}

.home2-hero-stats {
    margin: 0 !important;
}

.home2-hero-stat {
    text-align: center;
    padding: 1rem;
}

.home2-hero-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #00d4ff;
    text-shadow: 0 2px 4px rgba(0,212,255,0.3);
    margin-bottom: 0.5rem;
}

.home2-hero-stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.home2-hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.home2-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.home2-scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.home2-scroll-arrow i {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
}

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

/* ===== NOW TOURNAMENTS BANNER ===== */
.home2-now-banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(22, 33, 62, 0.6) 100%), url('../images/cheering.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* ===== LIVE EVENTS BANNER ===== */
.home2-live-banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(22, 33, 62, 0.6) 100%), url('../images/cheering.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.home2-live-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="live-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23live-pattern)"/></svg>');
}

.home2-live-card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Specific styling for cards in the now-banner section */
.home2-now-banner .home2-live-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
}

.home2-live-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.home2-live-ongoing {
    border-left: 4px solid #ff4757;
}

.home2-live-upcoming {
    border-left: 4px solid #2ed573;
}

.home2-live-upcoming.upcoming_tournament {
    cursor: pointer;
}

.home2-live-icon {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.home2-live-icon i {
    font-size: 2rem;
    margin-right: 1rem;
}

.home2-live-ongoing .home2-live-icon i {
    color: #ff4757;
}

.home2-live-upcoming .home2-live-icon i {
    color: #2ed573;
}

.home2-live-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.home2-live-tournament {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.home2-live-tournament:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
}

.home2-live-tournament-logo {
    margin-right: 1rem;
    flex-shrink: 0;
}

.home2-live-tournament-name {
    font-weight: 500;
    color: white;
}

.home2-countdown-wrapper {
    margin-top: 1rem;
    text-align: center;
}

.home2-countdown-wrapper .countdown-amount {
    color: white !important;
}

.home2-countdown-wrapper .countdown-section {
    color: white !important;
}

/* ===== FEATURED TOURNAMENTS ===== */
.home2-featured {
    padding: 6rem 0;
    background: #111111;
}

.home2-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.home2-section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    position: relative;
}

.home2-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #00d4ff, #2ed573);
    border-radius: 2px;
}

.home2-section-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

.home2-featured-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 1px solid #333333;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 3rem;
}

.home2-featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.home2-featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

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

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

.home2-featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

.home2-featured-date {
    background: rgba(0,212,255,0.9);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    align-self: flex-start;
    min-width: 80px;
}

.home2-featured-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.home2-featured-month {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.home2-featured-year {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.home2-featured-actions {
    align-self: flex-end;
}

.home2-featured-content {
    padding: 2rem;
}

.home2-featured-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.home2-featured-club {
    color: #00d4ff;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.home2-featured-description {
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.home2-featured-admin {
    margin-top: 1.5rem;
}

/* ===== CLUB SHOWCASE ===== */
.home2-clubs {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.home2-clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.home2-club-item {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.home2-club-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.home2-club-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.home2-club-name {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===== TOURNAMENTS GRID ===== */
.home2-tournaments-grid {
    padding: 6rem 0;
    background: #0a0a0a;
}

.home2-tournament-card {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid #333333;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 2rem;
}

.home2-tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.home2-tournament-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home2-tournament-date {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    min-width: 80px;
}

.home2-tournament-day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.home2-tournament-month {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.home2-tournament-content {
    padding: 1.5rem;
}

.home2-tournament-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.home2-tournament-meta {
    margin-bottom: 1.5rem;
}

.home2-tournament-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #b0b0b0;
}

.home2-tournament-meta-item i {
    margin-right: 0.5rem;
    width: 16px;
    color: #00d4ff;
}

.home2-tournament-actions {
    margin-top: 1rem;
}

.home2-see-more {
    text-align: center;
    margin-top: 4rem;
}

/* ===== BUTTONS ===== */
.home2-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.home2-btn i {
    margin-right: 0.5rem;
}

.home2-btn-primary {
    background: linear-gradient(45deg, #00d4ff, #2ed573);
    color: white;
    box-shadow: 0 8px 25px rgba(0,212,255,0.3);
}

.home2-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,212,255,0.4);
    color: white;
    text-decoration: none;
}

.home2-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.home2-btn-outline:hover {
    background: white;
    color: #1a1a2e;
    text-decoration: none;
}

.home2-btn-white {
    background: white;
    color: #1a1a2e;
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.home2-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.3);
    color: #1a1a2e;
    text-decoration: none;
}

.home2-btn-secondary {
    background: #333333;
    color: white;
}

.home2-btn-secondary:hover {
    background: #444444;
    color: white;
    text-decoration: none;
}

.home2-btn-link {
    background: transparent;
    color: #00d4ff;
    padding: 0.5rem 0;
    text-transform: none;
    letter-spacing: normal;
}

.home2-btn-link:hover {
    color: #2ed573;
    text-decoration: none;
}

.home2-btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.home2-btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* ===== REGISTRATION STATUS ===== */
.home2-reg-open {
    background: linear-gradient(45deg, #2ed573, #1dd1a1);
    color: white;
}

.home2-reg-partial {
    background: linear-gradient(45deg, #ffa502, #ff6348);
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .home2-hero-title {
        font-size: 3rem;
    }
    
    .home2-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .home2-hero-stats {
        margin: 3rem 0 0 0;
    }
    
    .home2-hero-stat-number {
        font-size: 2.5rem;
    }
    
    .home2-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .home2-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .home2-live-banner,
    .home2-featured,
    .home2-tournaments-grid {
        padding: 4rem 0;
    }
    
    .home2-section-header h2 {
        font-size: 2.5rem;
    }
    
    .home2-featured-image {
        height: 300px;
    }
    
    .home2-featured-overlay {
        padding: 1.5rem;
    }
    
    .home2-clubs-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .home2-club-logo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .home2-hero-title {
        font-size: 2.5rem;
    }
    
    .home2-hero-subtitle {
        font-size: 1rem;
    }
    
    .home2-hero-stat-number {
        font-size: 2rem;
    }
    
    .home2-section-header h2 {
        font-size: 2rem;
    }
    
    .home2-featured-content {
        padding: 1.5rem;
    }
    
    .home2-featured-header h3 {
        font-size: 1.5rem;
    }
    
    .home2-tournament-content {
        padding: 1rem;
    }
}

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

.home2-featured-card,
.home2-tournament-card,
.home2-live-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== CONTEXT-AWARE HERO STYLES ===== */
.home2-mega-hero.tournament-day {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    height: 60vh;
}

.home2-mega-hero.tournament-day .home2-hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.home2-mega-hero.tournament-day .home2-hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.home2-mega-hero.upcoming {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

/* ===== SCROLL ANIMATIONS ===== */
.home2-hero-stats.animated .home2-hero-stat {
    animation-delay: 0.1s;
}

.home2-hero-stats.animated .home2-hero-stat:nth-child(2) {
    animation-delay: 0.2s;
}

.home2-hero-stats.animated .home2-hero-stat:nth-child(3) {
    animation-delay: 0.3s;
}

.home2-hero-stats.animated .home2-hero-stat:nth-child(4) {
    animation-delay: 0.4s;
}

/* ===== OUR PARTNERS SECTION ===== */
.home2-clubs {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 20px 0;
    position: relative;
}

.home2-clubs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="club-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="white" opacity="0.05"/><circle cx="5" cy="5" r="0.5" fill="white" opacity="0.03"/><circle cx="25" cy="25" r="0.5" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23club-pattern)"/></svg>');
    opacity: 0.4;
}

.home2-clubs .owl-carousel {
    position: relative;
    z-index: 2;
}

.home2-clubs .tourno_club {
    text-align: center;
    padding: 0;
    margin: 0;
}

.home2-clubs .tourno_club img {
    width: 50px !important;
    height: auto;
    margin: 0 auto;
    display: block;
}

.home2-clubs .home_logos {
    color: #ffffff;
    font-size: 12px;
    margin: 5px 0 0 0;
    list-style: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.home2-clubs .owl-stage-outer {
    padding: 0;
}

/* ===== EVEN CARD DISTRIBUTION ===== */
.home2-tournament-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home2-tournament-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home2-tournament-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ensure equal height for all cards in a row */
.row {
    display: flex;
    flex-wrap: wrap;
}

.row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Add margin bottom for spacing between rows */
.row > [class*="col-"] {
    margin-bottom: 2rem;
}

/* ===== MOBILE REGISTRATION BUTTONS ===== */
@media (max-width: 768px) {
    /* Make registration buttons and alerts full width on mobile */
    .home2-live-tournament .col-md-4 .btn,
    .home2-live-tournament .col-md-4 .alert {
        width: 100% !important;
        margin-top: 1rem;
    }
    
    /* Ensure the right column takes full width on mobile */
    .home2-live-tournament .col-md-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    /* Stack the columns vertically on mobile */
    .home2-live-tournament {
        flex-direction: column !important;
    }
    
    /* Remove right alignment on mobile */
    .home2-live-tournament .col-md-4 {
        text-align: left !important;
    }
    
    /* Make old tournament cards full width on mobile */
    .home2-tournaments-grid .col-lg-4,
    .home2-tournaments-grid .col-md-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ===== TOURNAMENT CARDS BORDERS ===== */
.home2-live-ongoing {
    border-left: 4px solid #28a745 !important;
}

.home2-live-upcoming {
    border-left: 4px solid #ffc107 !important;
}

/* ===== TOURNAMENT CARD ICONS ===== */
.home2-live-ongoing .home2-live-icon i {
    color: #28a745 !important;
}

.home2-live-upcoming .home2-live-icon i {
    color: #ffc107 !important;
}

/* ===== CLICKABLE TOURNAMENT CARDS ===== */
.ongoing_tournament {
    cursor: pointer;
}

.upcoming_tournament {
    cursor: pointer;
}

/* ===== TOURNAMENT IMAGES ===== */
.home2-tournament-image {
    margin-bottom: 1rem;
}

.home2-tournament-image img {
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home2-tournament-image img:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* ===== TABLET LAYOUT STYLING ===== */
/* Tablet styles (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .home2-tournament-image {
        margin-bottom: 0.8rem;
    }
    
    .home2-tournament-image img {
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .home2-tournament-image img:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }
    
    /* Ensure proper spacing for combined content column */
    .col-md-6 .home2-live-tournament-logo,
    .col-md-6 .home2-live-tournament-name {
        display: block;
        margin-bottom: 0.3rem;
    }
    
    /* Style the register button */
    .d-block .btn {
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .home2-tournament-image {
        margin-bottom: 0.5rem;
    }
    
    .home2-tournament-image img {
        /* Mobile styles - no height or background restrictions */
    }
    
/* ===== HOME2 SPECIFIC STYLES ONLY ===== */
/* Note: All dropdown and mobile menu styles are now in mobile_menu_dropdowns.css */

/* Close button positioning in mobile menu */
.sidenav .closebtn {
    float: right !important;
    text-align: right !important;
}

/* ===== END HOME2 SPECIFIC STYLES ===== */

/* Mobile menu language selection styling */
.sidenav .language-selection-horizontal {
    padding: 20px;
    margin: 20px 0 20px 0;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.sidenav .language-selection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.sidenav .language-selection li {
    flex: 1;
    min-width: 0;
    margin: 0;
}

/* Responsive widths based on number of languages */
.sidenav .language-selection li:nth-child(1):nth-last-child(1) {
    flex: 0 0 100%;
    max-width: 100%;
}

.sidenav .language-selection li:nth-child(1):nth-last-child(2),
.sidenav .language-selection li:nth-child(2):nth-last-child(1) {
    flex: 0 0 calc(50% - 5px);
    max-width: calc(50% - 5px);
}

.sidenav .language-selection li:nth-child(1):nth-last-child(3),
.sidenav .language-selection li:nth-child(2):nth-last-child(2),
.sidenav .language-selection li:nth-child(3):nth-last-child(1) {
    flex: 0 0 calc(33.333% - 7px);
    max-width: calc(33.333% - 7px);
}

.sidenav .language-selection a {
    transition: all 0.3s ease;
    text-align: center;
    padding: 15px 12px !important;
    font-size: 16px;
    font-weight: 500;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidenav .language-selection a:hover {
    background-color: rgba(255,255,255,0.15) !important;
    transform: translateY(-2px);
}

.sidenav .language-selection .active {
    background-color: rgba(255,255,255,0.2) !important;
    border-left: 3px solid #fff !important;
}

.sidenav .language-selection img {
    margin-right: 8px !important;
    width: 20px !important;
    height: 14px !important;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .sidenav .language-selection-horizontal {
        padding: 0 15px;
    }
    
    .sidenav .language-selection a {
        padding: 12px 8px !important;
        font-size: 15px;
        min-height: 45px;
    }
    
    .sidenav .language-selection img {
        width: 18px !important;
        height: 12px !important;
        margin-right: 6px !important;
    }
}


