/*
Theme Name: Casino Online Top
Author: Grok
Version: 1.0
Description: Modern WordPress theme for online casino reviews with vibrant neon design.
*/
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Cinzel+Decorative:wght@700&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(180deg, #0A141C 0%, #043A4F 100%);
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.casino-header {
    background: linear-gradient(180deg, #0A141C 0%, #021e1c 100%);
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.logo-wrapper {
    text-align: center;
}

.casino-logo {
    font-family: 'Cinzel Decorative', serif;
    font-size: 48px;
    color: #00B7EB;
    text-decoration: none;
    display: inline-block;
    text-shadow: 0 0 12px rgba(0, 183, 235, 0.8);
    animation: spring 2.5s ease-out forwards;
}

@keyframes spring {
    0% { transform: scale(0); }
    40% { transform: scale(1.4); }
    60% { transform: scale(0.85); }
    80% { transform: scale(1.15); }
    90% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.casino-marquee {
    margin: 15px auto 0;
    overflow: hidden;
    max-width: 600px;
    font-size: 15px;
    color: #FFFFFF;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.casino-marquee span {
    display: inline-block;
    animation: slide 8s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Casino Section */
.casino-section, .casino-hero {
    position: relative;
  
    border-top: 1px solid #00d5f7;
    box-shadow: 0 2px 10px rgba(0, 213, 247, 0.3);
}

#neon-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.casino-section h1, .casino-hero h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 50px;
    color: #00B7EB;
    text-shadow: 0 0 15px rgba(0, 183, 235, 0.8);
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 400px));
    gap: 30px;
    justify-content: center;
       margin-top: 101px;
    margin-bottom: 162px;
}

.casino-card {
    background: rgb(4 4 4 / 62%);
    border: 2px solid #00B7EB;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    backdrop-filter: blur(5px);
    opacity: 1;
    transform: translateY(0);
    animation: cardFadeIn 0.5s ease-out forwards;
    animation-delay: calc(0.15s * var(--index));
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.casino-card:hover {
    transform: translateY(-10px);
    border-color: #2DB84C;
    box-shadow: 0 0 50px rgba(0, 183, 235, 0.8), 0 0 25px rgba(45, 184, 76, 0.6);
    animation: pulseBorder 2s infinite alternate;
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseBorder {
    0% { border-color: #00B7EB; }
    100% { border-color: #2DB84C; }
}

.casino-card h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 24px;
    color: #00B7EB;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(0, 183, 235, 0.8);
}

.casino-card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
}

.casino-card p {
    font-size: 15px;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}

.casino-card ul {
    list-style: none;
    margin-bottom: 15px;
    flex-grow: 1;
}

.casino-card ul li {
    font-size: 14px;
    margin-bottom: 8px;
    color: #FFFFFF;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}

.casino-card .casino-button {
    background: #2DB84C;
    color: #0A141C;
    border: 2px solid #0A141C;
    border-radius: 8px;
    padding: 12px 0;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: block;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.casino-card .casino-button:hover {
    box-shadow: 0 0 30px rgba(45, 184, 76, 0.9);
    border-color: #2DB84C;
}

.casino-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.5) 50%,
        transparent
    );
    transform: rotate(45deg);
    transition: left 0.5s ease-out;
}

.casino-button:hover::after {
    left: 150%;
}

/* Articles Section */
.articles {
    padding: 60px 0;
}

.articles h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 36px;
    color: #00B7EB;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(0, 183, 235, 0.8);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.article-card {
    background: rgba(26, 30, 74, 0.8);
    border: 1px solid #0A141C;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.article-card h3 {
    font-size: 20px;
    color: #00B7EB;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 183, 235, 0.8);
}

.article-card a {
    color: #FF3C5E;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 60, 94, 0.6);
}

.article-card a:hover {
    color: #2DB84C;
    text-shadow: 0 0 5px rgba(45, 184, 76, 0.6);
}

/* Footer */
.casino-footer {
    background: #0A141C;
    padding: 50px 0;
    border-top: 1px solid #0A141C;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-links h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 22px;
    color: #00B7EB;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(0, 183, 235, 0.8);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}

.footer-links ul li a:hover {
    color: #2DB84C;
    text-shadow: 0 0 5px rgba(45, 184, 76, 0.6);
}

.footer-links .accordion {
    display: none;
}

.casino-footer p {
    font-size: 14px;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .casino-grid {
        grid-template-columns: repeat(2, minmax(300px, 400px));
    }
}

@media (max-width: 768px) {
    .casino-section h1, .casino-hero h1 {
        font-size: 36px;
    }

    .casino-grid {
        grid-template-columns: minmax(300px, 400px);
    }

    .casino-card {
        min-height: auto;
    }

    .casino-marquee {
        max-width: 100%;
    }

    .footer-links {
        display: none;
    }

    .footer-links .accordion {
        display: block;
    }

    .footer-links .accordion details {
        margin-bottom: 15px;
    }

    .footer-links .accordion summary {
        font-family: 'Cinzel Decorative', serif;
        font-size: 18px;
        color: #00B7EB;
        cursor: pointer;
        padding: 12px;
        background: rgba(26, 30, 74, 0.8);
        border-radius: 8px;
        text-shadow: 0 0 5px rgba(0, 183, 235, 0.8);
    }

    .footer-links .accordion ul {
        padding: 12px;
        background: rgba(26, 30, 74, 0.8);
        border-radius: 0 0 8px 8px;
    }
}