/* ==========================================
   Vinnie Winners Casino - Custom CSS
   Theme: Easy (Simplified, Light, Relaxed)
   ========================================== */

/* ==========================================
   Keyframe Animations
   ========================================== */

/* Marquee Animation for Game Strip */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-8px) translateX(-50%);
    }
}

/* Pulse Glow Animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0.3125em rgba(45, 212, 191, 0.4);
    }
    50% {
        box-shadow: 0 0 1.25em rgba(45, 212, 191, 0.6);
    }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.25em);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

/* ==========================================
   Marquee Container Styles
   ========================================== */

.marquee-container {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

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

/* ==========================================
   Animation Utilities
   ========================================== */

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ==========================================
   Custom Overrides
   ========================================== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Remove default focus outline and add custom */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 0.125em solid #2dd4bf;
    outline-offset: 0.125em;
}

/* Details/Summary FAQ Styling */
details summary::-webkit-details-marker {
    display: none;
}

details summary {
    list-style: none;
}

/* Game Card Hover Effect */
.game-card {
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-0.5em);
    box-shadow: 0 1.25em 2.5em rgba(45, 212, 191, 0.2);
}

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

.table-responsive table {
    min-width: 100%;
}

/* Parallax Base Style */
.parallax {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ==========================================
   Prose Styling for Markdown Content
   ========================================== */

.prose {
    color: #134e4a;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 100%;
}

/* Prose Headings */
.prose h2 {
    color: #134e4a;
    font-size: 1.75em;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.3;
    padding-bottom: 0.5em;
    border-bottom: 0.125em solid #2dd4bf;
}

.prose h3 {
    color: #134e4a;
    font-size: 1.375em;
    font-weight: 600;
    margin-top: 1.75em;
    margin-bottom: 0.75em;
    line-height: 1.4;
}

.prose h4 {
    color: #134e4a;
    font-size: 1.125em;
    font-weight: 600;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* Prose Paragraphs */
.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    color: #115e59;
}

.prose p:first-child {
    margin-top: 0;
}

/* Prose Links */
.prose a {
    color: #14b8a6;
    text-decoration: underline;
    text-underline-offset: 0.1875em;
    transition: color 0.2s ease;
}

.prose a:hover {
    color: #2dd4bf;
}

/* Prose Strong/Bold */
.prose strong {
    color: #134e4a;
    font-weight: 600;
}

/* Prose Emphasis/Italic */
.prose em {
    font-style: italic;
}

/* Prose Lists */
.prose ul {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.5em;
    list-style-type: disc;
}

.prose ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.5em;
    list-style-type: decimal;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    color: #115e59;
    padding-left: 0.375em;
}

.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Prose Blockquotes */
.prose blockquote {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    padding: 1em 1.5em;
    border-left: 0.25em solid #2dd4bf;
    background-color: #f0fdfa;
    border-radius: 0 0.5em 0.5em 0;
    font-style: italic;
    color: #115e59;
}

.prose blockquote p {
    margin: 0;
}

/* Prose Tables */
.prose .table-responsive {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0.5em;
    box-shadow: 0 0.0625em 0.1875em rgba(0, 0, 0, 0.1);
}

.prose table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 0.9375em;
}

.prose thead {
    background-color: #134e4a;
}

.prose th {
    color: #f0fdf4;
    font-weight: 600;
    padding: 0.875em 1em;
    text-align: left;
    white-space: nowrap;
}

.prose tbody tr {
    border-bottom: 0.0625em solid #ccfbf1;
}

.prose tbody tr:nth-child(even) {
    background-color: #f0fdfa;
}

.prose tbody tr:hover {
    background-color: #ccfbf1;
}

.prose td {
    padding: 0.875em 1em;
    color: #115e59;
}

/* Prose Code */
.prose code {
    background-color: #f0fdfa;
    color: #14b8a6;
    padding: 0.125em 0.375em;
    border-radius: 0.25em;
    font-size: 0.9em;
    font-family: ui-monospace, SFMono-Regular, monospace;
}

.prose pre {
    background-color: #134e4a;
    color: #f0fdf4;
    padding: 1em 1.25em;
    border-radius: 0.5em;
    overflow-x: auto;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.prose pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    font-size: 0.875em;
}

/* Prose Horizontal Rule */
.prose hr {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
    border: none;
    border-top: 0.0625em solid #5eead4;
}

/* Prose Images */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    box-shadow: 0 0.25em 0.9375em rgba(0, 0, 0, 0.1);
}

/* Prose Figure & Figcaption */
.prose figure {
    margin-top: 2em;
    margin-bottom: 2em;
}

.prose figcaption {
    color: #5eead4;
    font-size: 0.875em;
    text-align: center;
    margin-top: 0.75em;
}

/* ==========================================
   Media Queries
   ========================================== */

/* Mobile adjustments for prose */
@media (max-width: 640px) {
    .prose {
        font-size: 0.9375rem;
    }
    
    .prose h2 {
        font-size: 1.5em;
    }
    
    .prose h3 {
        font-size: 1.25em;
    }
    
    .prose table {
        font-size: 0.8125em;
    }
    
    .prose th,
    .prose td {
        padding: 0.625em 0.75em;
    }
    
    .prose blockquote {
        padding: 0.75em 1em;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .prose {
        font-size: 1.0625rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .prose {
        font-size: 1.125rem;
        line-height: 1.8;
    }
}

/* ==========================================
   Utility Classes
   ========================================== */

/* Text balance for better typography */
.text-balance {
    text-wrap: balance;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 0.0625em;
    height: 0.0625em;
    padding: 0;
    margin: -0.0625em;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for accessibility */
.focus-visible:focus-visible {
    outline: 0.125em solid #2dd4bf;
    outline-offset: 0.125em;
}

/* No scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom scrollbar for tables */
.table-responsive::-webkit-scrollbar {
    height: 0.5em;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f0fdfa;
    border-radius: 0.25em;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #5eead4;
    border-radius: 0.25em;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #2dd4bf;
}
