/* Vinnie Winners Casino - Custom CSS */
/* Animation Keyframes, Overrides & Prose Styling */

/* ============================================
   KEYFRAMES & ANIMATIONS
   ============================================ */

/* Particle Floating Animation */
@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-15vh) translateX(5vw) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30vh) translateX(-3vw) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-45vh) translateX(8vw) rotate(270deg);
        opacity: 0.7;
    }
}

/* Pulse Glow Animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0.625rem rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 1.25rem rgba(255, 215, 0, 0.6), 0 0 2.5rem rgba(255, 215, 0, 0.3);
    }
}

/* Bounce Subtle Animation */
@keyframes bounce-subtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-0.5rem);
    }
}

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

/* Spin Slow Animation */
@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   ANIMATION CLASSES
   ============================================ */

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

.animate-bounce-subtle {
    animation: bounce-subtle 2s ease-in-out infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.2) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* ============================================
   PARTICLE STYLES
   ============================================ */

.particle {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFEC8B 100%);
    border-radius: 50%;
    pointer-events: none;
    animation: float-particle 15s ease-in-out infinite;
}

.particle-1 {
    left: 10%;
    bottom: 10%;
    animation-delay: 0s;
    width: 0.375rem;
    height: 0.375rem;
}

.particle-2 {
    left: 25%;
    bottom: 5%;
    animation-delay: 2s;
    width: 0.5rem;
    height: 0.5rem;
}

.particle-3 {
    left: 40%;
    bottom: 15%;
    animation-delay: 4s;
    width: 0.25rem;
    height: 0.25rem;
}

.particle-4 {
    left: 55%;
    bottom: 8%;
    animation-delay: 6s;
    width: 0.4375rem;
    height: 0.4375rem;
}

.particle-5 {
    left: 70%;
    bottom: 12%;
    animation-delay: 8s;
    width: 0.3125rem;
    height: 0.3125rem;
}

.particle-6 {
    left: 85%;
    bottom: 6%;
    animation-delay: 10s;
    width: 0.5625rem;
    height: 0.5625rem;
}

.particle-7 {
    left: 15%;
    bottom: 20%;
    animation-delay: 12s;
    width: 0.25rem;
    height: 0.25rem;
}

.particle-8 {
    left: 60%;
    bottom: 25%;
    animation-delay: 14s;
    width: 0.375rem;
    height: 0.375rem;
}

/* ============================================
   TABLE RESPONSIVE WRAPPER
   ============================================ */

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

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

/* ============================================
   PROSE STYLING FOR MARKDOWN CONTENT
   ============================================ */

.prose {
    color: #C0C0C0;
    line-height: 1.75;
    max-width: 100%;
}

/* Headings */
.prose h2 {
    color: #FFD700;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 0.125rem solid rgba(255, 215, 0, 0.2);
    line-height: 1.3;
}

.prose h3 {
    color: #FAFAFA;
    font-size: 1.375rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.prose h4 {
    color: #FFEC8B;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.625rem;
    line-height: 1.4;
}

/* Paragraphs */
.prose p {
    margin-bottom: 1.25rem;
    color: #C0C0C0;
    font-size: 1rem;
    line-height: 1.8;
}

.prose p:first-of-type {
    font-size: 1.0625rem;
}

/* Links */
.prose a {
    color: #FFD700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 215, 0, 0.4);
    text-underline-offset: 0.1875rem;
    transition: all 0.2s ease;
}

.prose a:hover {
    color: #FFEC8B;
    text-decoration-color: #FFEC8B;
}

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

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

/* Lists - Unordered */
.prose ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.prose ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.625rem;
    color: #C0C0C0;
    line-height: 1.7;
}

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

/* Lists - Ordered */
.prose ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    counter-reset: list-counter;
}

.prose ol li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.75rem;
    color: #C0C0C0;
    line-height: 1.7;
    counter-increment: list-counter;
}

.prose ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, #DC143C 0%, #FF4136 100%);
    color: #FAFAFA;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nested Lists */
.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Blockquotes */
.prose blockquote {
    border-left: 0.25rem solid #FFD700;
    background: rgba(255, 215, 0, 0.05);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
}

