        @font-face {
            font-family: 'Minecraft';
            src: url(../fonts/Minecraft.woff) format('woff');
        }
        @font-face {
            font-family: 'MinecraftSC';
            src: url(../fonts/MinecraftSC.woff) format('woff');
        }

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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #2e2e2e;
            color: #fff;
            overflow-x: hidden;
        }

        /* Top Bar (unchanged) */
        .top-bar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 70px;
            background: rgba(24, 24, 24, 0.8);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(53, 53, 53, 0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 50px;
            z-index: 1000;
            animation: slideDown 0.6s ease-out;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .top-bar-logo {
            height: 80px;
            width: auto;
        }

        .top-bar-nav {
            display: flex;
            gap: 35px;
        }

        /* NAV ITEM — fixed for no clipping */
        .nav-item {
            display: flex;
            align-items: center;
            position: relative;
            color: #888;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
        
            width: auto;             /* let flex size the container naturally */
            max-width: 60px;         /* collapsed width = icon only */
            padding: 0 10px;
            overflow: hidden;
        
            flex-shrink: 0;          /* prevent shrinking */
            transition: max-width 0.22s cubic-bezier(0.25, 0.46, 0.45, 1),
                        color 0.18s ease;
        }
        
        /* Hover expands smoothly */
        .nav-item:hover {
            max-width: 220px;        /* enough space for full text */
            color: #fff;
        }
        
        /* ICON */
        .nav-icon {
            width: 32px;
            height: 32px;
            flex-shrink: 0;
        
            transform: translateX(0);
            transition: transform 0.20s ease;
        }
        
        /* Slight icon shift on hover */
        .nav-item:hover .nav-icon {
            transform: translateX(-6px);
        }
        
        /* TEXT */
        .nav-text {
            margin-left: 8px;
            white-space: nowrap;
        
            transform: translateX(0);   /* start in place, not cut off */
            opacity: 0;
        
            transition: transform 0.20s ease, opacity 0.20s ease;
        }
        
        /* Slide in and fade on hover */
        .nav-item:hover .nav-text {
            opacity: 1;
            transform: translateX(0);
        }

        /* Underline effect (unchanged) */
        .top-bar-nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            transition: width 0.18s ease;
        }

        .top-bar-nav a:hover::after {
            width: 100%;
        }


        /* Hero Section */
        .hero-section {
            height: 100vh;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 80px;
            position: relative;
            margin-top: 70px;
        }

        .hero-content {
            flex: 1;
            max-width: 600px;
            opacity: 0;
            animation: fadeInUp 0.8s ease-out 0.2s forwards;
        }

        @keyframes fadeInUp {
            from {
                transform: translateY(30px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .logo {
            font-size: 64px;
            font-weight: 700;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 25px;
            font-family: Minecraft;
        }

        .hero-text {
            font-size: 18px;
            color: #999;
            margin-bottom: 20px;
            line-height: 1.7;
            font-weight: 400;
        }

        .hero-right {
            opacity: 0;
            animation: fadeInUp 0.8s ease-out 0.4s forwards;
        }

        .server-ip-box {
            background: rgba(255, 255, 255, 0.02);
            backdrop-filter: blur(10px);
            padding: 45px 55px;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            text-align: center;
            transition: all 0.4s ease;
            box-shadow: #70707033 0px 0px 0px 5px;
        }

        .server-ip-box:hover {
            border-color: rgba(59, 130, 246, 0.4);
            background: rgba(255, 255, 255, 0.03);
            transform: translateY(-3px);
        }

        .server-ip-label {
            font-size: 11px;
            color: #666;
            margin-bottom: 12px;
            letter-spacing: 2px;
            text-transform: uppercase;
            font-weight: 600;
        }

        .server-ip {
            font-size: 22px;
            font-weight: 600;
            color: #3b82f6;
            margin-bottom: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: Minecraft;
        }

        .server-ip:hover {
            color: #60a5fa;
        }

        .join-button {
            background: #009ac9;
            border: none;
            padding: 10px 45px;
            font-size: 28px;
            font-weight: 600;
            color: white;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-family: MinecraftSC;

        }

        .join-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(17, 17, 17, 0.11);
        }

        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 32px;
            color: #333;
        }

        /* Content Sections */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 30px;
        }

        .section {
            background: rgba(255, 255, 255, 0.02);
            backdrop-filter: blur(10px);
            padding: 60px;
            margin-bottom: 40px;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.4s ease;
        }

        .section:hover {
            border-color: rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.03);
        }

        .section-title {
            font-size: 32px;
            margin-bottom: 40px;
            font-weight: 700;
            color: #fff;
            letter-spacing: -1px;
        }

        /* Socials Grid */
        .socials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 25px;
        }

        .social-card {
            background: rgba(255, 255, 255, 0.02);
            padding: 35px;
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.05);
            cursor: pointer;
        }

        .social-card:hover {
            transform: translateY(-5px);
            background: rgba(59, 130, 246, 0.05);
            border-color: rgba(59, 130, 246, 0.2);
        }

        .social-icon {
            height: 50px;
            width: 50px;
            margin-bottom: 18px;
            display: inline-block;
            animation: floatSlow 8s ease-in-out infinite;
        }

        .social-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        @keyframes floatSlow {
            0%, 100% {
                transform: translateY(-4px);
            }
            50% {
                transform: translateY(-12px);
            }
        }

        .social-card h3 {
            font-size: 18px;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .social-card p {
            color: #666;
            font-size: 14px;
        }

        /* Features Grid */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .feature-card {
            background: rgba(255, 255, 255, 0.02);
            padding: 40px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            border-color: rgba(139, 92, 246, 0.3);
            background: rgba(139, 92, 246, 0.05);
        }

        .feature-title {
            font-size: 35px;
            margin-bottom: 15px;
            font-weight: 600;
            color: #8b5cf6;
            font-family: MinecraftSC;
        }

        .feature-card p {
            color: #c5c5c5;
            line-height: 1.7;
            font-size: 15px;
        }

        /* Creators Grid */
        .creators-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 30px;
        }

        .creator-card {
            background: rgba(255, 255, 255, 0.02);
            padding: 35px;
            border-radius: 12px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
        }

        .creator-card:hover {
            transform: translateY(-8px);
            border-color: rgba(59, 130, 246, 0.3);
            background: rgba(59, 130, 246, 0.03);
        }

        .creator-avatar {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            margin: 0 auto 22px;
            overflow: hidden;
            border: 2px solid rgba(59, 130, 246, 0.3);
            transition: all 0.3s ease;
            animation: floatSlow 5s ease-in-out infinite;
        }

        .creator-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .creator-card:hover .creator-avatar {
            border-color: #3b82f6;
            transform: scale(1.05);
        }

        .creator-name {
            font-size: 20px;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .creator-role {
            color: #666;
            font-size: 14px;
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 50px 40px;
            background: rgba(0, 0, 0, 0.5);
            margin-top: 80px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        footer p {
            color: #555;
            font-size: 13px;
            margin-bottom: 8px;
        }
        
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 25px;
        }

        .social-card {
            background: rgba(255, 255, 255, 0.02);
            padding: 35px;
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.05);
            cursor: pointer;
        }

        .news-section {
            display: flex;
            flex-direction: column;
            gap: 1.6rem;
            padding: 1rem 0;
        }
        
        /* Smaller, compact card */
        .news-card {
            background: rgba(255, 255, 255, 0.02);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            flex-direction: column;
            height: auto;
            padding: 1rem; /* ← inner padding so nothing touches the border */
            gap: 1rem;
        }
        
        /* Image with padding + rounded */
        .news-image {
            width: 100%;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            border-radius: 10px;
        }
        
        /* Main content */
        .news-content {
            display: flex;
            flex-direction: column;
            gap: 1.2rem; /* bigger gap from image to title/text */
            flex-grow: 1;
        }
        
        /* Title */
        .news-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin: 0;
            color: #fff;
        }
        
        /* Text */
        .news-text {
            font-size: 0.95rem;
            color: #d0d0d0;
            line-height: 1.55;
        }
        
        /* Footer at bottom */
        .news-footer {
            margin-top: auto; /* pushes footer fully down */
            font-size: 0.85rem;
            color: #a0a0a0;
            display: flex;
            justify-content: space-between;
            opacity: 0.85;
            margin-bottom: 0.8rem; /* small spacing before button */
        }
        
        /* Optional hover */
        .news-card:hover {
            border-color: #3a3a3a;
            transform: translateY(-2px);
            transition: 0.2s ease;
        }

        .news-button {
            display: block;
            margin: 0 auto;
            padding: 8px 28px;
            font-size: 0.95rem;
            font-weight: 600;
            color: #fff;
            background: #009ac9;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .news-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(17, 17, 17, 0.11);
        }
        
        /* Global news section button */
        .news-section-button {
            display: inline-block;
            margin: 2rem auto 0; /* top spacing, center horizontally */
            padding: 12px 36px;
            font-size: 1rem;
            font-weight: 600;
            text-align: center;
            color: #fff;
            background: #009ac9;
            border-radius: 10px;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .news-section-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(17, 17, 17, 0.11);
        }

        .news-section-button-wrapper {
            display: flex;
            justify-content: center;
            margin-top: 2rem; /* space above button */
        }

        @media (max-width: 968px) {
            .top-bar {
                padding: 0 25px;
            }

            .top-bar-nav {
                display: none;
            }

            .hero-section {
                flex-direction: column;
                justify-content: center;
                padding: 40px;
                gap: 50px;
            }

            .hero-content {
                text-align: center;
            }

            .logo {
                font-size: 42px;
            }

            .hero-text {
                font-size: 16px;
            }

            .section {
                padding: 35px 25px;
            }

            .section-title {
                font-size: 26px;
            }
        }
