@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
* { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body { 
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://mail.freebet.center/public/assets/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}
.gradient-bg { 
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.gradient-bg-alt { 
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}
.card-hover { 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.card-hover:hover { 
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(16, 185, 129, 0.1);
}
.card-hover::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
.card-hover:hover::before {
    opacity: 1;
}
.pulse-animation { 
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; 
}
@keyframes pulse { 
    0%, 100% { opacity: 1; } 
    50% { opacity: .6; } 
}
.bounce-in { 
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; 
}
@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}
.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}
.ad-container {
    margin: 10px 0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.ad-container:hover {
    transform: scale(1.02);
}
.ad-link {
    display: block;
    text-decoration: none;
}
.ad-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}
.ad-header {
    max-width: 100%;
    margin: 0 auto 20px;
}
.ad-sidebar {
    margin-bottom: 20px;
}
.ad-footer {
    margin-top: 20px;
}
.ad-banner {
    width: 100%;
    margin: 20px 0;
}
.ad-content {
    padding: 15px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
}
.ad-title {
    font-size: 16px;
    font-weight: 600;
    color: #065f46;
    margin-bottom: 8px;
}
.ad-description {
    font-size: 14px;
    color: #047857;
    margin: 0;
}

/* Ad Slider Styles */
.ad-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}
.ad-slider-wrapper {
    position: relative;
    width: 100%;
    min-height: 100px;
}
.ad-slide {
    display: none !important;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}
.ad-slide.active {
    display: block !important;
    opacity: 1;
}
.ad-slide-content {
    width: 100%;
}
/* Hide ad slider dots */
.ad-slider-dots {
    display: none !important;
}
.ad-slider-dot {
    display: none !important;
}
.ad-slider-prev,
.ad-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}
.ad-slider-container:hover .ad-slider-prev,
.ad-slider-container:hover .ad-slider-next {
    opacity: 1;
}
.ad-slider-prev:hover,
.ad-slider-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}
.ad-slider-prev {
    left: 10px;
}
.ad-slider-next {
    right: 10px;
}
@media (max-width: 640px) {
    .ad-slider-prev,
    .ad-slider-next {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    .ad-slider-prev {
        left: 5px;
    }
    .ad-slider-next {
        right: 5px;
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #34d399);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after {
    width: 80%;
}
.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.smooth-scroll {
    scroll-behavior: smooth;
}
@media (max-width: 1024px) {
    .nav-link span {
        display: none;
    }
}

/* Admin Dropdown Navigation */
.nav-dropdown {
    position: relative;
    z-index: 9999;
}

.nav-dropdown-btn {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999 !important;
    pointer-events: none;
    padding: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.875rem;
    color: rgba(229, 231, 235, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-dropdown-item:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    transform: translateX(4px);
}

.nav-dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 0.75rem;
    font-size: 0.875rem;
}

.nav-dropdown-divider {
    height: 1px;
    background: rgba(75, 85, 99, 0.3);
    margin: 0.5rem 0;
}

/* Responsive dropdown adjustments */
@media (max-width: 1280px) {
    .nav-dropdown-btn span {
        display: none;
    }
    .nav-dropdown-menu {
        min-width: 180px;
    }
}

@media (max-width: 1024px) {
    .nav-dropdown {
        display: none;
    }
}

/* Extra small screens */
@media (max-width: 375px) {
    nav .flex.justify-between {
        gap: 0.5rem;
    }
    
    nav .flex-shrink-0 img {
        max-width: 80px;
        height: auto;
    }
}

/* Landing Page Styles */
.stadium-bg {
    background-image: url('https://mail.freebet.center/public/assets/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}
.stadium-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 0;
}
.content-wrapper {
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .stadium-bg {
        background-attachment: scroll;
        background-image: none;
    }
    .stadium-bg::before {
        display: none;
    }
}

/* Events Carousel */
.events-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.events-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 1rem;
}
.event-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}
.event-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}
.event-slide.prev {
    transform: translateX(-100%) scale(0.8);
    opacity: 0;
}
.event-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    z-index: 10;
    padding: 0 1rem;
}
.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.indicator:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}
.indicator.active {
    background-color: #10b981;
    width: 32px;
    border-radius: 6px;
    border-color: #10b981;
}
.event-image {
    height: 100%;
    width: 100%;
    object-fit: contain;
    flex: 1;
}
@media (max-width: 1024px) {
    .events-carousel {
        height: 450px;
    }
}
@media (max-width: 768px) {
    .events-carousel {
        height: 55vh;
        min-height: 350px;
        max-height: 500px;
        border-radius: 1rem;
    }
    .event-image {
        object-fit: contain;
    }
    .event-card {
        background-color: rgba(0, 0, 0, 0.2);
    }
    .events-carousel-wrapper {
        padding: 0 0.75rem;
    }
}
@media (max-width: 640px) {
    .events-carousel {
        height: 50vh;
        min-height: 320px;
        max-height: 450px;
    }
    .indicator {
        width: 10px;
        height: 10px;
        min-width: 10px;
        min-height: 10px;
    }
    .indicator.active {
        width: 28px;
    }
    .carousel-indicators {
        gap: 0.625rem;
        margin-top: 1.25rem;
        padding: 0.5rem;
    }
}
@media (max-width: 480px) {
    .events-carousel {
        height: 45vh;
        min-height: 300px;
        max-height: 400px;
    }
    .events-carousel-wrapper {
        padding: 0 0.5rem;
    }
    .indicator {
        width: 8px;
        height: 8px;
    }
    .indicator.active {
        width: 24px;
    }
}
@media (max-width: 360px) {
    .events-carousel {
        height: 40vh;
        min-height: 280px;
        max-height: 350px;
    }
}

