/* ========================================
   BATTLE MANIA - MODERN DESIGN ENHANCEMENTS
   Version: 2.1
   ======================================== */

/* ========================================
   0.0 TYPOGRAPHY - GAMING FONTS
   ======================================== */

body {
    font-family: 'Rajdhani', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn,
.card-title,
.bm_section_title,
.nav-link {
    font-family: 'Orbitron', sans-serif !important;
    letter-spacing: 1px !important;
}

/* Prevent FontAwesome icons from being overridden */
.fa,
.fas,
.fab,
.far,
.glyphicon {
    font-family: 'FontAwesome' !important;
}

/* ========================================
   0. NAVBAR FIX - FIXED HEADER (ALWAYS VISIBLE)
   ======================================== */

.header-top-area {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.navbar.fixed-top {
    position: relative !important;
}

/* Ensure navbar is always visible */
.header-top-area,
.navbar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Modern Navbar Enhancements */
.navbar {
    padding: 0.75rem 0 !important;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

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

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.5px !important;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: #f093fb !important;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle - Enhanced Visibility */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 8px !important;
    padding: 0.6rem 0.85rem !important;
    transition: all 0.3s ease !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5em !important;
    height: 1.5em !important;
}

.navbar-toggler:hover {
    border-color: #f093fb !important;
    background: rgba(240, 147, 251, 0.3) !important;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(240, 147, 251, 0.5) !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(240, 147, 251, 0.4) !important;
    outline: none !important;
}

.navbar-toggler:not(.collapsed) {
    background: rgba(240, 147, 251, 0.4) !important;
    border-color: #f093fb !important;
}

/* Dropdown Menu Modern Style */
.dropdown-menu.header-dd-menu {
    background: rgba(54, 54, 54, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    margin-top: 0.5rem !important;
    padding: 0.5rem 0 !important;
}

.dropdown-menu.header-dd-menu .dropdown-item {
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
    border-radius: 5px !important;
    margin: 0.25rem 0.5rem !important;
}

.dropdown-menu.header-dd-menu .dropdown-item:hover,
.dropdown-menu.header-dd-menu .dropdown-item.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    color: #ffffff !important;
    transform: translateX(5px);
}

/* Add padding to body to compensate for fixed header */
body {
    padding-top: 80px;
}

/* Adjust masthead to account for fixed header */
.masthead {
    margin-top: -80px;
    padding-top: 140px;
}

/* ========================================
   1. HERO SECTION - MODERN GRADIENT & ANIMATIONS
   ======================================== */

.masthead {
    min-height: 100vh !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #feca57 100%) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 15s ease infinite !important;
    position: relative;
    overflow: hidden;
}

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

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

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

/* Particle Background Effect */
.masthead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {

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

    50% {
        opacity: 0.6;
        transform: translateY(-20px);
    }
}

/* Hero Content Styling */
.masthead .col_left h1 {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

.masthead .banner_subtext {
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 2.5rem !important;
}

/* Modern Button Styling */
.bm_button1 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 18px 40px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    position: relative;
    overflow: hidden;
}

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

.bm_button1:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(245, 87, 108, 0.6) !important;
    letter-spacing: 2px !important;
}

.bm_button1:hover::before {
    left: 100%;
}

/* Hero Image Animation */
.masthead .col_right img {
    animation: floatUpDown 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

@keyframes floatUpDown {

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

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

/* ========================================
   2. APP SCREENSHOT SECTION - MODERN CAROUSEL
   ======================================== */

#screenshot {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.owl-carousel .item {
    transition: all 0.4s ease;
}

.owl-carousel .item a {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.owl-carousel .item a:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.owl-carousel .item img {
    border-radius: 20px;
    transition: all 0.4s ease;
}

.owl-nav button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4) !important;
    transition: all 0.3s ease !important;
}

.owl-nav button:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6) !important;
}

@media (max-width: 767.98px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    .owl-stage-outer {
        overflow: hidden !important;
    }

    .owl-carousel {
        width: 100% !important;
    }
}

/* ========================================
   3. FEATURES SECTION - GLASS MORPHISM CARDS
   ======================================== */

#tabs {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

