/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.btn-primary {
    background-color: #4361ee;
    border-color: #4361ee;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #3a56d4;
    border-color: #3a56d4;
}

.text-primary {
    color: #4361ee !important;
}

.bg-primary {
    background-color: #4361ee !important;
}

.btn-outline-primary {
    color: #4361ee;
    border-color: #4361ee;
}

.btn-outline-primary:hover {
    background-color: #4361ee;
    border-color: #4361ee;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e1e2f, #0b0b15);
    color: white;
    padding: 120px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgyMCkiPjxjaXJjbGUgY3g9IjI1IiBjeT0iMjUiIHI9IjIiIGZpbGw9IiM0Y2M5ZjAiIG9wYWNpdHk9IjAuMiIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 30%, rgba(76, 201, 240, 0.2) 0%, transparent 30%),
                radial-gradient(circle at 80% 70%, rgba(247, 37, 133, 0.2) 0%, transparent 30%);
    opacity: 1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(90deg, #4cc9f0, #f72585);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite alternate;
    letter-spacing: 1px;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 5px rgba(76, 201, 240, 0.5);
    }
    100% {
        text-shadow: 0 0 15px rgba(247, 37, 133, 0.8);
    }
}

/* Floating Icons Animation */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.social-icon {
    position: absolute;
    font-size: 2rem;
    filter: drop-shadow(0 0 8px rgba(76, 201, 240, 0.6));
    will-change: transform;
    transition: all 0.3s ease;
    z-index: 2;
}

.social-icon:hover {
    transform: scale(1.2) !important;
    filter: drop-shadow(0 0 12px rgba(247, 37, 133, 0.8));
}

.icon-facebook {
    top: 15%;
    left: 20%;
    animation: floating 5s ease-in-out infinite, spin 22s linear infinite;
    font-size: 2.5rem;
    color: #4267B2;
}

.icon-instagram {
    top: 30%;
    left: 60%;
    animation: floating 7s ease-in-out infinite, spin 27s linear infinite;
    font-size: 3rem;
    color: #E1306C;
    filter: drop-shadow(0 0 10px rgba(225, 48, 108, 0.7));
}

.icon-tiktok {
    top: 60%;
    left: 25%;
    animation: floating 8s ease-in-out infinite reverse, spin 24s linear infinite reverse;
    font-size: 2.8rem;
    color: #69C9D0;
    filter: drop-shadow(0 0 10px rgba(105, 201, 208, 0.7));
}

.icon-youtube {
    top: 20%;
    left: 75%;
    animation: floating 6s ease-in-out infinite, spin 20s linear infinite;
    font-size: 2.7rem;
    color: #FF0000;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.7));
}

.icon-twitter {
    top: 70%;
    left: 70%;
    animation: floating 9s ease-in-out infinite reverse, spin 32s linear infinite;
    font-size: 2.3rem;
    color: #1DA1F2;
    filter: drop-shadow(0 0 10px rgba(29, 161, 242, 0.7));
}

.icon-like {
    top: 40%;
    left: 45%;
    animation: floating 6s ease-in-out infinite alternate, pulse 2s ease-in-out infinite;
    font-size: 1.8rem;
    color: #4cc9f0;
    filter: drop-shadow(0 0 10px rgba(76, 201, 240, 0.7));
}

.icon-heart {
    top: 55%;
    left: 40%;
    animation: floating 5s ease-in-out infinite, pulse 3s ease-in-out infinite;
    font-size: 1.5rem;
    color: #f72585;
    filter: drop-shadow(0 0 10px rgba(247, 37, 133, 0.7));
}

.icon-comment {
    top: 25%;
    left: 40%;
    animation: floating 7s ease-in-out infinite reverse;
    font-size: 1.6rem;
    color: #7209b7;
    filter: drop-shadow(0 0 10px rgba(114, 9, 183, 0.7));
}

.icon-share {
    top: 45%;
    left: 80%;
    animation: floating 9s ease-in-out infinite;
    font-size: 1.7rem;
    color: #4361ee;
    filter: drop-shadow(0 0 10px rgba(67, 97, 238, 0.7));
}

@keyframes floating {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-15px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

/* Service Cards */
.service-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(67, 97, 238, 0));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.service-card .card-header {
    background: linear-gradient(135deg, #4361ee, #3a56d4);
    color: white;
    font-weight: 700;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.service-card .card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    transform: translate(50%, 50%);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #4361ee;
    filter: drop-shadow(0 4px 6px rgba(67, 97, 238, 0.3));
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: #3a56d4;
}

/* Feature Section */
.feature-item {
    padding: 30px 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #eff0fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #4361ee;
    font-size: 1.5rem;
}

/* Testimonial Section */
.testimonial-card {
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4361ee;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.5rem;
    margin-right: 15px;
}

.testimonial-quote {
    font-style: italic;
    color: #6c757d;
}

/* Coming Soon Section */
.coming-soon-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    height: 100%;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.coming-soon-card:hover {
    transform: translateY(-5px);
}

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffc107;
    color: #333;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Auth Forms */
.auth-form {
    max-width: 450px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.auth-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
}

/* Dashboard */
.dashboard-header {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.balance-card {
    background-color: #4361ee;
    color: white;
    border-radius: 10px;
    padding: 20px;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
}

.dashboard-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.dashboard-nav .nav-link {
    padding: 10px 15px;
    color: #333;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.dashboard-nav .nav-link:hover, .dashboard-nav .nav-link.active {
    background-color: #eff0fd;
    color: #4361ee;
}

.dashboard-nav .nav-link i {
    margin-right: 10px;
}

/* Order Form */
.order-form {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Tables */
.custom-table {
    width: 100%;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.custom-table thead {
    background-color: #4361ee;
    color: white;
}

.custom-table th, .custom-table td {
    padding: 15px;
    vertical-align: middle;
}

.badge-pending {
    background-color: #ffc107;
    color: #333;
}

.badge-processing {
    background-color: #17a2b8;
    color: white;
}

.badge-completed {
    background-color: #28a745;
    color: white;
}

.badge-failed {
    background-color: #dc3545;
    color: white;
}

/* Footer */
footer .social-icons a {
    transition: transform 0.3s;
}

footer .social-icons a:hover {
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .service-card, .feature-item, .testimonial-card {
        margin-bottom: 20px;
    }
    
    .dashboard-header {
        flex-direction: column;
    }
    
    .balance-card {
        margin-bottom: 20px;
    }
}
