/* ========================================
   Vinnie Winners Casino - Custom Styles
   Theme: Vinnie Winners Prime
   ======================================== */

/* ----------------------------------------
   CSS Custom Properties
   ---------------------------------------- */
:root {
    --vw-gold: #FFD700;
    --vw-gold-light: #FFE55C;
    --vw-gold-dark: #CC9900;
    --vw-purple: #2D1B4E;
    --vw-purple-light: #4A2D7A;
    --vw-purple-dark: #1A0F2E;
    --vw-accent: #FF6B35;
    --vw-teal: #00D4AA;
    --vw-cream: #FFF8E7;
}

/* ----------------------------------------
   Particle Animations
   ---------------------------------------- */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--vw-gold);
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 15s infinite ease-in-out;
}

.particle-1 { left: 10%; top: 20%; animation-delay: 0s; }
.particle-2 { left: 25%; top: 60%; animation-delay: -2s; animation-duration: 12s; }
.particle-3 { left: 45%; top: 30%; animation-delay: -4s; animation-duration: 18s; }
.particle-4 { left: 65%; top: 70%; animation-delay: -6s; animation-duration: 14s; }
.particle-5 { left: 80%; top: 25%; animation-delay: -8s; animation-duration: 16s; }
.particle-6 { left: 90%; top: 55%; animation-delay: -10s; animation-duration: 13s; }
.particle-7 { left: 15%; top: 80%; animation-delay: -3s; animation-duration: 17s; }
.particle-8 { left: 55%; top: 15%; animation-delay: -7s; animation-duration: 11s; }

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30vh) translateX(20px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-60vh) translateX(-10px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30vh) translateX(15px) scale(1.1);
        opacity: 0.7;
    }
}

/* Additional particle effects */
.particle::before {
    content: '';
    position: absolute;
    inset: -0.25rem;
    background: var(--vw-gold);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(4px);
}

/* ----------------------------------------
   Tilt Card Animation
   ---------------------------------------- */
.tilt-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-card:hover {
    box-shadow: 0 1.5rem 3rem -0.75rem rgba(255, 215, 0, 0.15);
}

/* ----------------------------------------
   Button Hover Effects
   ---------------------------------------- */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* ----------------------------------------
   Scroll Behavior & Animations
   ---------------------------------------- */
@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%) translateX(-50%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0) translateX(-50%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

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

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

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

/* ----------------------------------------
   Prose Styling for Inner Pages
   ---------------------------------------- */
.prose {
    color: rgba(255, 248, 231, 0.85);
    font-size: 1rem;
    line-height: 1.75;
}

.prose h2 {
    color: var(--vw-gold);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.prose h3 {
    color: var(--vw-cream);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.375rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose h4 {
    color: var(--vw-gold-light);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.prose p {
    margin-bottom: 1.25rem;
    color: rgba(255, 248, 231, 0.8);
}

.prose a {
    color: var(--vw-gold);
    text-decoration: underline;
    text-underline-offset: 0.125rem;
    transition: color 0.2s ease;
}

.prose a:hover {
    color: var(--vw-gold-light);
}

.prose strong {
    color: var(--vw-cream);
    font-weight: 600;
}

.prose em {
    font-style: italic;
    color: rgba(255, 248, 231, 0.9);
}

/* Prose Lists */
.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: rgba(255, 248, 231, 0.8);
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.625rem;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--vw-gold);
    border-radius: 50%;
}

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

.prose ol li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 248, 231, 0.8);
    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, var(--vw-gold), var(--vw-gold-dark));
    color: var(--vw-purple-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Prose Tables */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.prose .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.prose .table-responsive table {
    margin-bottom: 0;
    min-width: 31.25rem;
}

.prose thead {
    background: var(--vw-purple-light);
}

.prose th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--vw-gold);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.prose td {
    padding: 0.75rem 1rem;
    color: rgba(255, 248, 231, 0.85);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.prose tbody tr {
    background: rgba(45, 27, 78, 0.5);
    transition: background 0.2s ease;
}

.prose tbody tr:nth-child(even) {
    background: rgba(45, 27, 78, 0.3);
}

.prose tbody tr:hover {
    background: rgba(74, 45, 122, 0.5);
}

/* Prose Blockquotes */
.prose blockquote {
    position: relative;
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.8), rgba(74, 45, 122, 0.6));
    border-left: 4px solid var(--vw-gold);
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    color: rgba(255, 248, 231, 0.9);
}

.prose blockquote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.3);
    line-height: 1;
}

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

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

/* Prose Code */
.prose code {
    background: rgba(45, 27, 78, 0.8);
    color: var(--vw-teal);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.prose pre {
    background: var(--vw-purple-dark);
    padding: 1rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

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

/* Prose Horizontal Rule */
.prose hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--vw-gold), transparent);
    margin: 2.5rem 0;
}

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

details[open] summary {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

/* ----------------------------------------
   Mobile Menu Enhancements
   ---------------------------------------- */
@media (max-width: 1023px) {
    #mobile-menu {
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
    }
}

/* ----------------------------------------
   Responsive Typography
   ---------------------------------------- */
@media (min-width: 48rem) {
    .prose {
        font-size: 1.0625rem;
    }
    
    .prose h2 {
        font-size: 2rem;
    }
    
    .prose h3 {
        font-size: 1.5rem;
    }
}

@media (min-width: 64rem) {
    .prose {
        font-size: 1.125rem;
        line-height: 1.8;
    }
    
    .prose h2 {
        font-size: 2.25rem;
    }
    
    .prose h3 {
        font-size: 1.625rem;
    }
}

/* ----------------------------------------
   Focus States for Accessibility
   ---------------------------------------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--vw-gold);
    outline-offset: 2px;
}

/* ----------------------------------------
   Selection Styling
   ---------------------------------------- */
::selection {
    background: var(--vw-gold);
    color: var(--vw-purple-dark);
}

::-moz-selection {
    background: var(--vw-gold);
    color: var(--vw-purple-dark);
}

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

::-webkit-scrollbar-track {
    background: var(--vw-purple-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--vw-purple-light);
    border-radius: 0.25rem;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--vw-gold-dark);
}

/* ----------------------------------------
   Print Styles
   ---------------------------------------- */
@media print {
    .particles-container,
    .tilt-card::before,
    header,
    footer {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .prose {
        color: black;
    }
    
    .prose h2,
    .prose h3 {
        color: #333;
    }
}
