
        @import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --gold: #d4af37;
            --dark: #0a0a0a;
            --darker: #000000;
            --light-gold: #f0e68c;
            --gray: #b8b8b8;
            --light: #F5F5F5;
            --burgundy: #740001;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--darker);
            color: var(--light);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* BACKGROUND */
        .bg-pattern {
            position: fixed;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(circle at 20% 50%, rgba(116, 0, 1, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                url('../images/Harry.jpg') center/cover;
            opacity: 0.3;
            z-index: 0;
        }

        .stars {
            position: fixed;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .star {
            position: absolute;
            width: 2px;
            height: 2px;
            background: var(--gold);
            border-radius: 50%;
            animation: twinkle 3s infinite ease-in-out;
        }

        /*ANIMATIONS  */
        @keyframes twinkle {
            0%, 100% { opacity: 0.3; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.5); }
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.5; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.2); }
        }

        @keyframes swing {
            0%, 100% { transform: rotate(-5deg); }
            50% { transform: rotate(5deg); }
        }

        /* HEADER COMPONENT */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 2px solid var(--gold);
            box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
        }

        nav {
            max-width: 1400px;
            margin: 0 auto;
            padding: 1.5rem 3rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: 'Cinzel Decorative', serif;
            font-size: 1.8rem;
            font-weight: 900;
            color: var(--gold);
            letter-spacing: 3px;
            text-decoration: none;
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--gray);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            letter-spacing: 1px;
            transition: all 0.3s;
            cursor: pointer;
        }

        .nav-links a:hover {
            color: var(--gold);
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
        }

        .mobile-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            z-index: 1001;
        }

        .mobile-toggle span {
            width: 25px;
            height: 2px;
            background: var(--gold);
            transition: all 0.3s;
        }

        .mobile-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .mobile-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        /* HERO */
        .hero {
            margin-top: 80px;
            min-height: 70vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            background:
                linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.85) 100%),
                url('../images/Black.jpg') center/cover;
            background-attachment: fixed;
        }

        .hero-content {
            position: relative;
            z-index: 10;
            max-width: 900px;
            padding: 3rem 2rem;
        }

        .sorting-hat {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            animation: swing 3s ease-in-out infinite;
        }

        .hero h1 {
            font-family: 'Cinzel Decorative', serif;
            font-size: 4rem;
            font-weight: 900;
            background: linear-gradient(to bottom, #ffd700, #d4af37, #b8860b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1.5rem;
            letter-spacing: 5px;
        }

        .hero .subtitle {
            font-family: 'Cinzel Decorative', serif;
            font-size: 1rem;
            color: var(--gold);
            margin-bottom: 2rem;
            font-style: italic;
            letter-spacing: 2px;
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--light-gold);
            margin-bottom: 2rem;
        }

        .cta-button {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: linear-gradient(135deg, var(--burgundy), #ae0001);
            border: 2px solid var(--gold);
            color: var(--gold);
            text-decoration: none;
            font-weight: 700;
            letter-spacing: 2px;
            transition: all 0.3s;
        }

        .cta-button:hover {
            background: linear-gradient(135deg, #ae0001, var(--gold));
            color: var(--dark);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
        }

        /* ==================== CONTAINER ==================== */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 4rem 3rem;
            position: relative;
            z-index: 10;
        }

        .section {
            margin-bottom: 5rem;
        }

        .section-title {
            font-family: 'Cinzel Decorative', serif;
            font-size: 3rem;
            color: var(--gold);
            margin-bottom: 3rem;
            text-align: center;
            letter-spacing: 3px;
            text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
        }

        /* PAPERS */
        .papers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .paper-card {
            background: linear-gradient(135deg, rgba(116, 0, 1, 0.1), rgba(10, 10, 10, 0.9));
            border: 2px solid rgba(212, 175, 55, 0.3);
            padding: 2rem;
            transition: all 0.3s;
        }

        .paper-card:hover {
            border-color: var(--gold);
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
        }

        .paper-year {
            font-size: 0.85rem;
            color: var(--gold);
            letter-spacing: 2px;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .paper-title {
            font-family: 'Cinzel Decorative', serif;
            font-size: 1.3rem;
            color: var(--light);
            margin-bottom: 0.8rem;
            line-height: 1.4;
        }

        .paper-author {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 0.8rem;
            font-style: italic;
        }

        .paper-description {
            color: var(--gray);
            font-size: 0.9rem;
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .paper-links {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .paper-link {
            padding: 0.6rem 1.3rem;
            border: 1px solid var(--gold);
            color: var(--gold);
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 600;
            transition: all 0.3s;
        }

        .paper-link:hover {
            background: var(--gold);
            color: var(--dark);
        }

        /* ==================== CONTRIBUTORS COMPONENT (contributors.css) ==================== */
        .contributors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 2rem;
        }

        .contributor-card {
            text-align: center;
            padding: 1.5rem;
            background: linear-gradient(135deg, rgba(14, 26, 64, 0.3), rgba(10, 10, 10, 0.8));
            border: 2px solid rgba(212, 175, 55, 0.3);
            transition: all 0.3s;
            position: relative;
        }

        .contributor-card.leader {
            border: 2px solid var(--gold);
            background: linear-gradient(135deg, rgba(116, 0, 1, 0.2), rgba(10, 10, 10, 0.9));
            box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
        }

        .contributor-card:hover {
            border-color: var(--gold);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
        }

        .contributor-avatar {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            border: 3px solid var(--gold);
            margin: 0 auto 1rem;
            display: block;
            transition: all 0.3s;
        }

        .contributor-card.leader .contributor-avatar {
            border-width: 3px;
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
        }

        .contributor-card:hover .contributor-avatar {
            transform: scale(1.05);
        }

        .contributor-role {
            font-size: 0.7rem;
            color: var(--light-gold);
            margin-bottom: 0.3rem;
            font-style: italic;
            font-weight: 600;
            letter-spacing: 1px;
        }

        .contributor-name {
            font-weight: 700;
            color: var(--gold);
            margin-bottom: 0.3rem;
            font-size: 0.95rem;
        }

        .contributor-stats {
            color: var(--gray);
            font-size: 0.8rem;
            margin-bottom: 0.8rem;
        }

        .contributor-link {
            color: var(--gold);
            text-decoration: none;
            font-size: 0.8rem;
        }

        .contributor-link:hover {
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
        }

        /* ==================== RESOURCES COMPONENT ==================== */
        .resources-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .resource-category {
            background: linear-gradient(135deg, rgba(116, 0, 1, 0.2), rgba(10, 10, 10, 0.9));
            border: 2px solid rgba(212, 175, 55, 0.3);
            padding: 2rem;
            transition: all 0.3s;
        }

        .resource-category:hover {
            border-color: var(--gold);
        }

        .resource-category h3 {
            font-family: 'Cinzel Decorative', serif;
            font-size: 1.4rem;
            color: var(--gold);
            margin-bottom: 1.5rem;
        }

        .resource-list {
            list-style: none;
        }

        .resource-list li {
            padding: 0.8rem 0;
            border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        }

        .resource-list li:last-child {
            border-bottom: none;
        }

        .resource-list a {
            color: var(--gray);
            text-decoration: none;
            transition: all 0.3s;
            font-size: 0.9rem;
        }

        .resource-list a:hover {
            color: var(--gold);
            padding-left: 5px;
        }

        /* ==================== FOOTER COMPONENT (footer.css) ==================== */
        footer {
            background: linear-gradient(180deg, var(--darker), var(--dark));
            border-top: 2px solid var(--gold);
            padding: 2.5rem;
            text-align: center;
        }

        footer p {
            color: var(--gray);
            font-size: 0.9rem;
        }

        footer a {
            color: var(--gold);
            text-decoration: none;
        }

        footer a:hover {
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
        }

        /* ==================== UTILITY ==================== */
        .loading {
            text-align: center;
            padding: 2rem;
            color: var(--gray);
            font-style: italic;
        }

        /* ==================== RESPONSIVE ==================== */
        @media (max-width: 968px) {
            .hero h1 { font-size: 2.5rem; }
            .sorting-hat { font-size: 3rem; }
            .papers-grid { grid-template-columns: 1fr; }
            .contributors-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
            nav { padding: 1.5rem 2rem; }
            .container { padding: 3rem 2rem; }

            .nav-links {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: rgba(10, 10, 10, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 2rem;
                transition: left 0.3s;
                border-top: 2px solid var(--gold);
            }

            .nav-links.active {
                left: 0;
            }

            .nav-links a {
                font-size: 1.5rem;
            }

            .mobile-toggle {
                display: flex;
            }
        }
    