#tabs::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotateBackground 30s linear infinite;
}

@keyframes rotateBackground {
    0% {
        transform: rotate(0deg);
    }

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

/* Modern Tab Styling */
#tabs .nav-tabs .nav-link {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px 15px 0 0 !important;
    margin: 0 5px !important;
    transition: all 0.3s ease !important;
    padding: 15px 30px !important;
}

#tabs .nav-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-3px);
}

#tabs .nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4) !important;
}

/* Glass Morphism Feature Cards */
#tabs .bm_featurecard {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin-bottom: 20px !important;
    overflow: hidden;
    position: relative;
}

#tabs .bm_featurecard::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

#tabs .bm_featurecard:hover {
    transform: translateY(-10px) scale(1.03) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(245, 87, 108, 0.5) !important;
}

#tabs .bm_featurecard:hover::before {
    left: 100%;
}

/* Modern Icon Styling */
#nav-tabContent .bm_featureicon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4) !important;
    transition: all 0.4s ease !important;
    position: relative;
    z-index: 1;
}

#tabs .bm_featurecard:hover .bm_featureicon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.6) !important;
}

#nav-tabContent .bm_featureicon .fa {
    color: #ffffff !important;
}

/* Feature Text Styling */
#tabs .bm_featuretext h4 {
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    margin-bottom: 0.5rem !important;
    color: #ffffff !important;
}

#tabs .bm_featuretext p {
    font-size: 0.95rem !important;
    opacity: 0.85 !important;
    color: #e0e0e0 !important;
}

/* ========================================
   4. TOURNAMENT CARDS - PREMIUM DESIGN
   ======================================== */

#tournaments {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.tour-card {
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    background: #ffffff !important;
    position: relative;
}

.tour-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tour-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
}

.tour-card:hover::before {
    opacity: 1;
}

.tour-card .card-body {
    position: relative;
    z-index: 1;
}

.tour-card .card-img-top {
    height: 150px !important;
    object-fit: cover !important;
    transition: all 0.5s ease !important;
}

.tour-card:hover .card-img-top {
    transform: scale(1.1) !important;
}

/* Modern Badge Styling */
.tour-card .badge {
    border-radius: 20px !important;
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}

.badge.bm-bg-lightpink {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.badge.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Modern Progress Bar */
.tour-card .progress {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.tour-card .progress-bar {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5) !important;
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Card Table Styling */
.tour-card .card-table {
    margin-top: 15px !important;
}

.tour-card .card-table td {
    border: none !important;
    background: rgba(0, 0, 0, 0.02) !important;
    border-radius: 10px !important;
    padding: 10px 5px !important;
}

/* Join Button Modern Design */
.tour-card .btn-lightpink {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 20px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.3) !important;
    transition: all 0.3s ease !important;
}

.tour-card .btn-lightpink:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(245, 87, 108, 0.5) !important;
}

.tour-card .btn-lightgreen,
.tour-card .bm-bg-lightgreen {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    box-shadow: 0 8px 20px rgba(56, 239, 125, 0.3) !important;
}

/* ========================================
   5. TOP PLAYERS LEADERBOARD - MODERN DESIGN
   ======================================== */

.rate-col .card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
}

.bm-rate-card {
    background: rgba(255, 255, 255, 0.95);
}

.rate-col .card-table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 15px 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.8rem !important;
}

.rate-col .card-table tbody tr {
    transition: all 0.3s ease;
}

.rate-col .card-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05) !important;
    transform: translateX(5px);
}

/* Medal Icons for Top 3 */
.bm-rate-position {
    font-weight: 800 !important;
    font-size: 1rem !important;
}

.rate-col .card-table tbody tr:nth-child(1) .bm-rate-position {
    color: #FFD700 !important;
    text-shadow: 0 2px 5px rgba(255, 215, 0, 0.5);
}

.rate-col .card-table tbody tr:nth-child(2) .bm-rate-position {
    color: #C0C0C0 !important;
    text-shadow: 0 2px 5px rgba(192, 192, 192, 0.5);
}

.rate-col .card-table tbody tr:nth-child(3) .bm-rate-position {
    color: #CD7F32 !important;
    text-shadow: 0 2px 5px rgba(205, 127, 50, 0.5);
}

