/* ========================================
   MODERN CASINO FOOTER - COMPLETE REDESIGN
   ======================================== */

/* ========== CORE STYLES ========== */
.new-footer-casino {
    position: relative;
    #: linear-gradient(180deg, #181b30 0%, #111531 100%);
    color: #ffffff;
    overflow: hidden;
    padding-bottom: 40px;
    width: 100%;
    margin: 0;
    background-color: #181b30;
}

.new-footer-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    pointer-events: none;
}

.new-footer-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ========== HERO SECTION ========== */
.new-footer-hero {
    padding: 30px 0 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 35px;
}

.new-footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.new-footer-brand .new-footer-brand-name {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #08fcfc 0%, #0053ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

.new-footer-brand .new-footer-brand-tagline {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.new-footer-social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.new-footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #08fcfc42;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.new-footer-social-icon:hover {
    background: linear-gradient(135deg, #08fcfc 0%, #0053ff 100%);
    border-color: #08fcfc;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px #08fcfc4d;
}

/* ========== MAIN GRID (DESKTOP) ========== */
.new-footer-main-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    align-items: start;
}

.new-footer-column {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    min-height: 150px;
    max-height: 300px;
}

.new-footer-column:nth-child(1) { animation-delay: 0.1s; }
.new-footer-column:nth-child(2) { animation-delay: 0.2s; }
.new-footer-column:nth-child(3) { animation-delay: 0.3s; }
.new-footer-column:nth-child(4) { animation-delay: 0.4s; }
.new-footer-column:nth-child(5) { animation-delay: 0.5s; }
.new-footer-column:nth-child(6) { animation-delay: 0.6s; }

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

.new-footer-column-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff !important;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 10px;
}

.new-footer-column-title i {
    font-size: 2rem;
    flex-shrink: 0;
    color: #08fcfc !important;
}

.new-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.new-footer-links li {
    margin-bottom: 0;
    line-height: 1.4;
}

.new-footer-links a {
    color: #d0d0d0 !important;
    text-decoration: none !important;
    font-size: 1.2rem !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 4px 0;
    line-height: 1.5;
    font-weight: 400;
}

.new-footer-links a i {
    font-size: 1.4rem !important;
    width: 20px;
    opacity: 0.8;
    color: #08fcfc !important;
}

.new-footer-links a:hover {
    color: #ffffff !important;
    padding-left: 5px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.new-footer-links a:hover i {
    opacity: 1;
}

/* ========== PAYMENT METHODS ========== */
.new-footer-payments {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
}

.new-footer-payment-methods-wrapper,
.new-footer-crypto-methods-wrapper {
    margin-bottom: 30px;
}

.new-footer-payment-methods-wrapper:last-child,
.new-footer-crypto-methods-wrapper:last-child {
    margin-bottom: 0;
}

.new-footer-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.new-footer-section-title i {
    font-size: 2rem;
    color: #08fcfc;
}

.new-footer-payment-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.new-footer-payment-logo-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 60px;
    width: 100%;
}

.new-footer-payment-logo-item:hover {
    background: #08fcfc42;
    border-color: #08fcfc42;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px #08fcfc30;
}

.new-footer-payment-logo-item img {
    max-width: 100%;
    max-height: 35px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(10);
}

.new-footer-payment-logo-item:hover img {
    filter: brightness(1.2);
    filter: grayscale(100%) brightness(10);
}

/* ========== LICENSES & BADGES ========== */
.new-footer-licenses {
    background: #181b30;
    border: 1px solid #08fcfc30;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.new-footer-license-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.new-footer-license-text {
    flex: 1;
    min-width: 300px;
}

.new-footer-license-info,
.new-footer-responsible-gaming {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #b0b0b0;
    margin: 0 0 15px 0;
}

.new-footer-license-info:last-child,
.new-footer-responsible-gaming:last-child {
    margin-bottom: 0;
}

