/* AmonBet Casino - Styles */
:root {
    --gold: #D4AF37;
    --gold-dark: #B8941F;
    --gold-light: #E5C866;
    --blue: #1a1f71;
    --blue-light: #2a3a9e;
    --blue-dark: #0f1342;
    --dark: #0a0a0a;
    --dark-gray: #1a1a1a;
    --gray: #2a2a2a;
    --light-gray: #3a3a3a;
    --text: #ffffff;
    --text-gray: #cccccc;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: var(--dark-gray);
    border-right: 1px solid var(--gray);
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo-img {
    max-height: 50px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 35px;
    }
}

.burger-menu {
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: none;
}

.block-menu {
    padding: 20px 0;
}

.menu {
    list-style: none;
    padding: 0;
}

.menu li {
    margin: 0;
}

.nav-link-main {
    display: block;
    padding: 15px 20px;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-link-main:hover,
.nav-link-main.active {
    color: var(--gold);
    background: var(--gray);
    border-left-color: var(--gold);
}

.divider {
    height: 1px;
    background: var(--gray);
    margin: 20px 0;
}

.info {
    padding: 20px;
    text-align: center;
}

.info p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.support-logo {
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

.amonbet-logo-support {
    max-width: 120px;
    height: auto;
    border-radius: 5px;
}

.social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social img:hover {
    opacity: 1;
}

/* Content */
.content {
    margin-left: 280px;
    min-height: 100vh;
}

/* Topbar */
.topbar {
    background: var(--dark-gray);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray);
    position: sticky;
    top: 0;
    z-index: 100;
}

.offers {
    display: flex;
    gap: 20px;
    align-items: center;
}

.offer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.offer a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.offer img {
    width: 24px;
    height: 24px;
}

.offer p {
    margin: 0;
    font-size: 14px;
}

.offer span {
    color: var(--gold);
    font-weight: bold;
}

.login {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--gray);
    color: var(--text);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
    cursor: pointer;
}

.btn:hover {
    background: var(--gray);
    border-color: var(--gold);
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #000000 !important;
    font-weight: bold;
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #000000 !important;
}

.btn-gold.btn-large {
    color: #000000 !important;
}

.btn-gold.btn-large:hover {
    color: #000000 !important;
}

/* Assurer que les boutons gold dans les box ont le texte noir */
.box a.btn-gold,
.box a.btn-gold.btn-large {
    color: #000000 !important;
}

.box a.btn-gold:hover,
.box a.btn-gold.btn-large:hover {
    color: #000000 !important;
}

/* Style néon pour les boutons "S'inscrire" (pas dans le menu) */
.box a.btn-gold.btn-large,
.box a[class*="btn-gold"][class*="btn-large"] {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    border: 2px solid #00ffff;
    color: #ffffff !important;
    text-shadow: 
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 30px #00ffff,
        0 0 40px #00ffff;
    box-shadow: 
        0 0 10px rgba(0, 255, 255, 0.5),
        0 0 20px rgba(0, 255, 255, 0.3),
        0 0 30px rgba(0, 255, 255, 0.2),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.box a.btn-gold.btn-large::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: neon-shine 3s infinite;
}

@keyframes neon-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.box a.btn-gold.btn-large:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    border-color: #00ffff;
    color: #ffffff !important;
    text-shadow: 
        0 0 15px #00ffff,
        0 0 25px #00ffff,
        0 0 35px #00ffff,
        0 0 50px #00ffff,
        0 0 60px #00ffff;
    box-shadow: 
        0 0 15px rgba(0, 255, 255, 0.7),
        0 0 25px rgba(0, 255, 255, 0.5),
        0 0 35px rgba(0, 255, 255, 0.3),
        0 0 50px rgba(0, 255, 255, 0.2),
        inset 0 0 30px rgba(0, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
    display: inline-block;
    text-align: center;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

/* Slides */
.slides {
    margin-bottom: 30px;
}

.slide-first {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.slide-first a {
    display: block;
    position: relative;
    text-decoration: none;
}

.slide-first img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-first .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text);
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    z-index: 2;
}

.slide-first .button {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--dark);
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    z-index: 2;
}

/* Box */
.box {
    background: var(--dark-gray);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    border: 1px solid var(--gray);
}

.box h1 {
    color: var(--gold);
    font-size: 32px;
    margin-bottom: 20px;
}

.box h2 {
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.box h3 {
    color: var(--gold-light);
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 25px;
}

.box p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.box ul,
.box ol {
    color: var(--text-gray);
    margin-left: 20px;
    margin-bottom: 20px;
}

.box li {
    margin-bottom: 10px;
}

.box a {
    color: var(--gold);
    text-decoration: none;
}

.box a:hover {
    text-decoration: underline;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark);
    border-radius: 5px;
    overflow: hidden;
}

table thead {
    background: var(--blue);
}

table thead td {
    color: var(--gold);
    font-weight: bold;
    padding: 15px;
    text-align: left;
}

table tbody tr {
    border-bottom: 1px solid var(--gray);
}

table tbody tr:hover {
    background: var(--gray);
}

table tbody td {
    padding: 15px;
    color: var(--text-gray);
}

.wins-table thead {
    background: var(--blue-dark);
}

.wins-table tbody td {
    font-weight: 500;
}

.wins-table tbody tr:nth-child(1) {
    background: rgba(212, 175, 55, 0.1);
}

.wins-table tbody tr:nth-child(1) td {
    color: var(--gold);
    font-weight: bold;
}

/* Images */
.content-center {
    text-align: center;
    margin: 30px 0;
}

.image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid var(--gray);
    display: block;
}

/* Ensure images don't cause layout shift - use container approach */
.content-center {
    position: relative;
}

.content-center .image {
    width: 100%;
    height: auto;
}

/* For lazy loaded images, add a placeholder to prevent shift */
.lazy:not(.loaded) {
    background: var(--dark-gray);
    min-height: 200px;
}

.lazy.loaded {
    min-height: auto;
}

/* Modern browsers will use width/height attributes for aspect-ratio automatically */

/* FAQ */
.faq {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    overflow: hidden;
}

.faq-item h3 {
    padding: 15px 20px;
    background: var(--gray);
    cursor: pointer;
    margin: 0;
    font-size: 18px;
    color: var(--gold);
    transition: background 0.3s;
}

.faq-item h3:hover {
    background: var(--light-gray);
}

.faq-item-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item-content.active {
    max-height: 500px;
    padding: 20px;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    padding: 40px 30px 20px;
    margin-top: 50px;
    border-top: 1px solid var(--gray);
}

.currency {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.currency img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.currency img:hover {
    opacity: 1;
}

.crypto-text {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    flex: 0 0 auto;
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    flex: 1;
}

.footer-column {
    min-width: 150px;
}

.footer-column h4 {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 15px;
}

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

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social img {
    width: 32px;
    height: 32px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-social img:hover {
    opacity: 1;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.age-badge {
    background: var(--gold);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
}

.footer-badges img {
    height: 30px;
    width: auto;
    opacity: 0.7;
}

.language-selector {
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
}

.footer-copyright {
    text-align: center;
    color: var(--text-gray);
    font-size: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .burger-menu {
        display: block;
    }

    .content {
        margin-left: 0;
    }

    .topbar {
        padding: 15px;
        flex-wrap: wrap;
    }

    .offers {
        display: none;
    }

    .container {
        padding: 15px;
    }

    .box {
        padding: 20px;
    }

    .box h1 {
        font-size: 24px;
    }

    .box h2 {
        font-size: 20px;
    }

    .slide-first .text {
        font-size: 20px;
    }

    .slide-first .button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
    }

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

/* Lazy loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

