@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* Global */
body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1f2933, #111827);
    color: #e5e7eb;
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* Optional serif utility class */
.noto-serif {
    font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.logo-img {
    width: 15%;
}

.navbar-brand {
    width: 60%;
}

li.nav-item {
    font-size: larger;
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #e3ad01 !important;
    line-height: 1.2;
}

/* Header */
.navbar {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: #f9fafb !important;
}

.navbar .nav-link {
    color: #e5e7eb;
    font-weight: 500;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: #ffffff;
}

.ticket-number {
    font-size: 1.4rem;
    font-weight: 600;
}

.date-title {
    font-size: 1.3rem;
}

/* Hero Section */
.hero {
    width: 100%;
    min-height: 80vh;
    /* Responsive height */
    background:

        url("../image/banner-1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero {
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-weight: 700;
    margin-bottom: 10px;
}

.hero p {
    color: #9ca3af;
}

/* Time Section */
.time-section {
    padding: 60px 20px;
}

.date-title {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.btn-outline-light {
    border-color: #9ca3af;
    color: #e5e7eb;
    font-size: 16px;
    font-weight: 600;
}

/* Time Cards */
.time-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
}

.time-card h3 {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 28px;
}

/* .time-card span {
    font-size: 1.2rem;
    color: #d1d5db;
} */

/* Buttons */
.btn-outline-light {
    border-color: #9ca3af;
    color: #e5e7eb;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Coming Soon Label */
.coming-soon {
    color: #facc15;
    font-size: 31px;
    font-style: italic;
}

button.navbar-toggler {
    background-color: whitesmoke !important;
}

/* Table polish */
.table-dark {
    background: rgba(17, 24, 39, 0.8);
}

.table-dark th,
.table-dark td {
    border-color: rgba(255, 255, 255, 0.15);
}

input[type="date"] {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f9fafb;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* Remove number input arrows (Chrome, Edge, Safari) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove number input arrows (Firefox) */
input[type=number] {
    -moz-appearance: textfield;
}

.live-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f9fafb;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
}

.ticket-digits {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.digit-circle {
    width: 45px;
    height: 55px;
    border-radius: 10px;
    background: #2563eb;

    color: #ffffff;
    font-weight: 700;
    font-size: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.rand-digits {
    display: flex;
    justify-content: center;
    gap: 12px;
    /* space between digits */
}

.rand-digit {
    background: #ffffff;
    color: #dc2626;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 1.3rem;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* Mobile */
@media (max-width: 576px) {
    .digit-circle {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .logo-img {
        width: 50%;
    }

    .hero {
        width: 100%;
        min-height: 100vh;
        /* Responsive height */
        background:

            url("../image/banner.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.rand-digits {
    display: flex;
    gap: 10px;
    /* space between digits */
    justify-content: center;
    margin-top: 8px;
}

.rand-digit {
    background: #ffffff;
    /* white bg */
    color: #2563eb;
    /* red text */
    border-radius: 10px;
    /* rounded box */
    padding: 8px 14px;
    font-size: 1.3rem;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* Mobile friendly */
@media (max-width: 576px) {
    .rand-digit {
        font-size: 1.5rem;
        padding: 10px 16px;
    }
}


/* Mobile responsiveness */
@media (max-width: 576px) {

    /* Date heading */
    .date-title {
        font-size: 1.5rem;
        text-align: center;
    }

    /* Time card title (9 AM, 11 AM, etc.) */
    .time-card h3 {
        font-size: 1.3rem;
    }

    /* Ticket number */
    .ticket-number {
        font-size: 1.7rem;
    }

    /* Coming soon label */
    .coming-soon {
        font-size: 1rem;
    }

    /* Table text */
    table th,
    table td {
        font-size: 0.95rem;
        padding: 0.6rem;
    }

    /* Buttons */
    .btn {
        font-size: 0.95rem;
        padding: 0.45rem 0.75rem;
    }

    /* Pagination */
    .pagination .page-link {
        font-size: 0.9rem;
        padding: 0.45rem 0.6rem;
    }

    .digit-circle {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {

    .date-title {
        font-size: 1.6rem;
    }

    .time-card h3 {
        font-size: 1.25rem;
    }

    .ticket-number {
        font-size: 1.6rem;
    }
}



/* Footer */
footer {
    background: rgba(17, 24, 39, 0.9);
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    color: #9ca3af;
}