@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #fbc531;
    --dark-color: #1e272e;
    --light-color: #ffffff;
    --gray-color: #f7f9fc;
    --text-color: #485460;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--dark-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

section {
    padding: 80px 5%;
    text-align: center;
}

/* --- Section 1: Hero & Navigation --- */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/bg.jpeg') no-repeat center center/cover;
    color: var(--light-color);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 20px 5%;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    animation: fadeInDown 1s;
}

.logo img {
    width: 50px;
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    animation: fadeInUp 1s;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    max-width: 800px;
    margin-bottom: 20px;
    color: var(--light-color);
}

.hero-content p {
    font-size: 1.2em;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- Section 3: How We Rate --- */
.rating-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.criteria-item .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- Section 4: Comparison Table --- */
.comparison-section {
    background-color: var(--gray-color);
}

.stars {
    color: var(--accent-color);
}

/* --- WOW Section 5: Bonus Types --- */
.bonus-types {
    background: var(--dark-color);
}

.bonus-types h2 {
    color: var(--light-color);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
    perspective: 1000px;
}

.bonus-card {
    position: relative;
    width: 100%;
    min-height: 250px;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    cursor: pointer;
}

.bonus-card:hover {
    transform: rotateY(180deg);
}

.bonus-card.flip {
    transform: rotateY(180deg);
}

.bonus-front,
.bonus-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.bonus-front {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
}

.bonus-front i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.bonus-front h4 {
    font-size: 1.5rem;
    color: var(--light-color);
}

a {
    text-decoration: none;
    color: inherit;
}

.bonus-back {

    background: var(--gray-color);
    color: var(--text-color);
    transform: rotateY(180deg);
}

.cta-section p {
    margin-bottom: 30px;

}

/* --- WOW Section 8: Beginner's Guide --- */
.beginners-guide {
    background-color: var(--gray-color);
}

.guide-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.guide-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.timeline-content {
    background: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-content span {
    background: var(--primary-color);
    color: var(--light-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* --- WOW Section 9: Player Reviews --- */
.reviews-section {
    background: var(--dark-color);
    padding: 80px 0;
}

.reviews-section h2 {
    color: var(--light-color);
}

.review-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.review {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    width: 300px;
    transform: scale(0.85);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
}

.review.active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.reviewer-info {
    text-align: left;
}

.reviewer-info h4 {
    margin: 0;
}

.reviewer-info span {
    font-size: 0.9em;
    color: var(--secondary-color);
}

/* --- Section 10: Popular Slots --- */
.slots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.slot-image {
    height: 300px;
    border-radius: var(--border-radius);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.slot-image:hover {
    transform: scale(1.05);
}

.slot-image span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light-color);
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.slot-image:hover span {
    transform: translateY(0);
}

/* --- Section 12: Footer --- */
.footer-section {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 5% 40px;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    filter: contrast(200%);
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    color: var(--light-color);
    filter: contrast(200%);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    filter: contrast(200%);
}

.footer-links li a:hover {
    color: var(--light-color);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 10px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 20px 5%;
    font-size: 0.9em;
}

.footer-bottom p {
    color: rgb(212, 15, 15);
}

.one {
    background-image: url('img/book.webp');

}
.two {
    background-image: url('img/starbust.jpg');
}
.three {
    background-image: url('img/bonanza.webp');
}
.four {
    background-image: url('img/gonzo.jpg');
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
}

/* --- Reused from previous version (Cards, Table, CTA, FAQ, Responsive) --- */
.offers-section {
    background-color: var(--gray-color);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.casino-card {
    background: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.casino-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.casino-card.featured {
    border: 2px solid var(--accent-color);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8em;
    font-weight: 700;
}

.casino-logo img {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.bonus-offer {
    background-color: #e8f0fe;
    color: var(--secondary-color);
    padding: 10px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 600;
}

.visit-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: transform 0.3s ease;
}

.visit-button:hover {
    transform: scale(1.05);
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: var(--light-color);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

th,
td {
    padding: 15px;
    text-align: left;
}

th {
    background-color: var(--dark-color);
    color: var(--light-color);
}

tr:nth-child(even) {
    background-color: var(--gray-color);
}

.table-logo {
    max-width: 100px;
    vertical-align: middle;
    margin-right: 10px;
}

.visit-button-small {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--light-color);
}

.cta-section h2,
.cta-section p {
    color: var(--light-color);
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1em;
    font-weight: 600;
    padding: 15px 0;
    cursor: pointer;
    position: relative;
    color: var(--dark-color);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    text-align: left;
}

.faq-answer p {
    padding: 0 0 15px;
}

/* --- Responsive Design & Animations --- */
@media screen and (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        background: var(--dark-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 10;
    }

    .nav-links li {
        margin: 0;
    }

    .burger {
        display: block;
        z-index: 11;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .guide-timeline::after {
        left: 20px;
        margin-left: 0;
    }

    .timeline-item {
        width: 100%;
        padding: 0 !important;
        left: 0 !important;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 50px !important;
        text-align: left;
    }

    .review-slider {
        flex-direction: column;
    }

    .review {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.bonus-card.flip {
    transform: rotateY(180deg);
}