.new-footer-license-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.new-footer-badge-item {
    /* background: rgba(255, 255, 255, 0.05); */
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    border-radius: 12px;
    /* padding: 15px 20px; */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-footer-badge-item:hover {
    transform: translateY(-3px);
}

.new-footer-badge-logo {
    max-width: 100px;
    height: auto;
    display: block;
}

/* ========== AGE RESTRICTION ========== */
.new-footer-age-restriction {
    background: linear-gradient(135deg, #08fcfc 0%, #0053ff 100%);
    border-radius: 10px;
    padding: 12px 30px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.new-footer-age-icon {
    width: 45px;
    height: 45px;
    background: #111531;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.new-footer-age-restriction p {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: left;
    line-height: 1.3;
}

/* ========== BOTTOM BAR ========== */
.new-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    padding-bottom: 5px;
    margin-top: 5px;
}

.new-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.new-footer-copyright {
    margin: 0;
    color: #808080;
    font-size: 0.75rem;
    line-height: 1.2;
}

.new-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.new-footer-bottom-links a {
    color: #d0d0d0 !important;
    text-decoration: none !important;
    font-size: 1.2rem !important;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.new-footer-bottom-links a:hover {
    color: #ffffff !important;
}

.new-footer-bottom-links .new-footer-separator {
    color: #606060;
    font-size: 1rem;
}

/* ========== MOBILE ACCORDION (Hidden on Desktop) ========== */
.new-footer-accordion-section {
    display: none;
}

/* ========== BACK TO TOP BUTTON ========== */
.scroll-to-top--RNUf_ {
    background: linear-gradient(135deg, #08fcfc 0%, #c41219 100%);
    border: none;
    color: white;
    padding: 15px 35px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 250px;
    width: 100%;
    font-weight: 600;
    box-shadow: 0 5px 20px #08fcfc4d;
}

.scroll-to-top--RNUf_:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgb(8 252 252 / 60%);
}

/* ========== TABLET RESPONSIVE (768px - 1024px) ========== */
@media (max-width: 1024px) {
    .new-footer-main-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .new-footer-column {
        max-height: none;
    }
    
    .new-footer-brand .new-footer-brand-name {
        font-size: 2.5rem;
    }
    
    .new-footer-payment-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 15px;
    }
    
    .new-footer-payments {
        padding: 30px;
    }
}

/* ========== MOBILE RESPONSIVE (max-width: 767px) ========== */
@media (max-width: 767px) {
    .casino-footer {
        padding-bottom: 80px;
    }
    
    .new-footer-container {
        padding: 0 15px;
    }
    
    .new-footer-column {
        max-height: none;
    }
    
    /* Hide Desktop Grid, Show Mobile Accordion */
    .new-footer-main-grid {
        display: none !important;
    }
    
    .new-footer-accordion-section {
        display: block;
        margin-bottom: 30px;
    }
    
    /* Hero Section Mobile */
    .new-footer-hero {
        padding: 20px 0 15px;
        margin-bottom: 20px;
    }
    
    .new-footer-logo-section {
        gap: 10px;
    }
    
    .new-footer-brand .new-footer-brand-name {
        font-size: 1.5rem;
    }
    
    .new-footer-brand .new-footer-brand-tagline {
        font-size: 0.8rem;
    }
    
    .new-footer-social-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .new-footer-social-links {
        gap: 10px;
    }
    
    /* Accordion Styles */
    .new-footer-accordion-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        margin-bottom: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .new-footer-accordion-header {
        padding: 12px 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        user-select: none;
        transition: all 0.3s ease;
        font-weight: 600;
        color: #ffffff !important;
        font-size: 1.2rem !important;
    }
    
    .new-footer-accordion-header:active {
        background: #08fcfc42;
    }
    
    .new-footer-accordion-header i:first-child {
        color: #08fcfc !important;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    .new-footer-accordion-header span {
        flex: 1;
        font-size: 1rem;
        letter-spacing: 0.3px;
    }
    
    .new-footer-accordion-icon {
        transition: transform 0.3s ease;
        color: #808080 !important;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .new-footer-accordion-item.active .new-footer-accordion-icon {
        transform: rotate(180deg);
        color: #08fcfc !important;
    }
    
    .new-footer-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }
    
    .new-footer-accordion-item.active .new-footer-accordion-content {
        max-height: 600px;
    }
    
    .new-footer-accordion-content .new-footer-links {
        padding: 5px 15px 15px;
        gap: 6px;
    }
    
    .new-footer-accordion-content .new-footer-links li {
        margin-bottom: 0;
    }
    
    .new-footer-accordion-content .new-footer-links a {
        font-size: 1.2rem !important;
        padding: 5px 0;
        color: #d0d0d0 !important;
    }
    
    .new-footer-accordion-content .new-footer-links a i {
        font-size: 1.1rem !important;
        width: 20px;
    }
    
    /* Payment Section Mobile */
    .new-footer-payments {
        padding: 20px 15px;
        margin-bottom: 25px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .new-footer-section-title {
        font-size: 1rem;
        margin-bottom: 15px;
        text-align: center;
        font-weight: 600;
        color: #ffffff !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .new-footer-section-title i {
        color: #08fcfc !important;
        font-size: 1.1rem;
    }
    
    .new-footer-payment-logos-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .new-footer-payment-logo-item {
        padding: 10px 15px;
        min-height: 50px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 calc(33.333% - 7px);
        max-width: calc(33.333% - 7px);
    }
    
    .new-footer-payment-logo-item:hover {
        background: #08fcfc42;
        border-color: #08fcfc42;
        transform: translateY(-2px);
    }
    
    .new-footer-payment-logo-item img {
        max-height: 28px;
        width: auto;
        filter: brightness(0) invert(1);
        opacity: 0.9;
    }
    
    .new-footer-payment-methods-wrapper,
    .new-footer-crypto-methods-wrapper {
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .new-footer-payment-methods-wrapper:last-child,
    .new-footer-crypto-methods-wrapper:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    /* Licenses Mobile */
    .new-footer-licenses {
        padding: 20px 15px;
        margin-bottom: 25px;
        border-radius: 10px;
    }
    
    .new-footer-license-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .new-footer-license-text {
        min-width: auto;
        text-align: center;
    }
    
    .new-footer-license-info,
    .new-footer-responsible-gaming {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .new-footer-license-badges {
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .new-footer-badge-logo {
        max-width: 115px;
        max-height: 35px;
    }
    
    /* Age Restriction Mobile */
    .new-footer-age-restriction {
        padding: 10px 15px;
        margin-bottom: 8px;
        flex-direction: row;
        gap: 10px;
    }
    
    .new-footer-age-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .new-footer-age-restriction p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Bottom Bar Mobile */
    .new-footer-bottom {
        padding-top: 8px;
        padding-bottom: 5px;
        margin-top: 0;
    }
    
    .new-footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 0 15px;
    }
    
    .new-footer-copyright {
        font-size: 0.75rem;
        line-height: 1.3;
        margin: 0;
    }
    
    .new-footer-bottom-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .new-footer-bottom-links a {
        font-size: 1.2rem !important;
        color: #d0d0d0 !important;
    }
    
    .new-footer-bottom-links .new-footer-separator {
        font-size: 1rem;
        color: #808080;
    }
    
    /* Back to Top Mobile */
    .scroll-to-top--RNUf_ {
        padding: 10px 25px;
        font-size: 0.85rem;
        margin: 15px auto;
    }
    
    .scroll-to-top--RNUf_ .content--Sz5vr {
        gap: 8px;
    }
    
    .scroll-to-top--RNUf_ svg {
        width: 20px;
        height: 20px;
    }
}

/* ========== EXTRA SMALL MOBILE (max-width: 480px) ========== */
@media (max-width: 480px) {
    .new-footer-hero {
        padding: 15px 0 12px;
        margin-bottom: 15px;
    }
    
    .new-footer-brand .new-footer-brand-name {
        font-size: 1.4rem;
    }
    
    .new-footer-brand .new-footer-brand-tagline {
        font-size: 0.75rem;
    }
    
    .new-footer-social-icon {
        width: 40px;
        height: 40px;
        font-size: 15px !important;
    }
    
    .new-footer-social-links {
        gap: 8px;
    }
    
    .new-footer-accordion-item {
        margin-bottom: 8px;
    }
    
    .new-footer-accordion-header {
        padding: 0px 25px;
        font-size: 1.1rem !important;
        gap: 8px;
    }
    
    .new-footer-accordion-header span {
        font-size: 1.1rem;
    }
    
    .new-footer-accordion-header i:first-child {
        font-size: 2rem;
    }
    
    .new-footer-accordion-content .new-footer-links {
        padding: 5px 12px 12px;
        gap: 4px;
    }
    
    .new-footer-accordion-content .new-footer-links a {
        font-size: 1.1rem !important;
        padding: 4px 0;
    }
    
    .new-footer-accordion-content .new-footer-links a i {
        font-size: 1.3rem !important;
        width: 18px;
    }
    
    .new-footer-payment-logos-grid {
        gap: 8px;
    }
    
    .new-footer-payment-logo-item {
        flex: 0 0 calc(50% - 4px);
        max-width: calc(50% - 4px);
        padding: 8px 12px;
        min-height: 45px;
    }
    
    .new-footer-payment-logo-item img {
        max-height: 24px;
    }
    
    .new-footer-section-title {
        font-size: 0.9rem;
    }
    
    .new-footer-payments {
        padding: 15px 12px;
    }
    
    .new-footer-age-restriction {
        padding: 8px 12px;
        gap: 8px;
        margin-bottom: 6px;
    }
    
    .new-footer-age-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .new-footer-age-restriction p {
        font-size: 0.85rem;
    }
    
    .new-footer-bottom {
        padding-top: 6px;
        padding-bottom: 4px;
    }
    
    .new-footer-bottom-content {
        gap: 5px;
    }
    
    .new-footer-copyright {
        font-size: 0.7rem;
    }
    
    .new-footer-bottom-links a {
        font-size: 1.1rem !important;
    }
    
    .new-footer-bottom-links .new-footer-separator {
        font-size: 0.95rem;
    }
    
    .new-footer-accordion-header {
        /* padding: 15px; */
        font-size: 0.9rem;
    }
    
    .new-footer-section-title {
        font-size: 0.95rem;
    }
}

/* ========== RTL SUPPORT ========== */
[dir="rtl"] .new-footer-links a {
    flex-direction: row-reverse;
}

[dir="rtl"] .new-footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

[dir="rtl"] .new-footer-column-title {
    flex-direction: row-reverse;
}

[dir="rtl"] .new-footer-section-title {
    flex-direction: row-reverse;
}

[dir="rtl"] .new-footer-accordion-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .new-footer-bottom-content {
    direction: rtl;
}

/* ========== ANIMATIONS ========== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.new-footer-badge-item:hover {
    animation: pulse 0.6s ease-in-out;
}

/* ========== PRINT STYLES ========== */
@media print {
    .new-footer-casino {
        background: white;
        color: black;
    }
    
    .new-footer-gradient-bg,
    .new-footer-social-icon,
    .scroll-to-top--RNUf_ {
        display: none;
    }
}
