* {
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: url('https://i.gyazo.com/f502e4be90ba92d272f7e9ac370e733c.webp') center/cover fixed;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            line-height: 1.5;
        }

        .container {
            max-width: 1200px;
            margin: auto;
            padding: 15px;
            width: 100%;
        }

        header {
            text-align: center;
            margin-bottom: 25px;
            background: linear-gradient(135deg, #fefeb1 0%, #b11818 100%);
            color: white;
            padding: 20px 15px;
            border-radius: 12px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 15px;
            width: 100%;
        }

        .logo {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid white;
            box-shadow: 0 3px 6px rgba(0,0,0,0.2);
            flex-shrink: 0;
        }

        .header-text {
            flex: 1;
            min-width: 0;
        }

        header h1 {
            margin: 0;
            font-size: 28px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            letter-spacing: 0.5px;
            line-height: 1.2;
            word-wrap: break-word;
        }

        .date {
            font-size: 16px;
            margin-top: 8px;
            opacity: 0.9;
        }

        .search-box {
            text-align: center;
            margin: 20px 0;
            padding: 0 10px;
        }

        .search-box input {
            padding: 12px 18px;
            width: 100%;
            max-width: 350px;
            border: 2px solid #d36702;
            border-radius: 25px;
            font-size: 16px;
            outline: none;
            transition: all 0.3s;
            box-shadow: 0 3px 5px rgba(0,0,0,0.1);
            background: rgb(255, 255, 255);
        }

        .search-box input:focus {
            box-shadow: 0 0 12px #d36702;
            transform: scale(1.02);
        }

        .card-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            width: 100%;
        }

        .card {
            background: rgb(255, 255, 255);
            border: 1px solid rgb(224, 224, 224);
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
            overflow: hidden;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }

        .card h2 {
            margin-top: 0;
            font-size: 20px;
            color: #333;
            border-bottom: 2px solid #d36702;
            padding-bottom: 10px;
            margin-bottom: 12px;
            word-wrap: break-word;
            line-height: 1.3;
        }

        .close-info {
            font-size: 14px;
            color: #666;
            margin-bottom: 15px;
            background: rgb(248, 249, 250);
            padding: 8px 10px;
            border-radius: 6px;
            border-left: 3px solid #d36702;
            line-height: 1.4;
        }

        .countdown, .result-countdown {
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 12px;
            padding: 8px 10px;
            border-radius: 6px;
            text-align: center;
            border-left: 3px solid;
            line-height: 1.4;
        }

        .countdown {
            color: #d84315;
            background: rgb(255, 235, 238);
            border-left-color: #d84315;
        }

        .result-countdown {
            color: #388e3c;
            background: rgb(232, 245, 233);
            border-left-color: #388e3c;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            table-layout: fixed;
        }

        td {
            padding: 8px 10px;
            vertical-align: top;
            font-size: 14px;
            border-bottom: 1px solid rgb(240, 240, 240);
            word-break: break-word;
        }

        td:first-child {
            font-weight: bold;
            width: 60px;
            color: #333;
            background: rgb(248, 249, 250);
            border-radius: 5px 0 0 5px;
        }

        .number-cell {
            color: #060869;
            font-weight: bold;
            font-size: 15px;
        }

        .twin-cell {
            color: #19b687;
            font-weight: bold;
            font-size: 15px;
        }

        .bbfs-cell {
            color: #d16003;
            font-weight: bold;
            font-size: 16px;
            letter-spacing: 1px;
        }

        .tutup {
            margin-top: 8px;
            font-weight: bold;
            color: red;
            text-align: center;
            animation: blink 1.5s infinite;
            padding: 10px;
            background: rgb(255, 235, 238);
            border-radius: 6px;
            font-size: 15px;
        }

        @keyframes blink {
            50% { opacity: 0.5; }
        }

        .closed-card {
            opacity: 0.85;
            background-color: rgb(245, 245, 245);
        }

        .status-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            padding: 4px 8px;
            border-radius: 15px;
            font-size: 11px;
            font-weight: bold;
            z-index: 1;
        }

        .status-open {
            background-color: #4caf50;
            color: white;
        }

        .status-closed {
            background-color: #f44336;
            color: white;
        }

        .footer {
            text-align: center;
            font-size: 14px;
            color: #666;
            margin-top: 30px;
            padding: 15px 0;
            border-top: 1px solid rgba(204, 204, 204, 0.5);
            background: rgb(255, 255, 255);
            border-radius: 8px;
        }

        .loading {
            text-align: center;
            padding: 20px;
            font-size: 18px;
            color: #666;
        }

        .error {
            text-align: center;
            padding: 20px;
            font-size: 18px;
            color: #d32f2f;
            background: #ffebee;
            border-radius: 8px;
            margin: 20px 0;
        }

        /* Bottom Bar Styles */
        .bottom-bar {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: auto;
            min-width: 200px;
            background: rgba(73, 73, 73, 0.95);
            border-radius: 50px;
            padding: 10px 20px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .bottom-bar.collapsed {
            width: auto;
            min-width: 200px;
            padding: 8px 20px;
        }

        .bottom-bar.expanded {
            width: 90%;
            max-width: 600px;
            padding: 15px 20px;
        }

        .bottom-bar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            gap: 15px;
        }

        .bottom-bar-title {
            font-weight: bold;
            color: #ffffff;
            font-size: 1rem;
            white-space: nowrap;
        }

        .links-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            width: 100%;
            margin-top: 10px;
            transition: all 0.3s ease;
        }

        .bottom-bar.collapsed .links-container {
            display: none;
        }

        .bottom-bar.expanded .links-container {
            display: flex;
        }

        .website-link {
            background: linear-gradient(135deg, #cc0101, #db9601);
            color: white;
            text-decoration: none;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            white-space: nowrap;
            text-align: center;
        }

        .website-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .toggle-button {
            background: #3d3d3d;
            color: white;
            border: none;
            border-radius: 50%;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .toggle-button:hover {
            background: #b21f1f;
            transform: rotate(90deg);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .container {
                padding: 12px;
            }
            
            header {
                padding: 18px 12px;
                margin-bottom: 20px;
            }
            
            header h1 {
                font-size: 26px;
            }
            
            .card-container {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 18px;
            }
            
            .card {
                padding: 18px;
            }
            
            .bottom-bar.expanded {
                border-radius: 20px;
                width: 95%;
            }
            
            .bottom-bar.collapsed {
                min-width: 180px;
            }
            
            .toggle-button {
                width: 32px;
                height: 32px;
                font-size: 1.1rem;
            }
            
            .bottom-bar-title {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 10px;
            }
            
            header {
                padding: 15px 10px;
                margin-bottom: 18px;
            }
            
            .header-content {
                flex-direction: column;
                text-align: center;
                gap: 12px;
            }
            
            .logo {
                width: 65px;
                height: 65px;
            }
            
            header h1 {
                font-size: 24px;
            }
            
            .date {
                font-size: 15px;
            }
            
            .search-box {
                margin: 18px 0;
            }
            
            .card-container {
                grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
                gap: 15px;
            }
            
            .card {
                padding: 16px;
            }
            
            .card h2 {
                font-size: 18px;
                padding-bottom: 8px;
                margin-bottom: 10px;
            }
            
            .search-box input {
                max-width: 100%;
                padding: 11px 16px;
            }
            
            .links-container {
                gap: 5px;
            }
            
            .website-link {
                padding: 6px 12px;
                font-size: 0.8rem;
            }
            
            .bottom-bar-title {
                font-size: 0.85rem;
            }
            
            .bottom-bar.collapsed {
                min-width: 160px;
                padding: 6px 15px;
            }
        }

        @media (max-width: 360px) {
            .container {
                padding: 6px;
            }
            
            header {
                padding: 10px 6px;
                margin-bottom: 12px;
            }
            
            .logo {
                width: 55px;
                height: 55px;
            }
            
            header h1 {
                font-size: 20px;
            }
            
            .date {
                font-size: 13px;
            }
            
            .search-box input {
                padding: 10px 14px;
                font-size: 15px;
            }
            
            .card {
                padding: 12px;
            }
            
            .card h2 {
                font-size: 17px;
            }
            
            td {
                padding: 6px 7px;
                font-size: 12px;
            }
            
            .number-cell, .twin-cell {
                font-size: 13px;
            }
            
            .bbfs-cell {
                font-size: 14px;
            }
        }
  