.animated-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.5), transparent);
    border-radius: 50%;
    animation: pulse 3s infinite alternate;
    transition: transform 0.8s ease-in-out;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

 .blurred-bg {
    backdrop-filter: blur(10px); /* Blur effect */
    background: rgba(255, 255, 255, 0.1); /* Transparent white */
}


@media (max-width: 768px) {
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeIn 0.8s ease-in-out forwards;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.scratch-bg {
    position: relative;
    background: linear-gradient(135deg, #1e1e1e, #292929, #1e1e1e);
    overflow: hidden;
}


.scratch-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 10%, transparent 70%);
    opacity: 0.07; /* Adjust visibility of scratches */
    animation: scratchAnimation 6s infinite alternate ease-in-out;
}


.scratch-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('http://127.0.0.1:8000/assets/bg1.png'); /* High-quality noise */
    opacity: 0.15;
    animation: grainEffect 3s infinite alternate ease-in-out;
}


@keyframes scratchAnimation {
    0% { transform: translateX(-10px) translateY(-10px); opacity: 0.05; }
    50% { transform: translateX(10px) translateY(10px); opacity: 0.12; }
    100% { transform: translateX(-10px) translateY(-10px); opacity: 0.07; }
}


@keyframes grainEffect {
    0% { transform: scale(1); opacity: 0.12; }
    50% { transform: scale(1.1); opacity: 0.15; }
    100% { transform: scale(1); opacity: 0.12; }
}

   
.glass-bg {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
}


.floating-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}


.scratch-bg {
    position: relative;
    background: linear-gradient(135deg, #1e1e1e, #292929);
    overflow: hidden;
}

.scratch-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 70%);
    opacity: 0.07;
    animation: scratchAnimation 6s infinite alternate ease-in-out;
}

@keyframes scratchAnimation {
    0% { transform: translateX(-10px) translateY(-10px); opacity: 0.05; }
    50% { transform: translateX(10px) translateY(10px); opacity: 0.12; }
    100% { transform: translateX(-10px) translateY(-10px); opacity: 0.07; }
}


.neon-glow {
    box-shadow: 0 0 10px #ff8c00, 0 0 20px #ff8c00, 0 0 30px #ff8c00, 0 0 40px #ff8c00;
}

@keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    .animate-spin {
        animation: spin 1s linear infinite;
    }

.fab-main {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff8c00, #ff3e9d);
    color: white;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 5px 15px rgba(255, 165, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(255, 165, 0, 0.8);
}

.fab-action {
    width: 50px;
    height: 50px;
    background: rgba(255, 87, 34, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(255, 102, 0, 0.5);
    opacity: 0;
    transform: scale(0);
    cursor: pointer;
}


.fab-action:hover {
    background: #ff6200;
    transform: scale(1.2);
}


#fab-options {
    position: absolute;
    bottom: 70px; 
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#fab-options.show {
    opacity: 1;
    transform: scale(1);
}

#fab-options.show .fab-action {
    opacity: 1;
    transform: scale(1);
}

.scratch-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

@keyframes zoomIn {
from {
transform: scale(1);
opacity: 0.8;
}
to {
transform: scale(1.2);
opacity: 1;
}
}

.bg-animate {
    animation: zoomIn 10s linear infinite alternate;
    backdrop-filter: blur(10px);
}


.cookie-regular {
    font-family: "Cookie", cursive;
    font-weight: 400;
    font-style: normal;
  }
  