/* Funinexchange Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #F0ECE1;
    color: #333;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #333;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.header {
    background: linear-gradient(-180deg, #414141 0%, #000 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.nav-menu a:hover, .nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffb80c;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    line-height: 1.4;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(90deg, #FFE935 0%, #F6FF29 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 233, 53, 0.3);
}

.btn-primary i {
    color: #000 !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 233, 53, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #F10000 0%, #C70000 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(241, 0, 0, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 0, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: #ffb80c;
    border: 2px solid #ffb80c;
}

.btn-outline:hover {
    background: #ffb80c;
    color: #000;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(-180deg, #414141 0%, #000 100%);
    padding: 1rem;
}

.mobile-menu .nav-menu {
    flex-direction: column;
    gap: 0;
}

.mobile-menu .nav-menu a {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Slider Styles - Swiper */
.slider-section {
    margin: 0.5rem auto 2rem;
}

.main-slider {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #ffb80c !important;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    margin-top: -22px !important;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: bold;
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #ffb80c !important;
    transform: scale(1.2);
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Card Styles */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 600px;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.table th {
    background: linear-gradient(90deg, #FFE935 0%, #F6FF29 100%);
    color: #000;
    font-weight: bold;
}

.table tr:hover {
    background: #f8f9fa;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: #ffb80c;
    font-size: 1.2rem;
    width: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ffb80c 0%, #ff8c00 100%);
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 12px;
}

.cta-section .feature-list i {
    color: #fff;
}

.cta-section a:not(.btn) {
    text-decoration: underline;
    color: #C70000;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section i {
    color: #fff;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* FAQ Styles */
.faq {
    margin: 3rem 0;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #ffb80c;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 1.5rem 1.5rem;
    color: #666;
    line-height: 1.7;
    display: none;
}

/* Footer Styles */
.footer {
    background: #1e323f;
    color: #fff;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffb80c;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #fff;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    display: block;
}

.footer-section p a {
    display: inline;
}

.footer-section a:hover {
    color: #ffb80c;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #aaa;
}

.btns-section {
    padding-left: 10px;
    padding-right: 10px;
}

.btns-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1e323f;
    padding: 20px 0;
    border-radius: 102px;
}

.btns-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: max-content;
    border-radius: 102px;
    border: 2px solid #ffb80c;
}

.btns-container .btn-item {
    color: #1e323f;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 40px;
    border-radius: 102px;
    background: #ffb80c;
}

.btns-container .btn-item:nth-child(2) {
    background: transparent;
    color: #fff;
}

@media (max-width: 480px) {
    .btns-container .btn-item {
        font-size: 14px;
        padding-left: 30px;
        padding-right: 30px;
    }
}

.payment-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.payment-methods span {
    background: #fff;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(255, 184, 12, 0.1) 0%, rgba(255, 184, 12, 0.05) 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ffb80c;
}

@media (max-width: 1600px) {
    .header-container {
        flex-wrap: wrap;
    }

    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu.show {
        display: block;
    }

    .mobile-menu .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .mobile-menu .nav-menu li {
        display: block;
    }

    .mobile-menu .nav-menu a {
        display: block;
    }
}


@media (max-width: 660px) {
    .header-actions .btn-outline {
        display: none;
    }
} 

@media (max-width: 480px) {
    .header-actions {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-actions a {
        width: 100%;   
        font-size: 13px;
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 380px) {
    .main-slider {
        height: 112px !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .main-slider {
        height: 250px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 36px !important;
        height: 36px !important;
        margin-top: -18px !important;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px !important;
    }

    .cta-buttons,
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    section .btn {
        width: 100%;
        max-width: 300px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 2rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .main-slider {
        height: 150px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 32px !important;
        height: 32px !important;
        margin-top: -16px !important;
        display: none;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 12px !important;
    }

    .cta-section {
        padding: 2rem 1rem;
    }

    .card {
        padding: 1rem;
    }

    .form-container {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffb80c;
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-2px);
    background: #ff8c00;
}

/* Font Awesome Icons Styling */
.fa {
    margin-right: 0.5rem;
}

/* Accent color for highlights */
.accent {
    color: #ffb80c;
    font-weight: bold;
}

/* Ensure proper spacing for external links */
.external-link {
    color: #ffb80c;
    text-decoration: underline;
}

.external-link:hover {
    color: #ff8c00;
}