/* ========================================
   6. HOW TO PLAY SECTION - MODERN LAYOUT
   ======================================== */

#howtoplay {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.bm-img-text-box {
    margin: 40px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.bm-img-text-box:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

#howtoplay .text-wrapper h4 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#howtoplay .text-wrapper p {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    opacity: 0.9;
}

/* ========================================
   7. DOWNLOAD SECTION - CTA ENHANCEMENT
   ======================================== */

#download {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) !important;
    padding: 80px 0 !important;
}

#download .bm-btn-white {
    background: #ffffff !important;
    color: #667eea !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 20px 50px !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

#download .bm-btn-white:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
}

/* ========================================
   8. SECTION TITLES - MODERN TYPOGRAPHY
   ======================================== */

.bm_section_title {
    font-size: 3rem !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
    margin-bottom: 20px !important;
    position: relative;
    display: inline-block;
}

#screenshot .bm_section_title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#tournaments .bm_section_title {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bm_section_title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #f5576c 100%);
    border-radius: 2px;
}

.bm_section_subtitle {
    font-size: 1.2rem !important;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto 40px !important;
}

/* ========================================
   9. RESPONSIVE DESIGN ENHANCEMENTS
   ======================================== */

@media (max-width: 991px) {
    .masthead .col_left h1 {
        font-size: 2.5rem !important;
    }

    .bm_section_title {
        font-size: 2.2rem !important;
    }

    .tour-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {

    /* Mobile body padding adjustment */
    body {
        padding-top: 74px !important;
    }

    .masthead {
        margin-top: -74px !important;
        padding-top: 100px !important;
        padding-bottom: 140px !important;
        display: block !important;
        height: auto !important;
        max-height: unset !important;
        min-height: auto !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .btn-download-hero {
        position: relative !important;
        z-index: 3 !important;
    }

    #screenshot {
        position: relative !important;
        z-index: 1 !important;
    }

    .masthead .row {
        flex-direction: column !important;
    }

    .masthead .col_left {
        order: 2 !important;
        text-align: center !important;
        padding: 20px 15px !important;
    }

    .masthead .col_left h1 {
        font-size: 2rem !important;
        margin-top: 2rem !important;
    }

    .masthead .col_left .banner_subtext {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .masthead .col_left .bm_button1 {
        padding: 15px 30px !important;
        font-size: 1rem !important;
    }

    .masthead .col_right {
        order: 1 !important;
        max-width: 70% !important;
        margin: 0 auto !important;
    }

    .masthead .col_right img {
        max-width: 100% !important;
        height: auto !important;
        margin: 0.5rem auto 1.5rem !important;
    }

    .bm_section_title {
        font-size: 1.8rem !important;
    }

    #tabs .nav-tabs .nav-link {
        font-size: 0.9rem !important;
        padding: 10px 15px !important;
        margin: 0 2px !important;
    }

    .bm-img-text-box {
        padding: 20px;
    }

    #howtoplay .text-wrapper h4 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .masthead .col_left h1 {
        font-size: 1.75rem !important;
    }

    .bm_section_title {
        font-size: 1.5rem !important;
    }

    #tabs .nav-tabs {
        flex-direction: column;
    }

    #tabs .nav-tabs .nav-link {
        width: 100%;
        text-align: center;
        border-radius: 15px !important;
        margin: 5px 0 !important;
    }
}

/* ========================================
   10. SCROLL ANIMATIONS - AOS STYLE
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}

/* ========================================
   11. LOADING ANIMATIONS
   ======================================== */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.loading-shimmer {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 1000px 100%;
}

/* ========================================
   11. FOOTER - MODERN DESIGN
   ======================================== */

#footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 60px 0 30px !important;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #f093fb 50%, #f5576c 100%);
}

/* Footer Links Styling */
#footer .social .nav-link {
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    position: relative !important;
}

#footer .social .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
    transition: width 0.3s ease;
}

#footer .social .nav-link:hover::after {
    width: 80%;
}

#footer .social .nav-link:hover {
    color: #f093fb !important;
    transform: translateY(-3px);
}

