/* Effect Sports - Custom Styles */

* {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

/* Navigation */
nav {
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-link {
    position: relative;
    font-weight: 500;
}

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

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

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-whatsapp {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 193, 21, 0.3);
}

.btn-primary::before,
.btn-secondary::before,
.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-whatsapp:hover::before {
    width: 300px;
    height: 300px;
}

/* Feature Cards */
.feature-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 21, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 193, 21, 0.2);
}

/* Sport Cards */
.sport-card {
    transition: all 0.3s ease;
}

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

/* Benefit Cards */
.benefit-card {
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 193, 21, 0.2);
}

.benefit-card i {
    transition: transform 0.3s ease;
}

.benefit-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Gradients */
.gradient-text {
    background: linear-gradient(135deg, #FFC115 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #FFC115;
    border-radius: 6px;
}

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

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, transparent 0%, rgba(255, 193, 21, 0.3) 50%, transparent 100%);
    background-size: 1000px 100%;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
}

/* Hover Effects for Icons */
.fa-volleyball-ball,
.fa-futbol,
.fa-table-tennis,
.fa-trophy,
.fa-users,
.fa-calendar-alt {
    transition: transform 0.3s ease;
}

.feature-card:hover .fa-volleyball-ball,
.feature-card:hover .fa-futbol,
.feature-card:hover .fa-table-tennis,
.feature-card:hover .fa-trophy,
.feature-card:hover .fa-users,
.feature-card:hover .fa-calendar-alt {
    transform: rotate(15deg) scale(1.1);
}

/* Glow Effect */
.glow {
    box-shadow: 0 0 20px rgba(255, 193, 21, 0.5);
}

.glow-hover:hover {
    box-shadow: 0 0 30px rgba(255, 193, 21, 0.7);
    transition: box-shadow 0.3s ease;
}

/* Text Selection */
::selection {
    background: #FFC115;
    color: #0a0a0a;
}

::-moz-selection {
    background: #FFC115;
    color: #0a0a0a;
}

/* Link Styles */
a {
    text-decoration: none;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #FFC115;
    outline-offset: 2px;
}

/* Smooth Transitions */
* {
    transition-property: color, background-color, border-color, transform, box-shadow;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}

button,
a {
    transition-duration: 0.3s;
}

/* Background Patterns */
.pattern-dots {
    background-image: radial-gradient(circle, rgba(255, 193, 21, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Stats Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 1s ease-out;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

#mobile-menu.show {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

/* Card Hover Lift Effect */
.lift-on-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lift-on-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 193, 21, 0.25);
}

/* Gradient Overlay */
.gradient-overlay {
    position: relative;
}

.gradient-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.8) 100%);
    pointer-events: none;
}

/* Typing Effect */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #FFC115;
    margin-left: 4px;
    animation: blink 1s infinite;
}

/* Decorative Elements */
.decorative-line {
    position: relative;
    display: inline-block;
}

.decorative-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50%;
    height: 4px;
    background: #FFC115;
    border-radius: 2px;
}

/* Image Filters */
img {
    transition: filter 0.3s ease;
}

.hover-brighten:hover img {
    filter: brightness(1.1);
}

/* Border Animations */
@keyframes borderPulse {
    0%, 100% {
        border-color: rgba(255, 193, 21, 0.3);
    }
    50% {
        border-color: rgba(255, 193, 21, 0.8);
    }
}

.border-pulse {
    animation: borderPulse 2s infinite;
}

/* Print Styles */
@media print {
    .whatsapp-float,
    nav,
    #mobile-menu {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
