/* Custom Styles for StoneVegas Casino */

/* Vegas Background with Parallax */
.vegas-background {
    background-image: url('./images/background.webp');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.parallax-bg {
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Glowing Text Effect */
.glow-text {
    text-shadow: 0 0 10px rgba(243, 182, 58, 0.5), 0 0 20px rgba(243, 182, 58, 0.3);
}

.casino-highlight {
    position: relative;
    display: inline-block;
}

.casino-highlight::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    background: radial-gradient(circle, rgba(243, 182, 58, 0.3) 0%, rgba(243, 182, 58, 0) 70%);
    z-index: -1;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

/* Floating Casino Elements */
.casino-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.casino-element {
    position: absolute;
    color: rgba(243, 182, 58, 0.3);
    font-size: 2rem;
    animation: float-element 8s infinite ease-in-out;
}

.dice-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    font-size: 3rem;
}

.dice-2 {
    top: 70%;
    left: 80%;
    animation-delay: 1s;
    font-size: 2.5rem;
}

.card-1 {
    top: 40%;
    left: 20%;
    animation-delay: 2s;
    font-size: 2.8rem;
}

.chip-1 {
    top: 25%;
    left: 85%;
    animation-delay: 3s;
    font-size: 2.2rem;
}

.diamond {
    top: 80%;
    left: 30%;
    animation-delay: 4s;
    font-size: 3.2rem;
}

.spade {
    top: 60%;
    left: 5%;
    animation-delay: 5s;
    font-size: 2.7rem;
}

.heart {
    top: 10%;
    left: 60%;
    animation-delay: 6s;
    font-size: 2.4rem;
}

.club {
    top: 50%;
    left: 90%;
    animation-delay: 7s;
    font-size: 2.6rem;
}

@keyframes float-element {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.6;
    }
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
}

/* 3D Dice Animation */
.dice-3d {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    animation: dice-spin 8s infinite linear;
}

.dice-3d .side {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(243, 182, 58, 0.9);
    border: 2px solid #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.dice-3d .front {
    transform: translateZ(30px);
}

.dice-3d .back {
    transform: rotateY(180deg) translateZ(30px);
}

.dice-3d .right {
    transform: rotateY(90deg) translateZ(30px);
}

.dice-3d .left {
    transform: rotateY(-90deg) translateZ(30px);
}

.dice-3d .top {
    transform: rotateX(90deg) translateZ(30px);
}

.dice-3d .bottom {
    transform: rotateX(-90deg) translateZ(30px);
}

@keyframes dice-spin {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

/* Square Image Container */
.square-image-container {

    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 3px solid #f3b63a;
    transition: all 0.3s ease;
}

.square-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #e74c3c, #f3b63a, #e74c3c);
    animation: rainbow-border 2s linear infinite;
    background-size: 200% 100%;
    z-index: 1;
}

.square-image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

@keyframes rainbow-border {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 26, 75, 0.3), rgba(26, 26, 75, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-icon-overlay {
    animation: float-icon 3s infinite ease-in-out;
}

@keyframes float-icon {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Casino Chip */
.casino-chip {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: chip-spin 8s infinite linear;
}

.casino-chip .chip-value {
    position: absolute;
    color: #1a1a4b;
    font-weight: bold;
    font-size: 1.2rem;
}

@keyframes chip-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Payment Icons Animation */
.payment-icon {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

/* Jackpot Counter Animation */
.jackpot-counter-container {
    position: relative;
}

.jackpot-counter {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.jackpot-counter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: jackpot-shine 3s infinite;
}

@keyframes jackpot-shine {
    0% {
        left: -50%;
        top: -50%;
    }
    100% {
        left: 150%;
        top: 150%;
    }
}

/* Light Beam Effect */
.light-beam {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(243, 182, 58, 0.1) 0%,
        rgba(243, 182, 58, 0.05) 50%,
        rgba(243, 182, 58, 0) 100%
    );
    transform: translateX(-50%) rotate(15deg);
    animation: light-sweep 8s infinite ease-in-out;
    pointer-events: none;
}

@keyframes light-sweep {
    0% {
        transform: translateX(-100%) rotate(15deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) rotate(15deg);
        opacity: 0;
    }
}

/* Category Card Hover Effects */
.category-item {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(243, 182, 58, 0.2) 0%, rgba(243, 182, 58, 0) 50%, rgba(243, 182, 58, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item:hover::after {
    opacity: 1;
}

.category-icon {
    transition: transform 0.3s ease;
}

.category-item:hover .category-icon {
    transform: scale(1.2);
}

/* Game Card Animations */
.game-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.game-card-image {
    position: relative;
    overflow: hidden;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 75, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-now-btn {
    background: #f3b63a;
    color: #1a1a4b;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.game-card:hover .play-now-btn {
    transform: scale(1);
}

/* Cards Background Animation */
.cards-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./images/100.webp');
    background-size: 100px;
    opacity: 0.03;
    animation: cards-float 60s linear infinite;
}

@keyframes cards-float {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

/* Bonus Card Animation */
.bonus-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(243, 182, 58, 0.1) 0%,
        rgba(243, 182, 58, 0) 70%
    );
    transform-origin: center;
    animation: bonus-pulse 3s infinite;
}

@keyframes bonus-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

.bonus-badge {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.bonus-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: badge-shine 3s infinite;
}

.bonus-card:hover .bonus-badge {
    transform: rotate(10deg);
}

@keyframes badge-shine {
    0% {
        left: -50%;
        top: -50%;
    }
    100% {
        left: 150%;
        top: 150%;
    }
}

/* Coins Animation */
.coins-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.coins-animation::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('./images/star.webp');
    background-size: 20px;
    opacity: 0.05;
    animation: coins-fall 20s linear infinite;
}

@keyframes coins-fall {
    0% {
        background-position: 0 -100px;
    }
    100% {
        background-position: 100px 100%;
    }
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(243, 182, 58, 0.3);
}

.countdown-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f3b63a;
}

.countdown-label {
    font-size: 0.7rem;
    color: #ccc;
}

.countdown-divider {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f3b63a;
    margin: 0 5px;
}

/* Parallax Stars */
.parallax-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 50px 160px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 160px 120px, #fff, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.1;
    animation: stars-move 100s linear infinite;
}

