/* ============================================
   FOOTIQUE - Custom Styles
   ============================================ */

:root {
    --primary: #ff3366;
    --secondary: #7000ff;
    --accent: #00f2ff;
    --bg: #050a15;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg);
    color: #ffffff;
    margin: 0;
    overflow-x: hidden;
    touch-action: manipulation;
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
}

/* Gradient text effect */
.text-gradient {
    background: linear-gradient(135deg, #ff3366 0%, #7000ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Page content transitions */
.page-content {
    display: none;
}

.page-content.active {
    display: block;
    animation: slideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Game canvas */
#game-canvas {
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom, #0f172a, #1e293b);
    border-radius: 24px;
    touch-action: none;
}

/* Bento card hover effects */
.bento-card {
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.bento-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
}

/* Premium button styles */
.btn-premium {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-premium:active {
    transform: scale(0.95);
}

.btn-premium:hover {
    box-shadow: 0 15px 40px rgba(255, 51, 102, 0.4);
}

/* Details/summary styling */
details > summary {
    list-style: none;
    outline: none;
    cursor: pointer;
}

details > summary::-webkit-details-marker {
    display: none;
}

/* Shake animation */
.shake {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo box */
.logo-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-style: italic;
    color: white;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
}

/* Input styling */
input[type="text"],
input[type="tel"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.2);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .page-content.active {
        animation: slideUp 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }
}

/* Home Page Animations */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fade-in {
    animation: fade-in 0.6s ease-out;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out;
}

.animate-fade-in-up-delay {
    animation: fade-in-up 0.8s ease-out 0.2s both;
}

.animate-fade-in-up-delay-2 {
    animation: fade-in-up 0.8s ease-out 0.4s both;
}

.animate-slide-down {
    animation: slide-down 0.6s ease-out;
}

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

/* Hero Card Enhancements */
.hero-card {
    position: relative;
    transition: all 0.4s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 51, 102, 0.2);
}

.hero-visual {
    transition: all 0.4s ease;
}

.hero-visual:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 51, 102, 0.15);
}

/* CTA Section */
.cta-section {
    transition: all 0.4s ease;
}

.cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(255, 51, 102, 0.25);
}

/* Enhanced Bento Cards */
.bento-card {
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.05) 0%, rgba(112, 0, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-card:hover::before {
    opacity: 1;
}

/* Text Gradient Animation */
.text-gradient {
    position: relative;
    background: linear-gradient(135deg, #ff3366 0%, #7000ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .page-content.active {
        animation: slideUp 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .hero-card,
    .hero-visual {
        min-height: auto;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate-float {
        animation: none;
    }
}

