 :root {
            --primary: #4f46e5;
            --primary-hover: #4338ca;
            --secondary: #06b6d4;
            --accent: #f59e0b;
            --bg-gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
            --dark: #0f172a;
            --card-bg: #ffffff;
            --body-bg: #f1f5f9;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --border-color: #e2e8f0;
            --radius-lg: 16px;
            --radius-md: 12px;
            --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
            --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 18px 30px rgba(79, 70, 229, 0.18);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--body-bg);
            color: var(--text-main);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            line-height: 1.6;
        }

        /* Top Navigation */
        nav {
            background: #ffffff;
            padding: 0.9rem 6%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .logo {
            width: 44px;
            height: 44px;
            background: var(--bg-gradient);
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(79, 70, 229, 0.2);
        }

        .logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .brand-text h1 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--primary);
            letter-spacing: -0.2px;
        }

        .brand-text p {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 500;
            line-height: 1;
        }

        .login-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border: 2px solid var(--primary);
            color: var(--primary);
            padding: 7px 18px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.88rem;
            transition: all 0.25s ease;
        }

        .login-btn:hover {
            background: var(--primary);
            color: #ffffff;
            transform: translateY(-1px);
        }

        /* Main Container */
        main {
            flex: 1;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
            padding: 30px 20px 60px;
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        /* Instructions Section */
        .instructions-banner {
            background: #ffffff;
            border-radius: var(--radius-lg);
            padding: 24px 30px;
            border-left: 6px solid var(--secondary);
            box-shadow: var(--shadow-md);
            position: relative;
            overflow: hidden;
        }

        .instructions-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .instructions-header .title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--dark);
        }

        .instructions-header .title i {
            color: var(--secondary);
            font-size: 1.35rem;
        }

        .badge-notice {
            background: #ecfeff;
            color: #0e7490;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 30px;
            border: 1px solid #cffafe;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .instruction-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 12px 24px;
            list-style: none;
        }

        .instruction-grid li {
            position: relative;
            padding-left: 26px;
            font-size: 0.92rem;
            color: #334155;
            line-height: 1.5;
        }

        .instruction-grid li::before {
            content: "\f058";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 2px;
            color: #10b981;
            font-size: 0.95rem;
        }

        .instruction-highlight {
            background: #fef3c7;
            color: #92400e;
            padding: 1px 6px;
            border-radius: 4px;
            font-weight: 600;
        }

        /* Section Header */
        .section-title-wrap {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 2px solid #e2e8f0;
            padding-bottom: 12px;
            margin-top: 5px;
        }

        .section-title {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title i {
            color: var(--primary);
        }

        .exam-count-badge {
            background: #e0e7ff;
            color: var(--primary);
            font-size: 0.8rem;
            font-weight: 600;
            padding: 4px 14px;
            border-radius: 20px;
            transition: all 0.3s ease;
        }

        /* Auto-Aligning Grid System */
        .exam-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 24px;
            align-items: stretch;
            width: 100%;
        }

        .exam-card {
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            padding: 26px 22px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            height: 100%;
        }

        .exam-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(79, 70, 229, 0.3);
        }

        .card-top {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 18px;
        }

        .exam-icon {
            width: 52px;
            height: 52px;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            flex-shrink: 0;
        }

        /* Subject-Specific Icon Themes */
        .icon-excel { background: #e6fcf5; color: #0ca678; }
        .icon-ai { background: #f3e8ff; color: #9333ea; }
        .icon-word { background: #e7f5ff; color: #1c7ed6; }
        .icon-html { background: #fff4e6; color: #f76707; }
        .icon-code { background: #e0f2fe; color: #0284c7; }

        .card-info h3 {
            font-size: 1.12rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 4px;
            line-height: 1.35;
        }

        .card-info .date-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.78rem;
            color: var(--text-muted);
            font-weight: 500;
        }

        .card-meta {
            background: #f8fafc;
            border-radius: 8px;
            padding: 10px 14px;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.82rem;
            color: var(--text-muted);
        }

        .card-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .btn-exam {
            background: var(--bg-gradient);
            color: #ffffff;
            text-align: center;
            padding: 12px 20px;
            border-radius: var(--radius-md);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.92rem;
            letter-spacing: 0.4px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
            transition: all 0.25s ease;
            margin-top: auto;
        }

        .btn-exam:hover {
            opacity: 0.95;
            transform: translateY(-2px);
            box-shadow: 0 8px 18px rgba(204, 7, 155, 0.35);
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: #94a3b8;
            padding: 30px 6%;
            margin-top: auto;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        .power-by-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .hr-logo {
            width: 42px;
            height: 42px;
            background: var(--bg-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border: 2px solid rgba(255, 255, 255, 0.15);
        }

        .hr-logo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .power-text {
            display: flex;
            flex-direction: column;
            text-align: left;
        }

        .power-text span:first-child {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #64748b;
        }

        .power-text a {
            font-size: 0.92rem;
            font-weight: 600;
            color: #f1f5f9;
            text-decoration: none;
            transition: color 0.2s;
        }

        .power-text a:hover {
            color: var(--secondary);
        }

        .footer-center {
            text-align: center;
            font-size: 0.85rem;
        }

        .footer-center a {
            color: #cbd5e1;
            text-decoration: none;
        }

        .social-links {
            display: flex;
            gap: 12px;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.05);
            color: #cbd5e1;
            border-radius: 50%;
            font-size: 1rem;
            transition: all 0.25s ease;
            text-decoration: none;
        }

        .social-links a:hover {
            background: var(--secondary);
            color: #ffffff;
            transform: translateY(-2px);
        }

        /* --- RESPONSIVE BREAKPOINTS --- */
        @media (max-width: 768px) {
            nav { padding: 0.8rem 4%; }
            .brand-text h1 { font-size: 0.95rem; }
            .brand-text p { font-size: 0.7rem; }
            .instructions-banner { padding: 20px; }
            .footer-container {
                flex-direction: column;
                text-align: center;
                gap: 18px;
            }
            .power-by-left { flex-direction: column; }
            .power-text { text-align: center; }
            .social-links { justify-content: center; }
        }

        @media (max-width: 480px) {
            .exam-grid { grid-template-columns: 1fr; }
            .brand-text { max-width: 170px; }
            .login-btn span { display: none; }
            .login-btn { padding: 7px 12px; }
        }