/* static/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

.hero-gradient {
    background: linear-gradient(135deg, #1a237e 0%, #4a148c 100%);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

/* Search Bar Responsive Fix */
.search-container {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.search-input {
    padding-right: 60px !important;
    height: 64px;
    font-size: 1.1rem;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    bottom: 8px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.mobile-menu {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

.mobile-menu.open {
    max-height: 500px;
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .search-input {
        height: 56px;
        font-size: 1rem;
    }

    .search-btn {
        width: 44px;
        height: 44px;
    }
}


/* Line clamp for descriptions */
.line-clamp-2 {
    display: -webkit-box;
    /* -webkit-line-clamp: 2; */
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* .search-input {
    padding-right: 50px;
} */

/* .search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
} */

/* Print styles */
@media print {

    nav,
    footer,
    .no-print {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .container {
        max-width: 100% !important;
    }
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

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


/* styles for Swiper */
.testimonialSwiper {
    padding: 0 20px 40px;
}

.swiper-slide {
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    color: #3b82f6;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #3b82f6;
    transform: scale(1.1);
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: white;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d1d5db;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #3b82f6;
    transform: scale(1.2);
}

.contact-link {
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* WhatsApp specific hover */
.contact-link.whatsapp:hover {
    background-color: rgba(37, 211, 102, 0.1);
}

/* Email specific hover */
.contact-link.email:hover {
    background-color: rgba(234, 67, 53, 0.1);
}

/* Discord specific hover */
.contact-link.discord:hover {
    background-color: rgba(88, 101, 242, 0.1);
}

/* External link indicator animation */
.external-link-indicator {
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.contact-link:hover .external-link-indicator {
    opacity: 1;
    transform: translateX(0);
}

/* Button hover effects */
.btn-hover-lift {
    transition: all 0.3s ease;
}

.btn-hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Platform Search Styles */
#platform-search-results {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #f1f1f1;
}

#platform-search-results::-webkit-scrollbar {
    width: 6px;
}

#platform-search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0 8px 8px;
}

#platform-search-results::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}

#platform-search-results::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Search result hover effect */
#platform-search-results div:hover {
    background-color: #f8fafc;
    transform: translateX(2px);
    transition: all 0.2s ease;
}

/* Selected platform animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.animate-pulse {
    animation: pulse 0.5s ease-in-out;
}

/* Popular platforms buttons */
#popular-platforms button {
    transition: all 0.2s ease;
}

#popular-platforms button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Required field indicator */
.required-field::after {
    content: " *";
    color: #ef4444;
}

/* Validation error styles */
.border-red-500 {
    border-color: #ef4444 !important;
}

.border-red-500:focus {
    border-color: #ef4444 !important;
    /* ring-color: #ef4444 !important; */
}

