    :root {
        --primary: #0d6efd;
        --primary-dark: #0a58ca;
        --accent: #00b4d8;
        --gold: #ffc107;
        --dark: #0f172a;
        --light-bg: #f8fafc;
    }

    * { font-family: 'Poppins', sans-serif; }

    body {
        background: var(--light-bg);
        color: #334155;
        overflow-x: hidden;
    }

    /* ===== NAVBAR ===== */
    .main-navbar {
        background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
        padding: 1rem 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .main-navbar .navbar-brand {
        font-weight: 800;
        font-size: 1.5rem;
        color: #fff !important;
        letter-spacing: -0.5px;
    }

    .main-navbar .navbar-brand i {
        color: var(--accent);
        margin-right: 8px;
    }

    .main-navbar .nav-link {
        color: rgba(255,255,255,0.85) !important;
        font-weight: 500;
        padding: 0.5rem 1.1rem !important;
        border-radius: 8px;
        transition: all 0.3s;
    }

    .main-navbar .nav-link:hover {
        color: #fff !important;
        background: rgba(255,255,255,0.1);
    }

    .btn-login-nav {
        background: var(--accent);
        color: #fff !important;
        font-weight: 600;
        border-radius: 8px;
    }

    .btn-login-nav:hover {
        background: #0096b4;
        transform: translateY(-1px);
    }

    /* ===== HERO ===== */
    .hero-section {
        background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(30,58,138,0.88) 100%),
                    url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?w=1600') center/cover;
        padding: 100px 0 120px;
        color: #fff;
        position: relative;
        overflow: hidden;
    }

    .hero-section::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        height: 80px;
        background: var(--light-bg);
        clip-path: ellipse(75% 100% at 50% 100%);
    }

    .hero-title {
        font-size: 3rem;
        font-weight: 800;
        line-height: 1.15;
        margin-bottom: 1rem;
        letter-spacing: -1px;
    }

    .hero-title span {
        background: linear-gradient(90deg, var(--accent), var(--gold));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        opacity: 0.9;
        max-width: 700px;
        margin: 0 auto 2rem;
    }

    .hero-badge {
        display: inline-block;
        background: rgba(0,180,216,0.2);
        border: 1px solid rgba(0,180,216,0.5);
        color: var(--accent);
        padding: 8px 20px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .btn-hero-primary {
        background: linear-gradient(135deg, var(--accent), var(--primary));
        color: #fff;
        padding: 14px 32px;
        border-radius: 12px;
        font-weight: 600;
        border: none;
        transition: all 0.3s;
        box-shadow: 0 10px 30px rgba(0,180,216,0.3);
    }

    .btn-hero-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0,180,216,0.45);
        color: #fff;
    }

    .btn-hero-outline {
        background: transparent;
        color: #fff;
        padding: 14px 32px;
        border-radius: 12px;
        font-weight: 600;
        border: 2px solid rgba(255,255,255,0.4);
        transition: all 0.3s;
    }

    .btn-hero-outline:hover {
        background: rgba(255,255,255,0.1);
        border-color: #fff;
        color: #fff;
    }

    /* ===== SECTION ===== */
    .section-padding { padding: 70px 0; }

    .section-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 0.5rem;
        letter-spacing: -0.5px;
    }

    .section-subtitle {
        color: #64748b;
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .section-title i { color: var(--primary); margin-right: 10px; }

    /* ===== NOTIFICATION TICKER ===== */
    .notification-bar {
        background: linear-gradient(90deg, #10b981, #059669);
        color: #fff;
        padding: 12px 0;
        overflow: hidden;
        position: relative;
    }

    .notification-bar .ticker-wrap {
        display: flex;
        animation: ticker 30s linear infinite;
        white-space: nowrap;
    }

    .notification-bar .ticker-item {
        display: inline-flex;
        align-items: center;
        padding: 0 30px;
        font-weight: 500;
        font-size: 0.95rem;
    }

    .notification-bar .ticker-item i {
        margin-right: 8px;
        color: #fef3c7;
    }

    @keyframes ticker {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    /* ===== RANK MODEL CARDS ===== */
    .rank-card {
        background: #fff;
        border-radius: 18px;
        padding: 30px 24px;
        border: 1px solid #e2e8f0;
        transition: all 0.35s;
        height: 100%;
        position: relative;
        overflow: hidden;
    }

    .rank-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s;
    }

    .rank-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(13,110,253,0.15);
        border-color: transparent;
    }

    .rank-card:hover::before { transform: scaleX(1); }

    .rank-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        margin-bottom: 18px;
        color: #fff;
    }

    .rank-icon-1 { background: linear-gradient(135deg, #ef4444, #dc2626); }
    .rank-icon-2 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
    .rank-icon-3 { background: linear-gradient(135deg, #10b981, #059669); }
    .rank-icon-4 { background: linear-gradient(135deg, #f59e0b, #d97706); }

    .rank-card h5 {
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--dark);
        margin-bottom: 8px;
    }

    .rank-card p {
        color: #64748b;
        font-size: 0.9rem;
        margin-bottom: 0;
        line-height: 1.6;
    }

    /* ===== WINNER CARD ===== */
    .winner-card {
        background: #fff;
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        transition: all 0.35s;
        height: 100%;
        position: relative;
    }

    .winner-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.1);
    }

    .winner-header {
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        padding: 18px;
        text-align: center;
        position: relative;
    }

    .winner-header::after {
        content: '\f091';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 15px;
        top: 10px;
        font-size: 2.5rem;
        color: rgba(255,255,255,0.25);
    }

    .winner-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        border: 4px solid #fff;
        object-fit: cover;
        margin: 0 auto 10px;
        display: block;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }

    .winner-body {
        padding: 20px;
        text-align: center;
    }

    .winner-name {
        font-weight: 700;
        color: var(--dark);
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

    .winner-tag {
        display: inline-block;
        background: #eff6ff;
        color: var(--primary);
        padding: 3px 12px;
        border-radius: 50px;
        font-size: 0.78rem;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .winner-stats {
        display: flex;
        justify-content: space-around;
        padding: 12px 0;
        border-top: 1px dashed #e2e8f0;
        border-bottom: 1px dashed #e2e8f0;
        margin: 12px 0;
    }

    .winner-stat-value {
        font-weight: 800;
        font-size: 1.15rem;
        color: var(--dark);
        display: block;
    }

    .winner-stat-label {
        font-size: 0.72rem;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .winner-prize {
        display: inline-block;
        background: linear-gradient(135deg, #10b981, #059669);
        color: #fff;
        padding: 6px 18px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
    }

    .tournament-label {
        font-size: 0.78rem;
        color: #64748b;
        margin-bottom: 12px;
        display: block;
    }

    /* ===== POST CARD ===== */
    .post-card {
        background: #fff;
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        transition: all 0.35s;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .post-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.1);
    }

    .post-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .post-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

    .post-user {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }

    .post-user-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 12px;
        border: 2px solid #eff6ff;
    }

    .post-user-name {
        font-weight: 600;
        color: var(--dark);
        font-size: 0.92rem;
        margin-bottom: 0;
    }

    .post-time {
        font-size: 0.75rem;
        color: #94a3b8;
    }

    .post-content {
        color: #475569;
        font-size: 0.9rem;
        line-height: 1.65;
        margin-bottom: 15px;
        flex: 1;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .post-link {
        color: var(--primary);
        font-weight: 600;
        font-size: 0.88rem;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.25s;
    }

    .post-link:hover { gap: 10px; color: var(--primary-dark); }

    /* ===== DATATABLE STYLING ===== */
    .table-container {
        background: #fff;
        border-radius: 18px;
        padding: 25px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        border: 1px solid #e2e8f0;
    }

    table.dataTable thead th {
        background: #f8fafc;
        color: var(--dark);
        font-weight: 600;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-bottom: 2px solid #e2e8f0;
        padding: 14px 12px;
    }

    table.dataTable tbody td {
        padding: 14px 12px;
        vertical-align: middle;
        font-size: 0.9rem;
        color: #475569;
    }

    table.dataTable tbody tr:hover { background: #f8fafc; }

    .tournament-link {
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
    }

    .tournament-link:hover { text-decoration: underline; }

    .btn-view-sm {
        background: var(--primary);
        color: #fff;
        padding: 6px 14px;
        border-radius: 8px;
        font-size: 0.8rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.25s;
    }

    .btn-view-sm:hover { background: var(--primary-dark); color: #fff; }

    /* ===== CTA SECTION ===== */
    .cta-section {
        background: linear-gradient(135deg, var(--dark) 0%, #1e3a8a 100%);
        padding: 70px 0;
        color: #fff;
        border-radius: 24px;
        position: relative;
        overflow: hidden;
    }

    .cta-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(0,180,216,0.25), transparent 70%);
        border-radius: 50%;
    }

    /* ===== FOOTER ===== */
    .main-footer {
        background: var(--dark);
        color: #94a3b8;
        padding: 50px 0 20px;
        margin-top: 80px;
    }

    .main-footer h5 {
        color: #fff;
        font-weight: 700;
        margin-bottom: 18px;
    }

    .main-footer a {
        color: #94a3b8;
        text-decoration: none;
        display: block;
        margin-bottom: 8px;
        font-size: 0.9rem;
        transition: all 0.25s;
    }

    .main-footer a:hover { color: var(--accent); padding-left: 4px; }

    .footer-bottom {
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 20px;
        margin-top: 30px;
        text-align: center;
        font-size: 0.85rem;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 768px) {
        .hero-title { font-size: 2rem; }
        .hero-section { padding: 60px 0 80px; }
        .section-padding { padding: 45px 0; }
        .section-title { font-size: 1.5rem; }
    }

    /* Animasi fade-in */
    .fade-in-up {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-in-up.visible {
        opacity: 1;
        transform: translateY(0);
    }