/* Base Page Setup */
        body {
            background-color: #111112;
            color: #e2e8f0;
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            margin: 0;
            padding: 0;
            line-height: 1.7;
        }

        /* Container to keep content centered and neat */
        main {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        /* Main Section Headings with Flame Glow */
        h1 {
            text-align: center;
            color: #ff4500; /* Flame Orange */
            font-size: 2.2rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-top: 60px;
            margin-bottom: 25px;
            text-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
            border-bottom: 2px solid rgba(255, 69, 0, 0.2);
            padding-bottom: 10px;
        }

        /* First Heading Customization */
        h1:first-of-type {
            margin-top: 20px;
        }

        /* Beautiful Story Paragraphs */
        p {
            max-width: 750px;
            margin: 25px auto 45px auto;
            text-align: justify;
            font-size: 1.1rem;
            color: #cbd5e1;
        }

        /* Cinematic Image Layout */
        .image-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            margin: 20px 0;
        }

        /* Grid layout for the multi-gif sequence in Upper Rank section */
        .image-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            max-width: 800px;
            margin: 25px auto;
        }

        img {
            display: block;
            width: 100%;
            max-width: 650px;
            height: auto;
            border-radius: 12px;
            border: 1px solid rgba(255, 140, 0, 0.25);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
            transition: transform 0.4s ease, border-color 0.4s ease;
        }

        /* Hover effect for an immersive, interactive feel */
        img:hover {
            transform: scale(1.03);
            border-color: #ff8c00;
        }

        /* Final Heading Styling */
        .end-heading {
            border-bottom: none;
            color: #ff8c00;
            margin-top: 80px;
            font-size: 1.8rem;
            animation: pulse 2s infinite ease-in-out;
        }

        @keyframes pulse {
            0%, 100% { opacity: 0.6; }
            50% { opacity: 1; }
        }