/* Styles for Kuwait Play website */

/* Base transitions */
* {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

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

.cloud-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(45, 55, 72, 0.7);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 0 8px rgba(45, 55, 72, 0);
        opacity: 0.9;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(45, 55, 72, 0);
        opacity: 1;
    }
}

.pulse {
    animation: pulse 2s infinite;
    position: relative;
}

/* Ensure button containers have enough space for pulsing */
button[type="submit"].pulse {
    box-sizing: border-box;
    /* No margin needed since we're not scaling */
    margin: 0;
}

/* Device icons hover effects */
.device-icon {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.device-icon:hover {
    transform: translateY(-5px) !important;
    filter: brightness(1.2);
}

/* Background patterns */
.dots-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(#00a3e0 1px, transparent 1px),
                      radial-gradient(#0072ce 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

/* Form focus effects */
#phoneInputContainer:focus-within,
#pinInputContainer:focus-within {
    border-color: #2d3748;
    box-shadow: 0 0 0 3px rgba(45, 55, 72, 0.3);
}

/* Button hover effects */
button[type="submit"] {
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(45, 55, 72, 0.4);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .device-icons-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .dots-pattern {
        background-size: 15px 15px;
    }
}

/* Print styles */
@media print {
    .cloud-animation,
    .device-icons-container,
    .dots-pattern {
        display: none;
    }
}


/* Custom background and theme colors */
body {
    background-color: #00BFFF !important; /* Kazakhstan-themed light blue */
    color: #1a202c; /* Dark text for better contrast on light background */
}

.bg-gradient-custom {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); /* High-converting orange gradient */
    border: 2px solid #b45309 !important; /* Border for prominence */
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4) !important; /* Glowing effect */
    margin: 2px; /* Add margin to prevent border cutoff */
}

.bg-gradient-custom:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); /* Brighter on hover */
    transform: scale(1.02) !important; /* Subtle scale on hover */
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.6) !important;
}