/* Social Media Icons */
#footer .social a i {
    font-size: 1.5rem !important;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    display: inline-block;
    margin: 0.5rem;
}

#footer .social a:hover i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

#footer .social a i.fa-facebook:hover {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}

#footer .social a i.fa-twitter:hover {
    background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

#footer .social a i.fa-instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

#footer .social a i.fa-google-plus:hover {
    background: linear-gradient(135deg, #dd4b39 0%, #c23321 100%);
}

/* Footer About Text */
#footer .copyright {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#footer .copyright p {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.8 !important;
    margin-bottom: 1rem !important;
}

#footer .copyright .h6 {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 400 !important;
    margin-top: 1rem !important;
}

/* Remove Lorem Ipsum green color */
#footer .copyright p:first-child {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Footer Animation */
#footer .list-inline-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

#footer .list-inline-item:nth-child(1) {
    animation-delay: 0.1s;
}

#footer .list-inline-item:nth-child(2) {
    animation-delay: 0.2s;
}

#footer .list-inline-item:nth-child(3) {
    animation-delay: 0.3s;
}

#footer .list-inline-item:nth-child(4) {
    animation-delay: 0.4s;
}

#footer .list-inline-item:nth-child(5) {
    animation-delay: 0.5s;
}

#footer .list-inline-item:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Footer Responsive */
@media (max-width: 768px) {
    #footer {
        padding: 40px 0 20px !important;
    }

    #footer .social .nav-link {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.9rem !important;
    }

    #footer .social a i {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 1.3rem !important;
    }
}

/* ========================================
   12. UTILITY CLASSES
   ======================================== */

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-pink {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.shadow-glow {
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.shadow-glow-pink {
    box-shadow: 0 10px 40px rgba(245, 87, 108, 0.3);
}

/* ========================================
   13. LOGIN PAGE - MODERN GLASS MORPHISM DESIGN
   ======================================== */

/* Login Page Header Enhancement */
.page-header {
    position: relative;
    min-height: 350px !important;
    background-size: cover !important;
    background-position: center !important;
    overflow: hidden !important;
}

.page-header .black-overlay {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 50%, rgba(240, 147, 251, 0.85) 100%) !important;
    backdrop-filter: blur(10px) !important;
    animation: gradientShift 15s ease infinite !important;
}

.page-header h1 {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    animation: fadeInDown 0.8s ease-out !important;
    position: relative !important;
    z-index: 2 !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

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

/* Login Section Background */
.bm-light-bg.text-dark {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%) !important;
    position: relative;
    overflow: hidden;
}

.bm-light-bg.text-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(240, 147, 251, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Login Card - Glass Morphism */
.bm-light-bg .cnt-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 30px !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset !important;
    padding: 50px 40px !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    animation: fadeInUp 0.8s ease-out !important;
    position: relative;
    overflow: visible !important;
}

.bm-light-bg .cnt-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb, #f5576c);
    border-radius: 30px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.bm-light-bg .cnt-card:hover::before {
    opacity: 0.3;
}

.bm-light-bg .cnt-card:hover {
    transform: translateY(-10px) !important;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
}

.bm-light-bg .card-body {
    padding: 0 !important;
}

/* Login Form Group Styling */
.bm-light-bg .form-group {
    margin-bottom: 1.8rem !important;
    position: relative;
}

.bm-light-bg .form-group label {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin-bottom: 0.8rem !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
}

.bm-light-bg .form-group label .required {
    color: #f5576c !important;
    margin-left: 4px !important;
}

/* Input Field with Icon - Modern Design */
.bm-light-bg .form-control {
    height: 55px !important;
    padding: 15px 20px 15px 55px !important;
    font-size: 1rem !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 15px !important;
    background: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
}

.bm-light-bg .form-control:focus {
    outline: none !important;
    border-color: transparent !important;
    background: #ffffff !important;
    box-shadow:
        0 0 0 3px rgba(102, 126, 234, 0.1),
        0 10px 30px rgba(102, 126, 234, 0.15) !important;
    transform: translateY(-2px) !important;
}

.bm-light-bg .form-control::placeholder {
    color: #95a5a6 !important;
    font-weight: 400 !important;
}

/* Input Icons Styling */
.bm-light-bg .form-group::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'FontAwesome';
    font-size: 1.2rem;
    color: #667eea;
    z-index: 1;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* User Icon */
.bm-light-bg .form-group:has(input[name="user_name"])::before {
    content: '\f007';
    top: calc(50% + 14px);
}

/* Password Icon */
.bm-light-bg .form-group:has(input[type="password"])::before {
    content: '\f023';
    top: calc(50% + 14px);
}

.bm-light-bg .form-control:focus+.form-group::before,
.bm-light-bg .form-group:has(.form-control:focus)::before {
    color: #764ba2;
    transform: translateY(-50%) scale(1.1);
}

/* Forgot Password Link Styling */
.bm-light-bg .form-group a {
    color: #667eea !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.bm-light-bg .form-group a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.bm-light-bg .form-group a:hover {
    color: #764ba2 !important;
    transform: translateX(3px);
}

.bm-light-bg .form-group a:hover::after {
    width: 100%;
}

/* Submit Button - Ultra Modern Design */
.bm-light-bg .btn-submit.btn-lightpink {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 18px 40px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    box-shadow:
        0 10px 30px rgba(102, 126, 234, 0.4),
        0 0 0 0 rgba(102, 126, 234, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

.bm-light-bg .btn-submit.btn-lightpink::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.bm-light-bg .btn-submit.btn-lightpink:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow:
        0 20px 50px rgba(102, 126, 234, 0.5),
        0 0 0 8px rgba(102, 126, 234, 0.1) !important;
    letter-spacing: 2px !important;
}

.bm-light-bg .btn-submit.btn-lightpink:hover::before {
    left: 100%;
}

.bm-light-bg .btn-submit.btn-lightpink:active {
    transform: translateY(-2px) scale(0.98) !important;
}

/* Social Login Buttons - Modern Card Style */
#gSignInWrapper,
.bm-light-bg .btn-submit:not(.btn-lightpink) {
    margin-bottom: 15px !important;
}

#customBtn {
    background: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 15px !important;
    padding: 14px 20px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#customBtn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.3) !important;
    border-color: #4285f4 !important;
}

#customBtn .buttonText {
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #5f6368 !important;
}

