/* Desktop Layout - Content with fixed left margin and responsive right margin */
        /* Mobile responsive fixes */
        @media (max-width: 768px) {
            /* Removed - using external guide-base.css */
        }

        /* Dungeon Teams Guide Specific Styles */
        .guide-container {
            width: 100%;
            margin: 0;
           
        }

        .guide-section {
          
            margin-bottom: 30px;
        }

        /* Hero Card Styles for Dungeon Teams - HOCHKANT wie characterlist, 25% kleiner */
        .hero-card {
            position: relative;
            display: inline-block;
            width: 105px;
            height: 150px;
            margin: 0 6px 6px 0;
            transition: all 0.3s ease;
            border-radius: 4px;
            overflow: hidden;
        }

        /* Rarity-spezifische Gradient Backgrounds für 7kRebirth genau wie in characterlist */
        .hero-card.rarity-r {
            background: linear-gradient(135deg, #8A2BE2, #4B0082) !important; /* Lila Gradient für R */
        }

        .hero-card.rarity-l {
            background: linear-gradient(135deg, #FFD700, #FFA500) !important; /* Gelb Gradient für L */
        }

        .hero-card.rarity-l-plus {
            background: linear-gradient(135deg, #FFA500, #FF8C00) !important; /* Hell Orange Gradient für L+ und S+ */
        }

        .hero-card.rarity-l-plus-plus {
            background: linear-gradient(135deg, #FF4500, #FF6347) !important; /* Dunkel Orange Gradient für L++ */
        }

        .hero-card.rarity-s-plus {
            background: linear-gradient(135deg, #FFA500, #FF8C00) !important; /* Hell Orange Gradient für S+ (gleich wie L+) */
        }

        .hero-card img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            border-radius: 6px;
            z-index: 1;
            transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            image-rendering: -webkit-optimize-contrast;
            backface-visibility: hidden;
            perspective: 1000px;
            will-change: transform;
        }

        .hero-card img:hover {
            transform: scale(1.08);
            filter: contrast(1.1);
            image-rendering: -webkit-optimize-contrast;
        }

        /* Hero Name Overlay wie in characterlist, 25% kleiner */
        .hero-name-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
            color: white;
            padding: 9px 3px 6px;
            text-align: center;
            font-weight: bold;
            font-size: 0.825rem;
            z-index: 25;
            transition: opacity 0.3s ease;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
            -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.6);
        }

        /* Hintergrund-Verzierungen für spezifische Raritäten basierend auf JSON */
        .hero-card.rarity-l-plus-plus::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 55px;
            height: 55px;
            background-image: url('https://ik.imagekit.io/frnrxcqkq/7krebirth/LPlusPlusBorder.png');
            background-size: contain;
            background-repeat: no-repeat;
            z-index: 30;
        }

        .hero-card.rarity-l-plus::after,
        .hero-card.rarity-s-plus::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 55px;
            height: 55px;
            background-image: url('https://ik.imagekit.io/frnrxcqkq/7krebirth/LPlusBorder.png');
            background-size: contain;
            background-repeat: no-repeat;
            z-index: 30;
        }

        /* L und R Charaktere bekommen keine Border-Verzierung */

        /* Hero Type Icon oben links */
        .hero-type-icon {
            position: absolute;
            top: 0px;
            left: 0px;
            width: 18px;
            height: 18px;
            z-index: 24;
            border-radius: 4px 0px 4px 0px;
            padding: 2px;
        }

        .hero-type-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        /* Guide Card Styles */
        .guide-highlight {
            margin: 20px 0;
            text-align: left;
        }

        .guide-highlight strong {
            color: #7a5af8a1;
        }

        strong {
            color: #e6e6e6;
        }

        .guide-section h2 {
            color: rgb(230, 230, 230);
            font-size: 1.8rem;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .guide-section h3 {
            color: #e6e6e6;
            font-size: 1.4rem;
            margin: 25px 0 15px 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .guide-section h4 {
            color: #e6e6e6;
            font-size: 1.2rem;
            margin: 20px 0 10px 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .guide-section p {
            color: #e6e6e6;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .guide-section li {
            color: #e6e6e6;
            line-height: 1.6;
            margin-bottom: 8px;
        }

        .tier-section {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            padding: 15px;
            margin: 15px 0;
        }

        .tier-title {
            color: #ffd93d;
            font-size: 1.1rem;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .hero-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }


        @media (max-width: 768px) {
            .guide-container {
              
            }

            .guide-section {
                padding: 15px;
            }

            .guide-section h2 {
                font-size: 1.5rem;
            }

            .hero-card {
                width: 70px;
                height: 70px;
            }

            .content-index {
                padding: 25px 15px;
                margin: 25px 0;
            }

            .index-header h3 {
                font-size: 1.5rem;
            }

            .index-header p {
                font-size: 0.9rem;
            }

            .dungeon-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .dungeon-card a {
                padding: 20px 15px;
            }

            .dungeon-name {
                font-size: 1.15rem;
            }

            .dungeon-header img {
                width: 300px;
                height: 150px;
            }
        }

        /* Dungeon specific styles */
        .dungeon-header {
            text-align: center;
            margin: 60px 0 30px 0;
            padding: 0;
        }

        .dungeon-header img {
            width: 375px;
            height: 187px;
            object-fit: contain;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .dungeon-header h2 {
            color: #e6e6e6;
            font-size: 2.5rem;
            margin: 0;
            font-weight: bold;
        }

        .content-index {
            padding: 40px 20px;
            margin: 40px 0;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .index-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .index-header h3 {
            color: #e6e6e6;
            margin-bottom: 8px;
            font-size: 1.8rem;
            font-weight: bold;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        .index-header p {
            color: #7a5af8a1;
            margin: 0;
            font-size: 1rem;
            font-style: italic;
            opacity: 0.9;
        }

        .dungeon-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 15px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .dungeon-card {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .dungeon-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(122, 90, 248, 0.15);
            border-color: rgba(122, 90, 248, 0.3);
        }

        .dungeon-link {
            display: block;
            padding: 25px 20px;
            text-decoration: none;
            color: inherit;
            transition: all 0.3s ease;
            scroll-behavior: smooth;
        }

        .dungeon-link:hover {
            background: rgba(122, 90, 248, 0.08);
            transform: translateY(-2px);
        }

        .dungeon-name {
            color: #e6e6e6;
            font-size: 1.25rem;
            font-weight: 600;
            text-align: center;
            margin: 0;
        }

/* 7k Rebirth Dungeon Teams Styles */

        .tier-list-container h1 {
            text-align: center;
            color: #e0e0e0;
            margin-bottom: 30px;
            font-size: 2.5rem;
        }

        .page-description {
            text-align: center;
            color: #e0e0e0;
            font-size: 1.1rem;
            margin-bottom: 40px;
            opacity: 0.8;
        }

        /* Dungeon Selection Banners */
        .dungeon-selection {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

        .dungeon-banner {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 3px solid transparent;
            background: rgba(255, 255, 255, 0.02);
        }

        .dungeon-banner:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(122, 90, 248, 0.3);
        }

        .dungeon-banner.active {
            border-color: #7a5af8a1;
            box-shadow: 0 0 20px rgba(122, 90, 248, 0.5);
        }

        .dungeon-banner img {
            width: 100%;
            height: 128px;
            object-fit: cover;
            display: block;
        }

        .dungeon-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 15px;
        }

        .dungeon-overlay h3 {
            color: white;
            margin: 0 0 5px 0;
            font-size: 1.2rem;
            font-weight: 600;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        }

        .dungeon-overlay p {
            color: white;
            margin: 0;
            font-size: 0.9rem;
            opacity: 0.9;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        /* Team Sections */
        .team-section {
            margin-bottom: 30px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .team-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .team-section h3 {
            color: white;
            margin: 0 0 20px 0;
            font-size: 1.4rem;
            font-weight: 600;
            text-align: center;
        }

        /* Character Slots */
        .team-composition-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 8px;
            justify-items: center;
        }

        .character-portrait {
            width: 100px;
            height: 125px;
            border-radius: 10px;
            position: relative;
            overflow: hidden;
            border: 2px solid rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
        }

        .character-portrait:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .character-role-icon {
            position: absolute;
            top: 0;
            left: 0;
            width: 20px;
            height: 20px;
            background: rgba(255, 255, 255, 0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0;
            border: 2px solid rgba(0, 0, 0, 0.3);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            z-index: 10;
        }

        .character-role-icon img {
            width: 16px;
            height: 16px;
            object-fit: contain;
        }

        .character-portrait img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }

        .character-name {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
            color: white;
            text-align: center;
            font-size: 0.75rem;
            font-weight: bold;
            padding: 3px;
            border-radius: 0 0 8px 8px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        }

        /* Rarity Backgrounds */
        .rarity-R {
            background: linear-gradient(135deg, #8A2BE2, #4B0082) !important;
            border-color: #9932CC;
        }

        .rarity-L {
            background: linear-gradient(135deg, #FFD700, #FFA500) !important;
            border-color: #FF8C00;
        }

        .rarity-LPlus {
            background: linear-gradient(135deg, #FFA500, #FF8C00) !important;
            border-color: #FF7F00;
        }

        .rarity-LPlusPlus {
            background: linear-gradient(135deg, #FF4500, #FF6347) !important;
            border-color: #FF4500;
        }

        /* Responsive Design */
        @media (max-width: 1400px) {
            .dungeon-selection {
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
                gap: 15px;
            }

            .dungeon-banner img {
                height: 110px;
            }

            .dungeon-overlay h3 {
                font-size: 1.1rem;
            }

            .dungeon-overlay p {
                font-size: 0.8rem;
            }
        }

        @media (max-width: 1200px) {
            .dungeon-selection {
                grid-template-columns: repeat(3, 1fr);
                gap: 15px;
            }

            .dungeon-banner img {
                height: 100px;
            }

            .team-composition-grid {
                grid-template-columns: repeat(5, 1fr);
                gap: 6px;
            }

            .character-portrait {
                width: 85px;
                height: 105px;
            }

            .character-name {
                font-size: 0.65rem;
                padding: 2px;
            }

            .character-role-icon {
                width: 18px;
                height: 18px;
            }

            .character-role-icon img {
                width: 14px;
                height: 14px;
            }
        }

        @media (max-width: 768px) {
            .dungeon-selection {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }

            .dungeon-banner img {
                height: 90px;
            }

            .dungeon-overlay h3 {
                font-size: 1rem;
            }

            .dungeon-overlay p {
                font-size: 0.75rem;
            }

            .team-section {
                padding: 15px;
            }

            .team-section h3 {
                font-size: 1.2rem;
            }

            .team-composition-grid {
                grid-template-columns: repeat(5, 1fr);
                gap: 4px;
            }

            .character-portrait {
                width: 75px;
                height: 95px;
            }

            .character-name {
                font-size: 0.6rem;
                padding: 1px;
            }

            .character-role-icon {
                width: 16px;
                height: 16px;
            }

            .character-role-icon img {
                width: 12px;
                height: 12px;
            }
        }

        @media (max-width: 480px) {
            .tier-list-container h1 {
                font-size: 2rem;
            }

            .page-description {
                font-size: 1rem;
                padding: 0 10px;
            }

            .dungeon-selection {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .dungeon-banner img {
                height: 80px;
            }

            .dungeon-overlay h3 {
                font-size: 0.9rem;
            }

            .dungeon-overlay p {
                font-size: 0.7rem;
            }

            .team-section h3 {
                font-size: 1.1rem;
            }

            .team-composition-grid {
                grid-template-columns: repeat(5, 1fr);
                gap: 3px;
            }

            .character-portrait {
                width: 65px;
                height: 80px;
            }

            .character-name {
                font-size: 0.55rem;
                padding: 1px;
            }

            .character-role-icon {
                width: 14px;
                height: 14px;
            }

            .character-role-icon img {
                width: 10px;
                height: 10px;
            }

            .dungeon-header img {
                width: 250px;
                height: 125px;
            }
        }

        /* Back to Home Button */
        /* Content container image styling */
        .content-container img {
            max-width: 100%;
        }


