/* RESET AND BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #FFCC00;
    --dark: #1a1a1a;
    --light: #f4f4f4;
    --green: #28a745;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* TOP BAR WITH DATETIME AND LIVE */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    background: var(--dark);
    color: white;
    font-size: 0.85rem;
}

.datetime {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ddd;
    font-weight: 500;
}

.datetime i {
    color: var(--primary);
    font-size: 0.9rem;
}

.datetime span {
    color: white;
}

/* LIVE BADGE */
.live-badge {
    background: rgba(40, 167, 69, 0.2);
    border: 2px solid var(--green);
    color: var(--green);
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 1.5s infinite;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--green);
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* CENTERED ROUND LOGO + NAME AND SLOGAN */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 20px 20px;
    background: linear-gradient(180deg, #ffffff 0%, var(--light) 100%);
    text-align: center;
}

.logo-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 0 0 6px var(--primary);
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.logo-circle:hover {
    transform: scale(1.05);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.brand-name span {
    color: var(--primary);
}

.brand-slogan {
    font-size: 1.05rem;
    color: #666;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* NAVIGATION MENU */
.main-nav {
    display: flex;
    justify-content: center;
    padding: 5px 5% 25px;
    background: var(--light);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    background: white;
    padding: 12px 35px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.main-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

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

/* HORIZONTAL WIDGET SECTION */
.widget-section {
    padding: 30px 5% 50px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.widget-container {
    background: white;
    padding: 30px 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 1200px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.widget-header {
    text-align: center;
    margin-bottom: 25px;
}

.widget-header h2 {
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1.8rem;
}

.widget-header p {
    color: #666;
    font-size: 0.95rem;
}

.widget-wrapper {
    display: block;
    width: 100%;
    min-height: 180px;
    border: 1px dashed #ddd;
    border-radius: 12px;
    padding: 15px;
    background: #fafafa;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Force widget horizontal and responsive */
.widget-wrapper > * {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

.widget-wrapper iframe,
.widget-wrapper form,
.widget-wrapper > div,
.widget-wrapper > script + * {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

.widget-wrapper table {
    width: 100% !important;
}

/* SERVICES SECTION */
.services-section {
    padding: 60px 5%;
    text-align: center;
    background: linear-gradient(180deg, var(--light) 0%, #ffffff 100%);
}

.services-section h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 45px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.35);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--dark);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 700;
}

.service-card p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* PAYMENTS SECTION */
.payments-section {
    padding: 60px 5%;
    text-align: center;
    background: white;
}

.payments-section h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.payment-card {
    background: var(--light);
    padding: 35px 20px;
    border-radius: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.payment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: white;
    border-color: var(--primary);
}

.payment-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.payment-card:hover .payment-icon {
    transform: scale(1.1);
}

.payment-icon i {
    font-size: 2rem;
    color: white;
}

.payment-icon.cash {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.35);
}

.payment-icon.credit {
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.35);
}

.payment-icon.digital {
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
    box-shadow: 0 8px 20px rgba(253, 126, 20, 0.35);
}

.payment-icon.secure {
    background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
    box-shadow: 0 8px 20px rgba(111, 66, 193, 0.35);
}

.payment-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 700;
}

.payment-card p {
    color: #666;
    font-size: 0.9rem;
}

/* ABOUT, FAQ, CONTACT */
.about, .faq, .contact {
    padding: 50px 10%;
    text-align: center;
    background: white;
    margin: 20px 5%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.about h2, .faq h2, .contact h2 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 2rem;
}

.faq-item {
    background: var(--light);
    margin: 15px auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 700px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.faq-item h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

/* CONTACTS GRID */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 30px auto 0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 15px;
    background: var(--light);
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: var(--primary);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.contact-item:hover i {
    color: var(--dark);
}

.contact-item p {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* FOOTER */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 25px 20px;
    margin-top: 40px;
}

/* POPUP */
.popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-left: 5px solid var(--green);
    transform: translateX(-150%);
    transition: transform 0.5s ease-in-out;
    z-index: 2000;
    max-width: 350px;
}

.popup.show {
    transform: translateX(0);
}

.popup-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.popup-content i {
    font-size: 2rem;
    color: var(--primary);
}

.popup-rating {
    font-size: 0.85rem;
    color: var(--green);
}

.stars {
    color: #FFD700;
}

.popup small {
    color: #888;
    font-size: 0.75rem;
}

/* RESPONSIVE - TABLET */
@media (max-width: 1024px) {
    .widget-container {
        padding: 25px 20px;
    }

    .services-grid,
    .payments-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 20px;
    }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
    .top-bar {
        padding: 10px 15px;
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 10px;
    }

    .datetime {
        gap: 5px;
        font-size: 0.72rem;
    }

    .datetime i {
        font-size: 0.75rem;
    }

    .live-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .logo-section {
        padding: 25px 15px 15px;
    }

    .logo-circle {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }

    .brand-name {
        font-size: 1.9rem;
    }

    .brand-slogan {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .main-nav {
        padding: 5px 3% 20px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 10px 20px;
        border-radius: 15px;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .widget-section {
        padding: 20px 3% 35px;
    }

    .widget-container {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .widget-header h2 {
        font-size: 1.4rem;
    }

    .widget-header p {
        font-size: 0.85rem;
    }

    .widget-wrapper {
        padding: 10px;
        min-height: 150px;
        border-radius: 10px;
    }

    .services-section,
    .payments-section {
        padding: 45px 4%;
    }

    .services-section h2,
    .payments-section h2 {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .services-grid,
    .payments-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card,
    .payment-card {
        padding: 25px 20px;
    }

    .service-icon,
    .payment-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i,
    .payment-icon i {
        font-size: 1.5rem;
    }

    .about, .faq, .contact {
        padding: 30px 5%;
        margin: 10px 2%;
        border-radius: 12px;
    }

    .about h2, .faq h2, .contact h2 {
        font-size: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }

    .popup-content i {
        font-size: 1.5rem;
    }
}

/* RESPONSIVE - SMALL MOBILE */
@media (max-width: 400px) {
    .top-bar {
        padding: 8px 10px;
        font-size: 0.68rem;
    }

    .datetime {
        font-size: 0.65rem;
    }

    .brand-name {
        font-size: 1.6rem;
    }

    .brand-slogan {
        font-size: 0.8rem;
    }

    .main-nav ul {
        gap: 10px;
        padding: 8px 15px;
    }

    .main-nav a {
        font-size: 0.8rem;
    }

    .widget-header h2 {
        font-size: 1.2rem;
    }

    .services-section h2,
    .payments-section h2 {
        font-size: 1.4rem;
    }
}
