/* FontAwesome Icons (for footer) */
        @import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css");
        @import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css");

        /* ----- 1. Global & Theme ----- */
        :root {
            --color-primary-black: #121212;
            --color-secondary-black: #1a1a1a;
            --color-surface: #2a2a2a;
            --color-primary-red: #e60000;
            --color-text-primary: #f0f0f0;
            --color-text-secondary: #aaaaaa;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Sansation", serif;
            font-weight: 300;
            font-style: normal;
            background-color: var(--color-primary-black);
            color: var(--color-text-primary);
            line-height: 1.6;
            position: relative;
        }

        a {
            color: var(--color-primary-red);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        a:hover {
            color: #ff4d4d;
        }

        img {
            max-width: 100%;
            display: block;
        }

        /* ----- 2. Blur-Load for Images ----- */
        img.blur-load {
            filter: blur(8px);
            opacity: 0.6;
            transition: filter 0.4s ease-out, opacity 0.4s ease-out;
        }

        img.blur-load.loaded {
            filter: blur(0);
            opacity: 1;
        }

        /* ----- 3. Logo Animation (No Header) ----- */
        .logo-container {
            padding: 20px 25px;
            background-color: var(--color-secondary-black);
            border-bottom: 1px solid #333;
            overflow: hidden;
            position: relative;
            z-index: 2;
        }

        .logo-link-animated {
            display: inline-block;
        }

        .logo-img-animated {
            height: 85px;
            width: auto;
            object-fit: contain;
            animation: slideInFromLeft 1.2s ease-out forwards;
        }

        @keyframes slideInFromLeft {
            0% { transform: translateX(-100%); opacity: 0; }
            100% { transform: translateX(0); opacity: 1; }
        }

        /* ----- 4. Background Scroller ----- */
        .background-scroller {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 600px; 
            z-index: 1;
            overflow: hidden;
            filter: blur(5px) opacity(0.3);
            
            mask-image: linear-gradient(
                to bottom, 
                black 400px, 
                transparent 600px 
            );
            -webkit-mask-image: linear-gradient(to bottom, black 400px, transparent 600px);
        }

        .scroller-track {
            display: flex;
            width: calc(20 * 400px);
            animation: scrollHorizontal 120s linear infinite;
        }

        .scroller-track img {
            width: 400px;
            height: 600px;
            object-fit: cover;
            flex-shrink: 0;
        }

        @keyframes scrollHorizontal {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-10 * 400px)); }
        }

        /* ----- 5. Featured Content ----- */
        .featured-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }

        .row-container {
            margin-bottom: 50px;
        }

        .row-title-text {
            font-size: 2.2rem;
            font-weight: 400;
            color: var(--color-text-primary);
            margin-bottom: 20px;
            border-bottom: 2px solid var(--color-primary-red);
            padding-bottom: 10px;
            display: inline-block;
        }

        .row-title-logo {
            max-height: 90px;
            width: auto;
            object-fit: contain;
            margin-bottom: 20px;
        }

        .row-content-wrapper {
            position: relative;
        }

        .card-scroller {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            white-space: nowrap;
            padding: 10px 0; 
            scrollbar-width: none; 
            -ms-overflow-style: none;
            scroll-behavior: smooth;
        }

        .card-scroller::-webkit-scrollbar {
            display: none; 
        }

        /* ----- 6. Scroller Arrows (Desktop Only) ----- */
        .scroll-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            background-color: rgba(0,0,0,0.7);
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            font-size: 1.5rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
            display: none; /* Hide arrows by default */
        }

        .scroll-arrow:hover {
            background-color: var(--color-primary-red);
        }

        .left-arrow {
            left: -22px;
        }

        .right-arrow {
            right: -22px;
        }

        /* ----- 7. Card Styles ----- */

        /* Magazine Card (Row 1) - MODIFIED */
        .magazine-card {
            flex: 0 0 200px; /* MODIFIED: Matched mana-card width */
            aspect-ratio: 2 / 3; /* MODIFIED: Changed to portrait */
            border-radius: 8px;
            overflow: hidden;
            background-color: var(--color-surface);
            transition: transform 0.3s ease;
        }
        .magazine-card:hover {
            transform: scale(1.03);
        }
        .magazine-card-image {
            width: auto;
            height: 100%;
            object-fit: cover;
        }

        /* Mana Card (Rows 2, 3, 4) */
        .mana-card {
            flex: 0 0 200px; 
            aspect-ratio: 2 / 3;
            border-radius: 8px;
            overflow: hidden;
            background-color: var(--color-surface);
            position: relative;
            text-decoration: none;
        }

        .mana-card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.3s ease-out;
        }

        .mana-card-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.7);
            padding: 15px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            opacity: 0;
            transition: all 0.3s ease-out;
        }

        .mana-card-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 5px;
        }

        .mana-card-author {
            font-size: 0.9rem;
            color: #ddd;
        }

        /* Card Hover Effect */
        .mana-card:hover .mana-card-image {
            filter: blur(2px) brightness(0.7);
            transform: scale(1.05);
        }

        .mana-card:hover .mana-card-overlay {
            opacity: 1;
        }


        /* ----- 8. Footer ----- */
        .main-footer {
            background-color: var(--color-secondary-black);
            border-top: 1px solid #333;
            padding: 40px 20px;
            margin-top: 40px;
            position: relative;
            z-index: 2;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            text-align: left;
        }

        .footer-logo {
            width: 150px;
            margin-bottom: 20px;
        }

        .footer-column {
            display: flex;
            flex-direction: column;
        }

        .footer-column h4 {
            font-weight: 300;
            font-size: 1.1rem;
            margin-bottom: 15px;
            color: #fff;
        }

        .footer-column a,
        .footer-column p {
            color: var(--color-text-secondary);
            margin-bottom: 10px;
            font-size: 0.9rem;
        }

        .footer-column a:hover {
            color: #fff;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            font-size: 1.5rem;
            color: var(--color-text-secondary);
        }

        .social-links a:hover {
            color: var(--color-primary-red);
        }

        .footer-bottom {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #444;
            font-size: 0.9rem;
            font-weight: 300;
            color: var(--color-text-secondary);
        }

        /* ----- 9. Media Queries ----- */
        @media (max-width: 768px) {
            .logo-img-animated {
                height: 70px;
            }
            
            .scroll-arrow {
                display: none !important; 
            }

            .row-title-text {
                font-size: 1.8rem;
            }
            .row-title-logo {
                max-height: 70px;
            }

            /* MODIFIED */
            .magazine-card {
                flex: 0 0 160px; /* Matched mana-card */
            }
            .mana-card {
                flex: 0 0 160px;
            }

            .footer-container {
                grid-template-columns: 1fr;
                text-align: center;
            }
            .footer-logo {
                margin: 0 auto 20px;
            }
            .social-links {
                justify-content: center;
            }
        }

        /* ----- 10. Content Animations ----- */
        @keyframes slideUp {
            0% {
                opacity: 0;
                transform: translateY(50px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate-slide-up {
            opacity: 0;
            transform: translateY(50px);
            animation: slideUp 1s ease-out 0.8s forwards;
        }