/* Facebook Login Button */
.bm-light-bg .rounded.btn-submit[style*="background-color: #1c76f2"] {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%) !important;
    border: none !important;
    border-radius: 15px !important;
    padding: 12px 20px !important;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    height: auto !important;
}

.bm-light-bg .rounded.btn-submit[style*="background-color: #1c76f2"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4) !important;
}

/* Sign Up Link - Modern Button Style */
.bm-light-bg .form-group.text-center {
    margin-top: 2rem !important;
    padding-top: 2rem !important;
    border-top: 2px solid #f0f0f0 !important;
}

.bm-light-bg .form-group.text-center a {
    color: #667eea !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    padding: 10px 25px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    border: 2px solid transparent !important;
}

.bm-light-bg .form-group.text-center a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3) !important;
}

/* Form Error Styling */
.bm-light-bg em[style*="color:red"] {
    color: #f5576c !important;
    font-style: normal !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    display: block !important;
    margin-top: 8px !important;
    padding-left: 55px !important;
    animation: shakeError 0.5s ease !important;
}

@keyframes shakeError {

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

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

/* Modal Styling for Password Reset */
.modal-content {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 20px 30px !important;
}

.modal-header .modal-title {
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.modal-body {
    padding: 30px !important;
}

.modal-footer {
    border: none !important;
    padding: 20px 30px !important;
    background: #f8f9fa !important;
}

.modal-footer .btn {
    border-radius: 10px !important;
    padding: 10px 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

/* Ensure modal form controls (especially select) remain readable */
.modal-content .form-control,
.modal-content select.form-control {
    color: #2c3e50 !important;
    background-color: #ffffff !important;
    -webkit-text-fill-color: #2c3e50 !important;
}

.modal-content select.form-control:focus {
    color: #2c3e50 !important;
    -webkit-text-fill-color: #2c3e50 !important;
}

#mobileModal select[name="country_code"],
#mobileModal select[name="country_code"]:focus,
#mobileModal select[name="country_code"]:active {
    color: #2c3e50 !important;
    background-color: #ffffff !important;
    -webkit-text-fill-color: #2c3e50 !important;
    text-shadow: none !important;
}

#mobileModal select[name="country_code"]:-moz-focusring {
    color: #2c3e50 !important;
    text-shadow: none !important;
}

.modal-content select.form-control option {
    color: #2c3e50 !important;
    background-color: #ffffff !important;
}

.modal-footer .btn-secondary {
    background: #95a5a6 !important;
    border: none !important;
}

.modal-footer .btn-secondary:hover {
    background: #7f8c8d !important;
    transform: translateY(-2px) !important;
}

/* Responsive Design for Login Page */
@media (max-width: 768px) {
    .page-header {
        min-height: 250px !important;
    }

    .page-header h1 {
        font-size: 2.5rem !important;
    }

    .bm-light-bg .cnt-card {
        padding: 35px 25px !important;
        border-radius: 25px !important;
        margin: 20px 15px !important;
    }

    .bm-light-bg .form-control {
        height: 50px !important;
        padding: 12px 18px 12px 50px !important;
        font-size: 0.95rem !important;
    }

    .bm-light-bg .btn-submit.btn-lightpink {
        padding: 16px 30px !important;
        font-size: 1rem !important;
    }

    .offset-md-3.col-md-6 {
        margin-left: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem !important;
        letter-spacing: 1px !important;
    }

    .bm-light-bg .cnt-card {
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }

    .bm-light-bg .form-group label {
        font-size: 0.9rem !important;
    }

    .bm-light-bg .btn-submit.btn-lightpink {
        padding: 14px 25px !important;
        font-size: 0.95rem !important;
        letter-spacing: 1px !important;
    }
}

/* Add floating animation to login card */
@keyframes floatCard {

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

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

.bm-light-bg .cnt-card {
    animation: floatCard 6s ease-in-out infinite !important;
}

.bm-light-bg .cnt-card:hover {
    animation: none !important;
}

/* Success message styling */
.alert {
    border-radius: 15px !important;
    border: none !important;
    padding: 15px 20px !important;
    margin-bottom: 20px !important;
    animation: slideInDown 0.5s ease-out !important;
}

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

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

.alert-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    color: #ffffff !important;
}

.alert-danger {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%) !important;
    color: #ffffff !important;
}