/* Custom Green Color */
.text-green-custom {
    color: #10b981;
}
.bg-green-custom {
    background-color: #10b981;
}
.hover\:bg-green-custom:hover {
    background-color: #059669;
}

/* Free Bet Section */
.free-bet-section {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.1);
}
.free-bet-steps {
    margin-bottom: 2rem;
}
.step-item {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.step-item:hover {
    transform: translateY(-5px);
}
.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}
.step-item:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
}
.step-title {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    line-height: 1.4;
}
@media (max-width: 640px) {
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 0 auto 0.75rem;
    }
    .step-title {
        font-size: 0.875rem;
        letter-spacing: 0.05em;
    }
    .step-item {
        padding: 1rem;
    }
}
@media (max-width: 480px) {
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    .step-title {
        font-size: 0.75rem;
    }
}
.rewards-text {
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(16, 185, 129, 0.8), 0 0 40px rgba(16, 185, 129, 0.6);
    }
}
.free-bet-description {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}
@media (max-width: 768px) {
    .free-bet-section {
        padding: 1.5rem;
        border-radius: 1rem;
    }
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .step-title {
        font-size: 0.875rem;
    }
    .rewards-text {
        font-size: 1.25rem;
    }
    .free-bet-description {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
}
@media (max-width: 480px) {
    .free-bet-section {
        padding: 1.25rem;
    }
    .free-bet-steps {
        gap: 1rem;
    }
}

/* Modern Mobile Typography & Spacing */
@media (max-width: 640px) {
    body {
        font-size: 15px;
        line-height: 1.6;
    }
    h1 {
        font-size: 1.875rem;
        line-height: 1.2;
    }
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    h3 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Touch-friendly buttons and links */
@media (max-width: 1024px) {
    button, a, [role="button"] {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .nav-link {
        -webkit-tap-highlight-color: rgba(16, 185, 129, 0.2);
        touch-action: manipulation;
    }
}

/* Mobile card improvements */
@media (max-width: 640px) {
    .card-hover {
        margin-bottom: 1rem;
    }
    .stat-card {
        padding: 1.25rem;
    }
    .stat-card p {
        font-size: 0.875rem;
    }
    .stat-card .text-4xl {
        font-size: 2rem;
    }
}

/* Mobile table improvements */
@media (max-width: 768px) {
    table {
        font-size: 0.875rem;
    }
    th, td {
        padding: 0.75rem 0.5rem;
    }
}

/* Mobile form improvements */
@media (max-width: 640px) {
    input, select, textarea {
        font-size: 16px;
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    button[type="submit"] {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
        font-weight: 600;
    }
}

/* Safe area for notched devices */
@supports (padding: max(0px)) {
    @media (max-width: 1024px) {
        body {
            padding-left: max(0px, env(safe-area-inset-left));
            padding-right: max(0px, env(safe-area-inset-right));
        }
        nav {
            padding-left: max(1rem, env(safe-area-inset-left));
            padding-right: max(1rem, env(safe-area-inset-right));
        }
    }
}

/* Sports Events Slider Styles */
.sports-events-slider {
    position: relative;
    width: 100%;
    min-height: 300px;
}
.sports-event-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}
.sports-event-slide.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.sports-slider-prev,
.sports-slider-next {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.sports-slider-prev:hover,
.sports-slider-next:hover {
    transform: translateY(-50%) scale(1.1);
}
.sports-slider-indicators {
    display: flex;
    gap: 0.5rem;
}
.sports-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.sports-indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}
.sports-indicator.active {
    background-color: #10b981;
    width: 32px;
    border-radius: 6px;
    border-color: #10b981;
}
@media (max-width: 640px) {
    .sports-slider-prev,
    .sports-slider-next {
        width: 40px;
        height: 40px;
        padding: 0.5rem;
    }
    .sports-indicator {
        width: 10px;
        height: 10px;
    }
    .sports-indicator.active {
        width: 28px;
    }
}

/* FAQ Section Styles */
.faq-item.active {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(0, 0, 0, 0.8);
}
.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}
.faq-answer {
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.faq-icon.rotate-180 {
    transform: rotate(180deg);
}
@media (max-width: 640px) {
    .coming-soon-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}

