@import url('https://fonts.googleapis.com/css2?family=Cairo&display=swap');

html {
    scroll-behavior: smooth;
}

/* CSS Variables for Dark Theme (Default) */
:root {
    --bg-primary: #101312F2;
    --bg-secondary: #1A1D1C;
    --bg-tertiary: #0F1211;
    --text-primary: #fff;
    --text-secondary: #F5F5F5;
    --text-muted: #737373;
    --border-color: #404040;
    --card-bg: #1A1D1C;
    --input-bg: #0273531A;
    --input-border: #02735333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.px-4 {
    padding-right: 2rem !important;
    padding-left: 2rem !important;
}

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

.green{
    color: #027353;
}

.yellow{
    color: #FBBC16;
}

.gray{
    color: #737373;
}

.italic{
    font-style: italic;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li{
    display: flex;
}

.ml-2 {
    margin-left: 12px !important;
}

.mr-2 {
    margin-right: 12px !important;
}

.font-14 {
    font-size: 14px !important;
}

.mr-4 {
    margin-right: 35px;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary, #0A0A0A);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.preloader-img {
    height: 60px;
    width: auto;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color, #027353);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

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

/* Preloader for light theme */
html[data-theme="light"] .preloader {
    background: var(--bg-primary, #FFFFFF);
}

html[data-theme="light"] .preloader-img {
    content: url('images/Logo_Dark.png');
}

html[data-theme="light"] .spinner {
    border-top-color: var(--primary-color, #027353);
}


body {
    background: var(--bg-primary);
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    font-weight: 400;
    font-style: normal;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header Styles */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header .navbar {
    padding: 1rem 0;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 0 !important;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
}

.navbar-nav .nav-link:hover {
    color: #027353 !important;
    font-weight: 500;
}

.navbar-nav .nav-link.active {
    color: #027353 !important;
    font-weight: 500;
}

/* Dark Mode Button */
.dark-mode-btn {
    border: none !important;
    transition: opacity 0.3s ease;
    background: transparent !important;
}

.dark-mode-btn:hover {
    opacity: 0.7;
}

/* Language Button */
.lang-btn {
    border: none !important;
    transition: all 0.3s ease;
    background: transparent !important;
    border-radius: 8px !important;
}

.lang-btn:hover {
    background: rgba(2, 115, 83, 0.1) !important;
    transform: translateY(-2px);
}

.lang-btn img {
    transition: transform 0.3s ease;
}

.lang-btn:hover img {
    transform: scale(1.1);
}

/* Download Button */
.download-btn {
    background-color: #027353 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn img {
    transition: transform 0.3s ease;
}

.download-btn:hover {
    background-color: #03a06a !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 115, 83, 0.4);
}

.download-btn:hover img {
    transform: translateX(4px) translateY(-4px);
}

/* Mobile Menu */
@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .navbar-nav {
        gap: 0 !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
    }
}

/* Main Styles */
main.main {
    padding: 50px 0 0;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.img-container {
    HEIGHT: fit-content;
    WIDTH: fit-content;
    PADDING: 11px;
    border-radius: 40px;
    background: linear-gradient(135deg, #000 0%, #000 100%);
    position: relative;
    z-index: 99;
    transition: background 0.3s ease;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary, #0A0A0A);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.preloader-img {
    height: 60px;
    width: auto;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color, #027353);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

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

/* Preloader for light theme */
html[data-theme="light"] .preloader {
    background: var(--bg-primary, #FFFFFF);
}

html[data-theme="light"] .preloader-img {
    content: url('images/Logo_Dark.png');
}

html[data-theme="light"] .spinner {
    border-top-color: var(--primary-color, #027353);
}

img.img-fluid {
    border-radius: 40px;
}

.img-container::before {
    content: "";
    display: block;
    position: absolute;
    background: #000;
    width: 80px;
    height: 17px;
    top: 20px;
    left: 100px;
    border-radius: 50px;
    transition: background 0.3s ease;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary, #0A0A0A);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.preloader-img {
    height: 60px;
    width: auto;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color, #027353);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

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

/* Preloader for light theme */
html[data-theme="light"] .preloader {
    background: var(--bg-primary, #FFFFFF);
}

html[data-theme="light"] .preloader-img {
    content: url('images/Logo_Dark.png');
}

html[data-theme="light"] .spinner {
    border-top-color: var(--primary-color, #027353);
}

.img-container.img-container-2 {
    position: absolute;
    top: 50px;
    right: 85px;
    z-index: 1;
    height: 85%;
}

/* Phone Animation - Floating Effect */
@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatDownUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
}

.img-container {
    animation: floatUpDown 3s ease-in-out infinite;
}

.img-container.img-container-2 {
    animation: floatDownUp 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Bannar Styles */
.bannar p.title-line {
    border: 1px solid #E9E9E933;
    border-radius: 6px;
    font-size: 14px;
    line-height: 16px;
    color: #027353;
    width: fit-content;
    padding: 7px 8px;
}

h1.header-title {
    font-weight: 400;
    font-size: 42px;
    line-height: 45px;
}

.description {
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
}

.our-numbers-item {
    border-radius: 16px;
    border: 1px solid #FFC62133;
    padding: 16px;
    text-align: center;
    width: 160px;
    margin-top: 10px;
}

.our-numbers-item p.yellow {
    font-weight: 600;
    font-size: 24px;
    line-height: 40px;
}

.our-numbers-item p.green {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

/* Why Choose FantriX Styles */
.title {
    margin-bottom: 30px;
}

.title h2 {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 32px;
    line-height: 30px;
}

.title::after {
    content: "";
    height: 4px;
    width: 80px;
    position: absolute;
    bottom: 0px;
    background: #027353;
    z-index: 99;
    align-items: center;
    right: 47%;
    border-radius: 15px;
}

.why-choose-item {
    position: relative;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 12px 20px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.why-choose-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 198, 33, 0.2) 0%, rgba(15, 61, 19, 0.2) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.4s ease;
}

.why-choose-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px 0 #02735321, 0 0 20px #02735317;
}

.why-choose-item:hover::before {
    background: linear-gradient(135deg, #735f0280 0%, #02735380 100%);
}

.why-choose-item:hover .why-choose-item-title {
    color: #027353;
    transition: color 0.3s ease;
}

.why-choose-item:hover .why-choose-item-img {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.4s ease;
}

.why-choose-item-img {
    transition: transform 0.4s ease;
}

h3.why-choose-item-title {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    margin-top: 12px;
    margin-bottom: 5px;
}

p.why-choose-item-description {
    font-family: Cairo;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

/* Leagues Section Styles */
.leagues-subtitle {
    font-size: 16px;
    font-weight: 400px;
}

.check-leagues-link {
    color: #737373;
    position: relative;
    padding-bottom: 3px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.league-card {
    background: linear-gradient(135deg, rgba(15, 61, 19, 0.1) 0%, rgba(2, 115, 83, 0.2) 100%);
    border-radius: 16px;
    padding: 20px 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.league-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(2, 115, 83, 0.3) 0%, rgba(15, 61, 19, 0.3) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.league-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(2, 115, 83, 0.2);
}

.league-flag img {
    margin-bottom: 12px;
}

.league-card-title {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 12px;
}

.league-card-description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary, #0A0A0A);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.preloader-img {
    height: 60px;
    width: auto;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color, #027353);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

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

/* Preloader for light theme */
html[data-theme="light"] .preloader {
    background: var(--bg-primary, #FFFFFF);
}

html[data-theme="light"] .preloader-img {
    content: url('images/Logo_Dark.png');
}

html[data-theme="light"] .spinner {
    border-top-color: var(--primary-color, #027353);
}

/* Slider Styles */
.discover-app-container{
    background: var(--bg-secondary);
    padding-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.slider-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 80px;
    margin-bottom: 0;
}

.slider-wrapper {
    overflow: visible;
    position: relative;
    padding: 90px 0 110px;
    min-height: 360px;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-item {
    position: absolute;
    left: 50%;
    width: fit-content;
    display: flex;
    justify-content: center;
    transition: transform 0.6s 
        cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s 
        ease, filter 0.6s 
        ease;
    filter: blur(1.5px);
    top: -9rem;
    opacity: 0;
    visibility: hidden;
}

.slider-item.active {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
    filter: blur(0);
    z-index: 30;
    pointer-events: auto;
    visibility: visible;
}

.slider-item.prev,
.slider-item.next {
    opacity: 0.45;
    z-index: 20;
    visibility: visible;
}

.slider-item.prev {
    transform: translate(calc(-85% - 140px), 0px) scale(0.78);
}

.slider-item.next {
    transform: translate(calc(-15% + 140px), 0px) scale(0.78);
}

.slider-item.far-prev,
.slider-item.far-next {
    opacity: 0;
    transform: translate(-50%, 140px) scale(0.6);
    z-index: 0;
    visibility: hidden;
}

.phone-mockup {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    transition: all 0.4s ease;
    z-index: 2;
}

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

.phone-screen {
    width: auto;
    height: 500px;
    display: block;
    border-radius: 30px;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FFFFFFCC;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    color: #1A1A1A;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover {
    background: #027353;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(2, 115, 83, 0.4);
}

.slider-btn-prev {
    left: 20px;
}

.slider-btn-next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 130px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #A3A3A34D;
    cursor: pointer;
}

.dot:hover {
    background: #737373;
    transform: scale(1.15);
}

.dot.active {
    background: #027353;
    width: 38px;
    height: 8px;
    border-radius: 50px;
}

/* Contact Form Styles */
.contact-form {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.contact-form::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 198, 33, 0.2) 0%, rgba(15, 61, 19, 0.2) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.contact-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    border-top: 1px solid transparent;
    border-image-slice: 1;
    border-image-source: linear-gradient(135deg, rgba(255, 198, 33, 0.2) 0%, rgba(15, 61, 19, 0.2) 100%);
}

.form-title {
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: left;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
}

.contact-input {
    border-radius: 8px;
    border-width: 1px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    padding: 10px 15px;
    color: var(--text-primary);
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.contact-input:focus {
    background: var(--bg-secondary);
    border-color: #027353;
    box-shadow: 0 0 0 3px rgba(2, 115, 83, 0.15);
    color: var(--text-primary);
    outline: none;
}

.contact-input::placeholder {
    color: #737373;
}

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

.contact-submit-btn {
    background: #027353;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background: #03a06a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 115, 83, 0.4);
}

.contact-submit-btn svg {
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover svg {
    transform: translateX(4px) translateY(-4px);
}

/* Download App Section Styles */
.download-app-container{
    background: linear-gradient(135deg, rgba(15, 61, 19, 0.1) 0%, rgba(2, 115, 83, 0.2) 100%);
    margin: 0rem 0 0;
}

.download-app-container .title.position-relative:after {
    display: none;
}

.download-app-container .title{
    margin: 0;
}

.app-download-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-download-link:hover {
    transform: translateY(-4px);
}

.app-store-img {
    transition: all 0.3s ease;
}

.app-download-link:hover .app-store-img {
    filter: brightness(1.1);
}

.app-info-text {
    color: #737373;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}

/* Footer Styles */
.site-footer {
    background: var(--bg-tertiary);
    padding: 70px 0 40px;
    position: relative;
    transition: background-color 0.3s ease;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    border-top: 1px solid transparent;
    border-image-slice: 1;
    border-image-source: linear-gradient(135deg, rgba(255, 198, 33, 0.2) 0%, rgba(15, 61, 19, 0.2) 100%);
}

.footer-brand {
    max-width: 80%;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-description {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.footer-heading {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #027353;
}

.footer-social {
    display: flex;
    max-width: 200px;
    flex-wrap: wrap;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(2, 115, 83, 0.1);
    transition: all 0.3s ease;
}

.social-links{
    display: flex;
    flex-direction: column;
    align-items: end;
}

.social-link:hover {
    transform: translateY(-4px);
    background: rgba(2, 115, 83, 0.2);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.footer-copy,
.footer-made {
    font-size: 14px;
    margin: 0;
}

.footer-ball {
    font-size: 16px;
}

.quick-links{
    padding-left: 100px;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary, #0A0A0A);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.preloader-img {
    height: 60px;
    width: auto;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color, #027353);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

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

/* Preloader for light theme */
html[data-theme="light"] .preloader {
    background: var(--bg-primary, #FFFFFF);
}

html[data-theme="light"] .preloader-img {
    content: url('images/Logo_Dark.png');
}

html[data-theme="light"] .spinner {
    border-top-color: var(--primary-color, #027353);
}


.mobile-download-btn{
    display: none !important;
}

.header .navbar {
    padding: 1rem 0;
    position: relative;
}

header.header {
    position: fixed;
    width: 100%;
    z-index: 999;
    top: 0;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-primary);
    animation: slideInFromTop 0.6s ease-out 0.3s forwards;
}

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

header.header.scrolled {
    transform: translateY(0);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(16, 19, 18, 0.85);
}

header.header.hide-on-scroll {
    transform: translateY(-100%);
}

main.main {
    padding-top: 8rem;
}

html[data-theme="dark"] .dark-mode .dark-mode-btn img {
    filter: invert(0.6);
}

section.content:before {
    content: "";
    height: 100%;
    width: 100%;
    background: radial-gradient(80.61% 181.49% at 70% 10%, rgba(227, 149, 37, 0.15) 0%, rgba(0, 0, 0, 0) 45%),radial-gradient(78.5% 176.75% at 30% 20%, rgba(9, 39, 11, 0.6) 0%, rgba(0, 0, 0, 0) 40%);
    position: absolute;
    top: 80px;
    display: block;
    z-index: 0;
}

section.content .content-container {
    z-index: 9;
    position: relative;
}

section.content p.text-align-justify {
    text-align: justify;
    color: hsl(0deg 0% 100% / 80%);
}

/* Scroll Animation Styles */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

div#home {
    height: calc(80vh - 0px) !important;
}

img.img-fluid {
    height: 550px;
}

.img-container.img-container-2 {
    height: 90% !important;
}

.img-container.img-container-2 img.img-fluid {
    height: 495px;
}

h1.header-title {
    font-size: 32px;
}

.description {
    font-size: 20px;
}

.our-numbers-item {
    padding: 12px;
}

.our-numbers-item p.green {
    font-size: 14px;
}

.slider-wrapper .img-container::before {
    display: none;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary, #0A0A0A);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.preloader-img {
    height: 60px;
    width: auto;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color, #027353);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

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

/* Preloader for light theme */
html[data-theme="light"] .preloader {
    background: var(--bg-primary, #FFFFFF);
}

html[data-theme="light"] .preloader-img {
    content: url('images/Logo_Dark.png');
}

html[data-theme="light"] .spinner {
    border-top-color: var(--primary-color, #027353);
}

/* Responsive Styles */
@media (max-width: 767px) {
    .bannar p.title-line {
        font-size: 9px;
    }

    main.main {
        padding-top: 6rem;
    }

    h1.header-title {
        font-size: 16px;
        line-height: 25px;
    }

    button.navbar-toggler {
        padding: 5px;
    }

    div#home img {
        height: 35px;
    }

    .feature img {
        height: 8px !important;
    }

    ul li img {
        margin-left: 5px !important;
    }

    .description {
        font-weight: 400;
        font-size: 11px;
        line-height: 22px;
        text-align: justify;
    }

    .font-14 {
        font-size: 12px !important;
    }

    .ml-2 {
        margin-left: 10px !important;
    }

    .our-numbers-item p.yellow {
        font-weight: 600;
        font-size: 15px;
        line-height: 25px;
    }

    .our-numbers-item {
        padding: 12px 0px;
    }

    .our-numbers-item p.green {
        font-size: 8px;
        line-height: 24px;
        margin-left: 5px !important;
        margin-right: 5px !important;
    }

    div#features , div#app{
        margin-top: 0px !important;
        padding-top: 5px !important;
        overflow: hidden;
    }

    .d-flex.gap-3.mt-5.pt-3 {
        margin-top: 0 !important;
    }

    .d-flex.gap-3.mt-5.pt-3 img {
        height: 37px;
    }

    .col-md-5.col-12.d-flex.position-relative {
        display: none !important;
    }

    .title h2 {
        font-size: 18px;
    }

    .leagues-subtitle {
        font-size: 16px;
        margin-top: 20px;
    }

    .league-card-title {
        font-size: 16px;
        line-height: 20px;
    }

    .league-card-description {
        font-size: 12px;
        line-height: 18px;
    }

    .league-card {
        padding: 12px 15px;
        margin-bottom: 30px;
    }

    .phone-screen {
        height: 310px;
    }

    .content .px-5 {
        padding-right: 0rem !important;
        padding-left: 0rem !important;
    }
    
    .content .m-5 {
        margin: 0rem !important;
    }



    .title::after {
        right: 35%;
        top: 40px;
    }

    div#features, div#coverage {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    img.why-choose-item-img {
        height: 35px;
    }

    h3.why-choose-item-title {
        font-size: 12px;
        line-height: 18px;
    }

    div#coverage {
        margin-top: 15px !important;
        padding-top: 10px !important;
    }

    p.why-choose-item-description {
        font-size: 10px;
        line-height: 15px;
    }

    .col-lg-4.col-md-6.col-12.fade-in-up.visible {
        width: 50%;
        padding: 0 5px 0 5px;
    }

    .why-choose-item {
        padding: 5px 5px;
        margin-bottom: 10px;
        min-height: 145px;
    }

    .quick-links {
        padding-left: 15px;
    }

    .social-links {
        margin-top: 25px;
        align-items: start;
    }

    .footer-bottom {
        margin-top: 25px;
        padding-top: 10px;
    }



    .footer-brand {
        max-width: 100%;
    }

    .img-container {
        width: 250px;
    }

    header.header .container.px-4 {
        padding: 0px 15px !important;
    }

    .slider-btn {
        top: -20%;
    }

    .slider-wrapper {
        padding: 90px 0 110px;
        min-height: 325px;
    }

    div#contact .title {
        margin-bottom: 0px;
    }

    .site-footer {
        padding: 35px 0 35px;
    }

    .footer-logo {
        margin-bottom: 15px;
        height: 45px;
    }

    .footer-description {
        font-size: 12px;
        line-height: 20px;
        margin: 0;
    }

    .quick-links {
        padding-right: 15px;
        margin-top: 25px;
    }




    .slider-container {
        padding: 0 40px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .slider-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .slider-btn-prev {
        left: -25px;
    }
    
    .slider-btn-next {
        right: -25px;
    }

    a.app-download-link img {
        height: 30px;
    }

    .d-flex.justify-content-center {
        flex-direction: column;
    }
        
    .phone-mockup {
        max-width: 165px;
    }
    
    .slider-item.active .phone-mockup {
        max-width: 165px;
    }
    
    .slider-item {
        padding: 10px;
    }
    
    .slider-item.active {
        transform: translate(-50%, 20px) scale(0.92);
    }
    
    .slider-item.prev,
    .slider-item.next {
        opacity: 0.6;
        filter: blur(1.8px);
    }

    .slider-item.prev {
        transform: translate(calc(-50% - 70px), 35px) scale(0.68);
    }

    .slider-item.next {
        transform: translate(calc(-50% + 70px), 35px) scale(0.68);
    }

    .slider-item.far-prev,
    .slider-item.far-next {
        transform: translate(-50%, 150px) scale(0.75);
        opacity: 0;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .section-subtitle {
        font-size: 16px;
        line-height: 24px;
    }
    
    .slider-wrapper {
        padding: 20px 0;
    }

    .slider-dots {
        margin-top: -80px;
    }
    
    .contact-form {
        padding: 15px 15px;
    }
    
    .form-title {
        font-size: 20px;
        line-height: 28px;
    }
    
    .contact-input {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .contact-submit-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .app-store-img {
        height: 48px;
    }
    
    .app-info-text {
        font-size: 12px;
        padding: 0 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .desktop-download-btn{
        display: none !important;
    }
    
    .mobile-download-btn{
        display: block !important;
    }

    .dark-mode {
        position: absolute;
        right: 90px;
        top: 15px;
    }

    a.navbar-brand img {
        height: 30px;
    }

    button.btn.dark-mode-btn {
        padding: 0 !important;
    }

    button.btn.dark-mode-btn  img , a.btn.lang-btn img {
        height: 15px !important;
    }

    div#home {
        padding: 0 15px !important;
    }





    
}

@media (min-width: 767px) and (max-width: 1024px) {
    .desktop-download-btn{
        display: none !important;
    }

    header.header {
        position: relative;
    }

    .dark-mode {
        position: absolute;
        top: 16px;
        right: 15%;
    }

    .mobile-download-btn {
        display: block !important;
    }

    .bannar p.title-line {
        font-size: 12px;
    }

    h1.header-title {
        font-size: 25px;
        line-height: 35px;
    }

    .description {
        font-size: 12px;
        line-height: 22px;
    }

    .font-14 {
        font-size: 12px !important;
    }

    .ml-2 {
        margin-left: 5px !important;
        margin-right: 5px !important;
    }

    .our-numbers-item p.yellow {
        font-size: 18px;
        line-height: 30px;
    }

    .our-numbers-item {
        padding: 16px 0;
    }

    .our-numbers-item p.green {
        font-size: 14px;
    }

    .img-container::before {
        left: 90px;
    }

    .img-container.img-container-2 {
        right: -35px;
        height: 76%;
    }

    .img-container.img-container-2 img{
        height: 100%;
    }

    .why-choose-item {
        min-height: 13rem;
    }

    .title h2 {
        font-size: 30px;
    }

    .leagues-section .justify-content-center {
        display: flex;
        width: 100%;
        justify-content: space-between !important;
    }

    .league-card {
        padding: 12px 20px;
        margin-bottom: 30px;
    }

    .leagues-section .col-md-5 {
        width: 47%;
    }

    .title {
        margin-bottom: 35px;
    }

    .slider-dots {
        margin-top: 0px;
    }

    .quick-links {
        padding-left: 15px;
    }

}

@media (min-width: 1400px) { 
    main.main {
        padding-top: 7rem;
    }

    h1.header-title {
        font-size: 30px;
        line-height: 35px;
    }

    p.description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    img.img-fluid {
        height: 490px;
    }

    .img-container.img-container-2 img.img-fluid {
        height: 400px;
    }

    .img-container.img-container-2 {
        height: 85% !important;
    }

    .img-container::before {
        left: 95px;
        width: 70px;
    }
    
    .col-12.text-center.title.position-relative.fade-in-up.visible {
        margin-bottom: 20px;
    }

    .title h2 {
        font-size: 26px;
        line-height: 28px;
    }

    .leagues-subtitle {
        font-size: 14px;
        font-weight: 400;
    }

    .phone-screen {
        height: 450px;
    }

    .discover-app-container, div#coverage {
        margin-top: 1rem !important;
        padding-top: 2rem !important;
    }

    .slider-wrapper {
        min-height: 310px;
    }

    .img-container.img-container-2::before {
        left: 70px;
        width: 60px;
    }

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary, #0A0A0A);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.preloader-img {
    height: 60px;
    width: auto;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color, #027353);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

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

/* Preloader for light theme */
html[data-theme="light"] .preloader {
    background: var(--bg-primary, #FFFFFF);
}

html[data-theme="light"] .preloader-img {
    content: url('images/Logo_Dark.png');
}

html[data-theme="light"] .spinner {
    border-top-color: var(--primary-color, #027353);
}







}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary, #0A0A0A);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.preloader-img {
    height: 60px;
    width: auto;
    animation: pulse 2s ease-in-out infinite;
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color, #027353);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

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

/* Preloader for light theme */
html[data-theme="light"] .preloader {
    background: var(--bg-primary, #FFFFFF);
}

html[data-theme="light"] .preloader-img {
    content: url('images/Logo_Dark.png');
}

html[data-theme="light"] .spinner {
    border-top-color: var(--primary-color, #027353);
}





