/* ============================================
   cushyslot Casino - Custom Styles
   Cushy Soft Play Core Plus Theme
   ============================================ */

/* Global Overflow Control */
html,
body {
    overflow-x: clip;
    overflow-y: auto;
}

/* ============================================
   Particle Animations
   ============================================ */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
}

.particle-1 {
    width: 1rem;
    height: 1rem;
    background: linear-gradient(135deg, #FFB6C1, #FF7F7F);
    top: 20%;
    left: 15%;
    animation: particleFloat1 8s ease-in-out infinite;
}

.particle-2 {
    width: 0.75rem;
    height: 0.75rem;
    background: linear-gradient(135deg, #E6E6FA, #9B6B9E);
    top: 40%;
    right: 20%;
    animation: particleFloat2 10s ease-in-out infinite;
}

.particle-3 {
    width: 1.25rem;
    height: 1.25rem;
    background: linear-gradient(135deg, #FFDAB9, #D4A574);
    bottom: 30%;
    left: 25%;
    animation: particleFloat3 7s ease-in-out infinite;
}

.particle-4 {
    width: 0.625rem;
    height: 0.625rem;
    background: linear-gradient(135deg, #F0FFF4, #FFB6C1);
    top: 60%;
    right: 30%;
    animation: particleFloat4 9s ease-in-out infinite;
}

.particle-5 {
    width: 0.875rem;
    height: 0.875rem;
    background: linear-gradient(135deg, #FFE4E1, #E6E6FA);
    bottom: 20%;
    right: 15%;
    animation: particleFloat5 11s ease-in-out infinite;
}

@keyframes particleFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(1.25rem, -1.875rem) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-0.625rem, -3.125rem) scale(1);
        opacity: 0.5;
    }
    75% {
        transform: translate(1.875rem, -1.25rem) scale(1.1);
        opacity: 0.7;
    }
}

@keyframes particleFloat2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.5;
    }
    33% {
        transform: translate(-1.875rem, 1.25rem) rotate(120deg);
        opacity: 0.7;
    }
    66% {
        transform: translate(0.9375rem, -1.5625rem) rotate(240deg);
        opacity: 0.6;
    }
}

@keyframes particleFloat3 {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2.5rem) scale(1.15);
    }
}

@keyframes particleFloat4 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }
    50% {
        transform: translate(-1.5625rem, -1.875rem);
        opacity: 0.8;
    }
}

@keyframes particleFloat5 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(0.9375rem, 1.25rem) scale(1.1);
    }
    50% {
        transform: translate(-0.625rem, 2.5rem) scale(0.9);
    }
    75% {
        transform: translate(1.25rem, 0.625rem) scale(1.05);
    }
}

/* ============================================
   Marquee Animation
   ============================================ */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 1.5rem;
    animation: marqueeScroll 30s linear infinite;
    width: fit-content;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Duplicate content for seamless loop */
.marquee-track::after {
    content: '';
    display: flex;
    gap: 1.5rem;
}

/* ============================================
   Table Responsive Wrapper
   ============================================ */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.table-responsive table {
    min-width: 37.5rem;
}

/* ============================================
   Glow Effects
   ============================================ */
.glow-rose {
    box-shadow: 0 0 2.5rem rgba(255, 182, 193, 0.4);
}

.glow-coral {
    box-shadow: 0 0 2.5rem rgba(255, 127, 127, 0.4);
}

.glow-lavender {
    box-shadow: 0 0 2.5rem rgba(230, 230, 250, 0.4);
}

/* ============================================
   Prose Styling for Content Pages
   ============================================ */
.prose {
    color: #4A3F55;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 100%;
}

/* Headings */
.prose h2 {
    color: #4A3F55;
    font-family: Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    padding-bottom: 0.75rem;
    border-bottom: 0.125rem solid rgba(155, 107, 158, 0.2);
}

