        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Arial, sans-serif;
            /*background-color: #f8f9fa;*/ 
           background-color: #032C52;
            color: #202122;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0px;
            background: rgba(255, 255, 255, 0);
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }

        .header {
            background: linear-gradient(135deg, #1f2937, #374151);
            color: white;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
        }

        .header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .header-quote {
            font-style: italic;
            font-size: 1.1em;
            color: #e5e7eb;
            margin-bottom: 5px;
        }

        .header-quote-source {
            font-size: 0.9em;
            color: #9ca3af;
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr 320px;
            background: rgba(255, 255, 255, 0);
            gap: 20px;
            margin-top: 20px;
        }

        .content-area {
            order: 1;
        }

        .sidebar {
            order: 2;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 0;
            align-self: start;
            top: 20px;
        }

        .sidebar-header {
            background: linear-gradient(135deg, #ce0404, #4F2940);
            color: white;
            text-align: center;
            padding: 15px;
            font-weight: bold;
            font-size: 1.1em;
            border-radius: 8px 8px 0 0;
        }
        
        .sidebar-quote {
            font-style: italic;
            font-size: 0.9em;
            color: black;
            padding: 8px 8px 0px 8px;
            margin-bottom: 5px;
            text-align: center;
        }

        .sidebar-quote-source {
            font-size: 0.7em;
            color: #9ca3af;
            text-align: right;
        }

        .character-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .info-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 6px;
            font-size: 0.8em;
        }

        .info-table th {
            background: #e2e8f0;
            padding: 8px;
            text-align: left;
            font-weight: 600;
            border-bottom: 1px solid #cbd5e1;
        }

        .info-table td {
            padding: 8px;
            border-bottom: 1px solid #e2e8f0;
        }

        .info-table tr:last-child td {
            border-bottom: none;
        }

        .category-section {
            background: #f1f5f9;
            border-left: 4px solid #3b82f6;
            padding: 15px;
            margin: 20px 0;
        }

        .category-section h2 {
            color: #1e40af;
            margin-bottom: 10px;
            font-size: 1.3em;
        }

        .category-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .category-tag {
            background: #3b82f6;
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.8em;
            text-decoration: none;
            transition: background-color 0.2s;
        }

        .category-tag:hover {
            background: #1d4ed8;
        }

        .content-section {
            font-size: 1em;
            font-weight: 400;
            margin-bottom: 30px;
        }

        .content-section h2 {
            background: linear-gradient(to right, #3b82f6, #e2e8f0);
            color: white;
            padding: 10px 15px;
            margin-bottom: 15px;
            border-radius: 5px;
        }

        .content-section h3 {
            color: #1e40af;
            margin: 20px 0 10px 0;
            padding-bottom: 5px;
            border-bottom: 2px solid #e2e8f0;
        }

        .content-section p {
            margin-bottom: 15px;
            text-align: justify;
        }

        .abilities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin: 15px 0;
        }

        .ability-card {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.8em;
            padding: 15px;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .ability-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .ability-card h4 {
            color: #1e40af;
            margin-bottom: 8px;
        }

        .trivia-list {
            background: #fef3c7;
            border-left: 4px solid #f59e0b;
            padding: 15px;
            margin: 15px 0;
        }

        .trivia-list h4 {
            color: #d97706;
            margin-bottom: 10px;
        }

        .trivia-list ul {
            padding-left: 20px;
        }

        .trivia-list li {
            margin-bottom: 8px;
        }

        .navigation-tabs {
            display: flex;
            background: #e2e8f0;
            border-radius: 8px 8px 0 0;
            margin: 20px 0 0 0;
            overflow-x: auto;
        }

        .nav-tab {
            background: none;
            border: none;
            padding: 12px 20px;
            cursor: pointer;
            transition: background-color 0.2s;
            white-space: nowrap;
            font-size: 0.9em;
        }

        .nav-tab.active {
            background: #3b82f6;
            color: white;
        }

        .nav-tab:hover:not(.active) {
            background: #cbd5e1;
        }

        .tab-content {
            background: white;
            border-top: none;
            padding: 40px;
            border-radius: 8px;
        }

        .timeline {
            position: relative;
            padding-left: 30px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 15px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #3b82f6;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 25px;
            padding: 15px;
            background: #f8fafc;
            border-radius: 8px;
            border-left: 4px solid #3b82f6;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -19px;
            top: 20px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #3b82f6;
        }

        .timeline-date {
            font-weight: bold;
            color: #1e40af;
            font-size: 0.9em;
        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 10px;
            margin: 15px 0;
        }

        .gallery img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .gallery img:hover {
            transform: scale(1.05);
        }
        

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            animation: fadeIn 0.3s;
        }

        .modal-content {
            position: relative;
            margin: auto;
            padding: 20px;
            width: 90%;
            max-width: 800px;
            max-height: 90%;
            top: 50%;
            transform: translateY(-50%);
            text-align: center;
        }

        .modal-image {
            max-width: 100%;
            max-height: 70vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }

        .modal-caption {
            color: white;
            font-size: 1.2em;
            margin-top: 15px;
            padding: 10px;
            background: rgba(0, 0, 0, 0.7);
            border-radius: 5px;
        }

        .close {
            position: absolute;
            top: 15px;
            right: 25px;
            color: white;
            font-size: 35px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s;
            z-index: 1001;
        }

        .close:hover {
            color: #3b82f6;
        }

        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.3);
            color: white;
            border: none;
            font-size: 24px;
            padding: 20px 10px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .modal-nav:hover {
            background: rgba(10, 10, 10, 0.5);
        }

        .modal-nav.prev {
            left: 20px;
        }

        .modal-nav.next {
            right: 20px;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }


        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }

            .main-content {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .sidebar {
                order: 1;
                position: static;
            }

            .content-area {
                order: 2;
            }

            .header h1 {
                font-size: 2em;
            }

            .navigation-tabs {
                flex-direction: column;
            }
            
            .tab-content {
              padding: 20px;
           }

            .abilities-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
          
            .container{
              padding: 0px;
            }
            
            .header {
              margin: 0px 0px 0px 0px;
              border-radius: 0px;
            }
              
            .header h1 {
              font-size: 1.5em;
            }
            
            .sidebar-header {

              font-weight: bold;
              font-size: 1.3em;
              border-radius: 0px;
          }
          
          .main-content {
              gap: 0px;
              margin-top: 0px;
         }

            .nav-tab {
              padding: 10px 15px;
            }
            
            .tab-content {
              padding: 20px;
              border-radius: 0px;
           }
           
           .tab-content p {
              font-size: 0.9em;
          }
          
           .sidebar {
              border-radius: 0px;
              padding: 0;
              top: 0px;
        }
         
         .info-table {
            margin-bottom: 0px;
            font-size: 1.1em;
        }
        
          .info-table th,
          .info-table td {
            padding: 8px 5px;
            font-size: 0.8em;
        }
    }