/* ========================================
   GAMING PLATFORM ENHANCEMENTS - V2.0
   Professional Esports Aesthetics
   ======================================== */

/* Gaming Background Patterns */
.masthead::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
}

/* Neon Glow Effect for Headings */
.bm_section_title {
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5),
        0 0 20px rgba(102, 126, 234, 0.3),
        0 0 30px rgba(102, 126, 234, 0.2) !important;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(102, 126, 234, 0.5),
            0 0 20px rgba(102, 126, 234, 0.3),
            0 0 30px rgba(102, 126, 234, 0.2);
    }

    50% {
        text-shadow: 0 0 15px rgba(102, 126, 234, 0.7),
            0 0 30px rgba(102, 126, 234, 0.5),
            0 0 45px rgba(102, 126, 234, 0.3);
    }
}

/* Tournament Card Gaming Enhancement */
.tour-card {
    position: relative;
    overflow: visible !important;
}

.tour-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: gradientRotate 8s ease infinite;
}

.tour-card:hover::after {
    opacity: 0.7;
}

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

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

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

/* Gaming Badge Styles */
.tour-card .badge {
    position: relative;
    overflow: hidden;
}

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

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

/* Leaderboard Rank Colors - Gaming Style */
.rate-col .card-table tbody tr:nth-child(1) {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%) !important;
    border-left: 4px solid #FFD700 !important;
}

.rate-col .card-table tbody tr:nth-child(2) {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.1) 0%, transparent 100%) !important;
    border-left: 4px solid #C0C0C0 !important;
}

.rate-col .card-table tbody tr:nth-child(3) {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.1) 0%, transparent 100%) !important;
    border-left: 4px solid #CD7F32 !important;
}