@keyframes stars-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 200px 200px;
    }
}

/* Casino Review Image */
.casino-review-image {
    position: relative;
}

.floating-badges {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.badge {
    position: absolute;
    background: rgba(243, 182, 58, 0.9);
    color: #1a1a4b;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: badge-float 3s infinite ease-in-out;
}

.badge-security {
    top: 20px;
    left: -20px;
    animation-delay: 0s;
}

.badge-license {
    top: 50%;
    right: -20px;
    animation-delay: 1s;
}

.badge-support {
    bottom: 20px;
    left: 30%;
    animation-delay: 2s;
}

@keyframes badge-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Payment Icon Container Animation */
.payment-icon-container {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-icon-container::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.payment-method:hover .payment-icon-container {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.payment-method:hover .payment-icon-container::before {
    animation: payment-shine 1s forwards;
}

@keyframes payment-shine {
    0% {
        top: -100%;
        left: -100%;
        opacity: 1;
    }
    100% {
        top: 100%;
        left: 100%;
        opacity: 1;
    }
}

/* Light Rays Effect */
.light-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(243, 182, 58, 0.05) 0%,
        rgba(243, 182, 58, 0) 70%
    );
    animation: light-pulse 5s infinite ease-in-out;
}

@keyframes light-pulse {
    0% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

/* Win Animation Overlay */
.win-animation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.win-message {
    background: #1a1a4b;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 3px solid #f3b63a;
    box-shadow: 0 0 30px rgba(243, 182, 58, 0.5);
    animation: win-message-appear 0.5s forwards;
    transform: scale(0.8);
    opacity: 0;
}

@keyframes win-message-appear {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* Footer Cards Animation */
.footer-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./images/star.webp');
    background-size: 30px;
    opacity: 0.02;
    animation: footer-cards 40s linear infinite;
}

@keyframes footer-cards {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 30px 30px;
    }
}

/* Social Icon Animation */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #f3b63a;
    color: #1a1a4b !important;
    transform: translateY(-3px);
}

/* Footer Link Animation */
.footer-link {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    transform: translateX(5px);
}

/* License Badge Animation */
.license-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.license-badge:hover {
    background: rgba(243, 182, 58, 0.2);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f3b63a;
    color: #1a1a4b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
    border: none;
}

.back-to-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: #e74c3c;
    color: white;
}

/* Shine Button Effect */
.shine-button {
    position: relative;
    overflow: hidden;
}

.shine-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.shine-button:hover::after {
    animation: button-shine 1s forwards;
}

@keyframes button-shine {
    0% {
        left: -50%;
        top: -50%;
    }
    100% {
        left: 150%;
        top: 150%;
    }
}

/* Pulse Button Animation */
.pulse-button {
    position: relative;
}

.pulse-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f3b63a;
    border-radius: inherit;
    animation: pulse-animation 2s infinite;
    opacity: 0;
    z-index: -1;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Nav Link Animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f3b63a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Logo Text Animation */
.logo-text {
    position: relative;
}

.dice-icon {
    display: inline-block;
    animation: dice-bounce 2s infinite;
}

@keyframes dice-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Slot Counter Animation */
.slot-counter {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-text {
        text-align: center;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .casino-element {
        display: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a4b;
}

::-webkit-scrollbar-thumb {
    background: #f3b63a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e74c3c;
}

.bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.article-content {
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #f3b63a;
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #f3b63a;
}

.article-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-content ul li {
    margin-bottom: 0.5rem;
}

.gradient-border {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #f3b63a, #e74c3c, #f3b63a);
    z-index: -1;
    border-radius: 0.5rem;
    animation: border-animation 3s linear infinite;
}

@keyframes border-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #f3b63a;
    color: #1a1a4b;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 30;
}

.back-to-top.visible {
    opacity: 1;
}
.body-article{
    background-color: #1a1a4b;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}
.bg-article-container {
    background-color: #1a1a4b;
}