.prose blockquote p {
    color: #FFEC8B;
    margin-bottom: 0;
    font-size: 1.0625rem;
}

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

/* Tables */
.prose .table-responsive,
.prose > div[style*="overflow"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border-radius: 0.75rem;
    border: 0.0625rem solid rgba(255, 215, 0, 0.2);
}

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

.prose thead {
    background: #0A1628;
}

.prose th {
    color: #FFD700;
    font-weight: 600;
    text-align: left;
    padding: 1rem 1.25rem;
    border-bottom: 0.125rem solid rgba(255, 215, 0, 0.3);
    white-space: nowrap;
}

.prose td {
    color: #C0C0C0;
    padding: 0.875rem 1.25rem;
    border-bottom: 0.0625rem solid rgba(255, 215, 0, 0.1);
}

.prose tbody tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

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

/* Code Inline */
.prose code {
    background: rgba(255, 215, 0, 0.1);
    color: #FFEC8B;
    padding: 0.1875rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'Fira Code', 'Consolas', monospace;
}

/* Code Blocks */
.prose pre {
    background: #0A1628;
    border: 0.0625rem solid rgba(255, 215, 0, 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose pre code {
    background: transparent;
    padding: 0;
    color: #C0C0C0;
}

/* Images */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
    border: 0.0625rem solid rgba(255, 215, 0, 0.2);
}

/* Horizontal Rule */
.prose hr {
    border: none;
    height: 0.125rem;
    background: linear-gradient(90deg, transparent 0%, #FFD700 50%, transparent 100%);
    margin: 2.5rem 0;
}

/* Figure & Figcaption */
.prose figure {
    margin: 2rem 0;
}

.prose figcaption {
    text-align: center;
    color: #C0C0C0;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    font-style: italic;
}

/* ============================================
   SPECIAL PROSE ELEMENTS
   ============================================ */

/* Info Boxes */
.prose .info-box {
    background: rgba(0, 206, 209, 0.1);
    border: 0.0625rem solid rgba(0, 206, 209, 0.3);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.prose .warning-box {
    background: rgba(255, 65, 54, 0.1);
    border: 0.0625rem solid rgba(255, 65, 54, 0.3);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

/* ============================================
   RESPONSIVE PROSE ADJUSTMENTS
   ============================================ */

@media (max-width: 48rem) {
    .prose h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    .prose h3 {
        font-size: 1.25rem;
    }
    
    .prose h4 {
        font-size: 1.0625rem;
    }
    
    .prose p {
        font-size: 0.9375rem;
    }
    
    .prose ul li,
    .prose ol li {
        font-size: 0.9375rem;
    }
    
    .prose th,
    .prose td {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .prose blockquote {
        padding: 1rem 1.25rem;
    }
}

/* ============================================
   UTILITY OVERRIDES
   ============================================ */

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

/* Selection Color */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: #FAFAFA;
}

::-moz-selection {
    background: rgba(255, 215, 0, 0.3);
    color: #FAFAFA;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 0.625rem;
    height: 0.625rem;
}

::-webkit-scrollbar-track {
    background: #0A1628;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFD700 0%, #DC143C 100%);
    border-radius: 0.3125rem;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFEC8B 0%, #FF4136 100%);
}

/* Focus States */
a:focus,
button:focus {
    outline: 0.125rem solid #FFD700;
    outline-offset: 0.125rem;
}

/* Details/Summary Styling */
details summary {
    cursor: pointer;
}

details summary::-webkit-details-marker {
    display: none;
}

/* Prevent FOUC on Images */
img {
    content-visibility: auto;
}

/* ============================================
   MOBILE MENU OVERRIDES
   ============================================ */

#mobile-menu {
    background-color: #142238;
}

/* ============================================
   GAME CARD HOVER EFFECTS
   ============================================ */

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* ============================================
   GRADIENT TEXT FIX
   ============================================ */

.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .prose {
        color: #000;
    }
    
    .prose h2,
    .prose h3,
    .prose h4 {
        color: #000;
    }
    
    .prose a {
        color: #000;
        text-decoration: underline;
    }
}