/* Add trophy icons for top 3 */
.rate-col .card-table tbody tr:nth-child(1) .bm-rate-position::before,
.rate-col .card-table tbody tr:nth-child(2) .bm-rate-position::before,
.rate-col .card-table tbody tr:nth-child(3) .bm-rate-position::before {
    font-family: 'FontAwesome';
    margin-right: 5px;
}

.rate-col .card-table tbody tr:nth-child(1) .bm-rate-position::before {
    content: '\f091';
    /* trophy */
}

.rate-col .card-table tbody tr:nth-child(2) .bm-rate-position::before {
    content: '\f091';
}

.rate-col .card-table tbody tr:nth-child(3) .bm-rate-position::before {
    content: '\f091';
}

/* Enhanced Progress Bar Animation */
.tour-card .progress-bar {
    position: relative;
    overflow: hidden;
}

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

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

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

/* Gaming Button Pulse Effect */
.btn-lightpink,
.bm_button1 {
    position: relative;
    overflow: hidden;
}

.btn-lightpink::after,
.bm_button1::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-lightpink:hover::after,
.bm_button1:hover::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* Feature Card Icon Rotation on Hover */
.bm_featurecard {
    perspective: 1000px;
}

.bm_featurecard:hover .bm_featureicon {
    animation: iconSpin 0.6s ease-in-out;
}

@keyframes iconSpin {
    0% {
        transform: rotateY(0deg) scale(1);
    }

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

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

/* Screenshot Carousel Enhancement */
.owl-carousel .item {
    position: relative;
}

.owl-carousel .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(245, 87, 108, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    pointer-events: none;
}

.owl-carousel .item:hover::before {
    opacity: 1;
}

/* Gaming Stats Counter Animation */
.bm-card-table-item-default {
    font-weight: 700 !important;
    font-family: 'Courier New', monospace !important;
}

/* Hexagon Pattern for Screenshot Section */
#screenshot {
    position: relative;
}

#screenshot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z' fill='%23667eea' fill-opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

/* Competitive Rank Badge System */
.tour-card .badge.bm-bg-lightpink {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4) !important;
}

.tour-card .badge.bg-primary {
    background: linear-gradient(135deg, #4E54C8 0%, #8F94FB 100%) !important;
    box-shadow: 0 4px 15px rgba(78, 84, 200, 0.4) !important;
}

/* Add glow to tournament time */
.bm_text_lightgreen {
    color: #39FF14 !important;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5) !important;
    font-weight: 700 !important;
}

/* Prize indicator glow */
.bm_text_lightpink {
    text-shadow: 0 0 8px rgba(245, 87, 108, 0.4) !important;
}

/* Download Section Enhancement */
#download {
    position: relative;
    overflow: hidden;
}

#download::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateBackground 20s linear infinite;
}

/* How to Play Section Grid Pattern */
#howtoplay {
    position: relative;
}

#howtoplay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, .02) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 2px, transparent 2px);
    background-size: 100px 100px;
    opacity: 0.5;
    pointer-events: none;
}

/* Card Title Gaming Font */
.tour-card .card-title {
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    font-size: 0.95rem !important;
}

/* Navbar Enhancement - Gaming Style */
.navbar {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.navbar-brand img {
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
}

/* Add subtle animation to nav links */
.navbar-nav .nav-link {
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #f093fb);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Tournament Card Image Overlay */
.tour-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.tour-card .card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-card:hover .card-img-wrapper::after {
    opacity: 1;
}

/* Responsive Gaming Enhancements */
@media (max-width: 768px) {
    .bm_section_title {
        text-shadow: 0 0 8px rgba(102, 126, 234, 0.4),
            0 0 15px rgba(102, 126, 234, 0.2) !important;
    }

    .tour-card::after {
        display: none;
        /* Disable neon border on mobile for performance */
    }

    .masthead::after {
        background-size: 30px 30px;
        /* Smaller grid on mobile */
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Selection Color - Gaming Theme */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.3);
    color: #ffffff;
}

/* Loading State for Images - Removed to fix visibility issue */
img {
    transition: opacity 0.3s ease;
}


/* End of Gaming Platform Enhancements */