/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Cascadia Mono Font Classes */
.cascadia-light {
    font-family: "Cascadia Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

.cascadia-regular {
    font-family: "Cascadia Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.cascadia-medium {
    font-family: "Cascadia Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.cascadia-bold {
    font-family: "Cascadia Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: "Cascadia Mono", monospace, 'Arial', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #e7e7e7;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/casino-bg.svg');
    background-size: cover;
    background-position: center center;
    opacity: 0.05;
    z-index: -1;
}



/* Header Styles */
.header {
    background: linear-gradient(135deg, rgba(25, 25, 112, 0.9) 0%, rgba(72, 61, 139, 0.9) 100%);
    color: white;
    border-radius: 15px;
    padding: 40px 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    z-index: 0;
}



.header-content {
    position: relative;
    z-index: 1;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.header-subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffd700;
}

.header-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.recommendation-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.recommendation-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.recommendation-box.loaded {
    opacity: 1;
    transform: translateY(0);
}

.recommendation-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.recommendation-box h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #ffd700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recommendation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recommendation-casino {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
}

.recommendation-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.recommendation-logo img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    border-radius: 50%;
}

.recommendation-details {
    flex: 1;
}

.recommendation-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.recommendation-details p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.recommendation-cta {
    background: linear-gradient(45deg, #ffd700, #ffcc00);
    color: #333;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 80%;
    text-align: center;
    /* Anchor specific styles */
    display: inline-block;
    text-decoration: none;
}

.recommendation-cta:hover {
    background: linear-gradient(45deg, #ffcc00, #ffbf00);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.recommendation-cta i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.recommendation-cta:hover i {
    transform: translateX(5px);
}

/* Casino Card Styles */
.casino-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    border: none;
    /* Removed backdrop-filter to improve scrolling performance */
    color: #333;
    /* Add will-change to optimize rendering during scroll */
    will-change: transform;
    /* Use hardware acceleration for smoother scrolling */
    transform: translateZ(0);
}

/* Individual casino card styling */
.casino-card:nth-child(1) {
    border-left-color: #4CAF50;
}

.casino-card:nth-child(1) .casino-tag {
    background-color: #4CAF50;
}

.casino-card:nth-child(1) .get-bonus-btn {
    background-color: #4CAF50;
}

.casino-card:nth-child(2) {
    border-left-color: #3f51b5;
}

.casino-card:nth-child(2) .casino-tag {
    background-color: #3f51b5;
}

.casino-card:nth-child(2) .get-bonus-btn {
    background-color: #3f51b5;
}

.casino-card:nth-child(3) {
    border-left-color: #e91e63;
}

.casino-card:nth-child(3) .casino-tag {
    background-color: #e91e63;
}

.casino-card:nth-child(3) .get-bonus-btn {
    background-color: #e91e63;
}

.casino-card:nth-child(4) {
    border-left-color: #ff9800;
}

.casino-card:nth-child(4) .casino-tag {
    background-color: #ff9800;
}

.casino-card:nth-child(4) .get-bonus-btn {
    background-color: #ff9800;
}

.casino-card:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    /* Add transition delay to prevent hover effects during scroll */
    transition-delay: 50ms;
}

.casino-tag {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 0 0 15px 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    font-size: 0.9rem;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.casino-content {
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.casino-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: -1;
    opacity: 0.5;
    /* Optimize rendering */
    will-change: opacity;
    transform: translateZ(0);
}

.casino-logo {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 50%;
    margin-right: 25px;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 0;
    /* Create a subtle inner border */
    border: 5px solid rgba(255, 255, 255, 0.8);
}

.casino-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 1);
}

.casino-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.03) 100%);
    border-radius: 50%;
    pointer-events: none;
}

.casino-logo img,
.casino-logo a img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
    padding: 0;
    clip-path: circle(50%);
    transition: all 0.3s ease;
}

.casino-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.casino-logo:hover img,
.casino-logo a:hover img {
    transform: scale(1.1);
}

