/* Slots Page Styles */

/* Slots Hero Banner */
.slots-hero {
    background: linear-gradient(135deg, #330066 0%, #6600cc 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.slots-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="%234b0082" stroke-width="1" fill="none"/><circle cx="50" cy="50" r="10" fill="%234b0082" opacity="0.5"/></svg>'), 
                      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><path d="M25,0 L50,25 L25,50 L0,25 Z" fill="%237b68ee" opacity="0.3"/></svg>');
    background-position: 0 0, 25px 25px;
    opacity: 0.1;
    z-index: 0;
    animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
    0% {
        background-position: 0 0, 25px 25px;
    }
    100% {
        background-position: 100px 100px, 125px 125px;
    }
}

.slots-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.slots-hero-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 0.8s ease;
}

.slots-hero-content h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s 0.2s ease both;
}

.slots-hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInDown 0.8s 0.4s ease both;
}

.slots-hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 0.8s 0.6s ease both;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text);
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Trending Slots */
.trending-slots {
    padding: 80px 0;
    background-color: var(--dark);
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.slot-card {
    background-color: var(--dark-gray);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    height: 100%;
    animation: fadeInUp 0.6s ease both;
}

.slot-card:nth-child(1) { animation-delay: 0.1s; }
.slot-card:nth-child(2) { animation-delay: 0.2s; }
.slot-card:nth-child(3) { animation-delay: 0.3s; }
.slot-card:nth-child(4) { animation-delay: 0.4s; }
.slot-card:nth-child(5) { animation-delay: 0.5s; }
.slot-card:nth-child(6) { animation-delay: 0.6s; }

.slot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.slot-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: all 0.5s ease;
}

.slot-card-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slot-card:hover .slot-card-image::before {
    opacity: 1;
}

/* Generate background patterns for slot cards */
.slot-card-image.joker-vs-joker {
    background: linear-gradient(45deg, #ff0066, #6600ff);
    background-image: url('images/1.jpg');
}

.slot-card-image.grand-mustang {
    background: linear-gradient(45deg, #ff9900, #cc6600);
    background-image: url('images/30.webp');
}

.slot-card-image.bigtuna-bonanza {
    background: linear-gradient(45deg, #0099ff, #0044cc);
    background-image: url('images/2.jpg');
}

.slot-card-image.dragon-queen {
    background: linear-gradient(45deg, #9900cc, #cc0066);
    background-image: url('images/3.jpg');
}

.slot-card-image.cats-soup {
    background: linear-gradient(45deg, #ff6699, #ff9966);
    background-image: url('images/29.webp');
}

.slot-card-image.loki-loot {
    background: linear-gradient(45deg, #00cc66, #009933);
    background-image: url('images/31.webp');
}

.slot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slot-card:hover .slot-overlay {
    opacity: 1;
}

.btn-play, .btn-demo {
    padding: 10px 15px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-play {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
}

.btn-demo {
    background: linear-gradient(45deg, var(--dark), var(--dark-gray));
    border: 1px solid var(--primary-light);
}

.btn-play:hover, .btn-demo:hover {
    transform: translateY(-3px);
}

.slot-card-info {
    padding: 20px;
}

.slot-card-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

.slot-card-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.slot-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.feature {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.feature.hot {
    background-color: rgba(255, 0, 0, 0.2);
    color: #ff6666;
}

.feature.jackpot {
    background-color: rgba(255, 215, 0, 0.2);
    color: #ffcc00;
}

.feature.new {
    background-color: rgba(0, 128, 0, 0.2);
    color: #66cc66;
}

.feature.multiplier {
    background-color: rgba(148, 0, 211, 0.2);
    color: #cc99ff;
}

.feature.freespins {
    background-color: rgba(0, 191, 255, 0.2);
    color: #66ccff;
}

.feature.megaways {
    background-color: rgba(255, 140, 0, 0.2);
    color: #ffaa44;
}

.feature.volatility {
    background-color: rgba(255, 0, 255, 0.2);
    color: #ff99ff;
}

.feature.cute {
    background-color: rgba(255, 105, 180, 0.2);
    color: #ff99cc;
}

.feature.mythology {
    background-color: rgba(75, 0, 130, 0.2);
    color: #9966cc;
}

.feature.wilds {
    background-color: rgba(34, 139, 34, 0.2);
    color: #66cc99;
}

/* Slots Features */
.slots-features {
    background-color: var(--dark-gray);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-item {
    background-color: var(--light-gray);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.slots-closing {
    text-align: center;
}

.slots-closing p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Animations */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .slots-hero-content h1 {
        font-size: 32px;
    }

    .slots-hero-content h2 {
        font-size: 24px;
    }

    .slots-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .slots-hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .feature-item {
        padding: 20px;
    }
}

@media screen and (max-width: 576px) {
    .slots-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
} 