.prose h3 {
    color: #8B5A5A;
    font-family: Georgia, serif;
    font-size: 1.375rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.prose h4 {
    color: #9B6B9E;
    font-family: Georgia, serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Paragraphs */
.prose p {
    margin-bottom: 1.25rem;
    color: #5A4A60;
}

.prose p:first-of-type {
    font-size: 1.0625rem;
    color: #4A3F55;
}

/* Links */
.prose a {
    color: #9B6B9E;
    text-decoration: underline;
    text-decoration-color: rgba(155, 107, 158, 0.4);
    text-underline-offset: 0.1875rem;
    transition: all 0.3s ease;
}

.prose a:hover {
    color: #FF7F7F;
    text-decoration-color: rgba(255, 127, 127, 0.6);
}

/* Lists */
.prose ul,
.prose ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.prose ul {
    list-style: none;
}

.prose ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.625rem;
    color: #5A4A60;
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.625rem;
    width: 0.5rem;
    height: 0.5rem;
    background: linear-gradient(135deg, #FFB6C1, #FF7F7F);
    border-radius: 50%;
}

.prose ol {
    list-style: none;
    counter-reset: prose-counter;
}

.prose ol li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: #5A4A60;
    counter-increment: prose-counter;
}

.prose ol li::before {
    content: counter(prose-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #E6E6FA, #FFE4E1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9B6B9E;
}

/* Blockquotes */
.prose blockquote {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(230, 230, 250, 0.3), rgba(255, 228, 225, 0.3));
    border-left: 0.25rem solid #9B6B9E;
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
    color: #4A3F55;
}

.prose blockquote p {
    margin-bottom: 0;
}

/* Tables */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9375rem;
    border-radius: 1rem;
    overflow: hidden;
}

.prose thead {
    background: linear-gradient(135deg, rgba(230, 230, 250, 0.6), rgba(255, 228, 225, 0.6));
}

.prose th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #4A3F55;
    font-family: Georgia, serif;
}

.prose td {
    padding: 1rem;
    border-bottom: 0.0625rem solid rgba(155, 107, 158, 0.15);
    color: #5A4A60;
}

.prose tbody tr:hover {
    background: rgba(240, 255, 244, 0.3);
}

.prose tbody tr:last-child td {
    border-bottom: none;
}

/* Code */
.prose code {
    background: rgba(230, 230, 250, 0.4);
    padding: 0.125rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #9B6B9E;
}

.prose pre {
    background: linear-gradient(135deg, #4A3F55, #5A4A60);
    padding: 1.5rem;
    border-radius: 1rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.prose pre code {
    background: none;
    padding: 0;
    color: #FFF8F0;
}

/* Images */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 1.25rem 2.5rem rgba(155, 107, 158, 0.15);
}

/* Horizontal Rule */
.prose hr {
    border: none;
    height: 0.125rem;
    background: linear-gradient(90deg, transparent, rgba(155, 107, 158, 0.3), transparent);
    margin: 3rem 0;
}

/* Strong & Emphasis */
.prose strong {
    color: #4A3F55;
    font-weight: 600;
}

.prose em {
    color: #8B5A5A;
    font-style: italic;
}

/* ============================================
   Mobile Responsiveness
   ============================================ */
@media (max-width: 48rem) {
    .prose {
        font-size: 0.9375rem;
    }

    .prose h2 {
        font-size: 1.5rem;
    }

    .prose h3 {
        font-size: 1.25rem;
    }

    .prose blockquote {
        padding: 1rem 1rem 1rem 1.5rem;
    }

    .prose table {
        font-size: 0.875rem;
    }

    .prose th,
    .prose td {
        padding: 0.75rem;
    }

    .marquee-track {
        animation-duration: 20s;
    }
}

/* ============================================
   Smooth Transitions
   ============================================ */
* {
    scroll-behavior: smooth;
}

/* ============================================
   Focus States for Accessibility
   ============================================ */
a:focus,
button:focus {
    outline: 0.125rem solid #9B6B9E;
    outline-offset: 0.125rem;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    outline: 0.125rem solid #9B6B9E;
    outline-offset: 0.125rem;
}