.casino-details {
    flex: 1;
    min-width: 200px;
    padding: 10px 0;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: linear-gradient(90deg, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0) 100%);
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-flex;
}

.rating span {
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

.stars {
    color: #ffd700;
    display: flex;
    align-items: center;
}

.stars i {
    margin: 0 2px;
    transition: all 0.3s ease;
}

.stars:hover i {
    transform: rotate(72deg);
    transition-delay: calc(0.05s * var(--i));
}

.bonus-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #333;
    letter-spacing: -0.5px;
}

.free-spins, .deposit-bonus {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.casino-features {
    flex: 2;
    min-width: 300px;
    padding: 10px;
}

.casino-features ul {
    list-style-type: none;
}

.casino-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.casino-features li:before {
    content: "•";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.casino-features strong {
    color: #333;
    letter-spacing: -0.3px;
}

.cta-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    min-width: 180px;
}

.get-bonus-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 18px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    width: 100%;
    max-width: 220px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* Add a subtle border to make it pop */
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* Anchor specific styles */
    display: inline-block;
    text-decoration: none;
}

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

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

.get-bonus-btn:hover {
    background: linear-gradient(45deg, #45a049, #3d8b3d);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.pulse {
    animation: pulse 1.2s ease-in-out;
}

/* Add a glow effect to CTA buttons */
.get-bonus-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4CAF50, #45a049, #4CAF50);
    z-index: -1;
    border-radius: 32px;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.get-bonus-btn:hover::after {
    opacity: 0.7;
}

/* Add a subtle arrow animation */
.get-bonus-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.get-bonus-btn:hover i {
    transform: translateX(5px);
}

.payment-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.payment-methods .payment-method {
    position: relative;
    display: inline-block;
}

.payment-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 100;
}

.payment-method:hover .payment-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -25px;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* FOMO Notification Styles - Now handled entirely via JavaScript */
/* All styles for FOMO notifications are now applied directly in JavaScript */
/* This prevents any CSS conflicts that might cause layout issues */

.footer {
background: linear-gradient(135deg, rgba(25, 25, 112, 0.8) 0%, rgba(72, 61, 139, 0.8) 100%);
border-radius: 15px;
box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
position: relative;
overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/casino-bg.svg');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.disclaimer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.disclaimer i {
    margin-right: 5px;
    color: #e74c3c;
}

.disclaimer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

/* Highlight effect for recommended casino */
.casino-card.highlighted {
    animation: highlight-pulse 3s ease-in-out;
    border: 2px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 10;
}

@keyframes highlight-pulse {
    0% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    }
}

/* Scrolling Optimization */
.is-scrolling .casino-card {
    /* Disable transitions during scroll to prevent grey rows */
    transition: none !important;
    /* Ensure hardware acceleration during scroll */
    transform: translateZ(0);
    /* Prevent hover effects during scroll */
    pointer-events: none;
}

.is-scrolling .casino-card * {
    /* Disable all transitions during scroll */
    transition: none !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .casino-content {
        flex-direction: column;
    }
    
    .casino-logo {
        margin: 0 auto 20px auto;
    }
    
    .casino-details, .casino-features, .cta-section {
        width: 100%;
        text-align: center;
    }
    
    .casino-features li {
        text-align: left;
    }
    
    .get-bonus-btn {
        margin: 15px auto;
    }
    
    .casino-card {
        border-left: none;
        border-top: none;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .header-subtitle, .header-description {
        font-size: 1rem;
    }
    
    .bonus-title {
        font-size: 1.5rem;
    }
    
    .casino-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 30px 15px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .casino-content {
        padding: 40px 10px 15px 10px; /* top right bottom left */
    }
    
    .casino-logo {
        width: 120px;
        height: 120px;
    }
    
    .bonus-title {
        font-size: 1.3rem;
    }
    
    .free-spins, .deposit-bonus {
        font-size: 1rem;
    }
    
    .get-bonus-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}
