:root {
            --primary: #4a00e0;
            --secondary: #8e2de2;
            --accent: #ff3c78;
            --dark: #1a1a2e;
            --light: #f8f9fa;
            --gray: #6c757d;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        body {
            background-color: #f5f7ff;
            color: #333;
            line-height: 1.7;
            overflow-x: hidden;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent);
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, var(--dark), #16213e);
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .my-logo {
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(to right, #fff, var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .my-logo:hover {
            transform: scale(1.03);
        }
        .search-bar {
            display: flex;
            flex-grow: 1;
            max-width: 400px;
            margin: 0 2rem;
        }
        .search-bar input {
            flex-grow: 1;
            padding: 10px 15px;
            border: none;
            border-radius: 50px 0 0 50px;
            outline: none;
        }
        .search-bar button {
            background: var(--accent);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 0 50px 50px 0;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-bar button:hover {
            background: #ff1c5e;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }
        nav ul li a {
            color: white;
            font-weight: 600;
            padding: 8px 12px;
            border-radius: 5px;
        }
        nav ul li a:hover {
            background: rgba(255, 255, 255, 0.1);
            color: var(--accent);
        }
        .breadcrumb {
            padding: 1rem 0;
            background: #e9ecef;
            color: var(--gray);
            font-size: 0.9rem;
        }
        .breadcrumb a {
            color: var(--primary);
        }
        main {
            padding: 2rem 0;
            background: white;
            border-radius: 10px;
            box-shadow: var(--shadow);
            margin: 2rem auto;
            overflow: hidden;
        }
        article {
            padding: 0 2rem;
        }
        h1, h2, h3, h4 {
            color: var(--dark);
            margin-top: 2rem;
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        h1 {
            font-size: 2.8rem;
            border-bottom: 3px solid var(--accent);
            padding-bottom: 0.5rem;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        h2 {
            font-size: 2.2rem;
            color: var(--primary);
            border-left: 5px solid var(--accent);
            padding-left: 15px;
        }
        h3 {
            font-size: 1.8rem;
            color: var(--secondary);
        }
        h4 {
            font-size: 1.4rem;
            color: var(--dark);
        }
        p {
            margin-bottom: 1.2rem;
            font-size: 1.1rem;
            text-align: justify;
        }
        .intro {
            font-size: 1.2rem;
            background: linear-gradient(to right, #f8f9fa, #e9ecef);
            padding: 1.5rem;
            border-radius: 10px;
            margin: 2rem 0;
            border-left: 4px solid var(--accent);
        }
        .character-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        .character-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
        }
        .character-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        .character-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-bottom: 3px solid var(--accent);
        }
        .character-info {
            padding: 1.5rem;
        }
        .faction-badge {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-bottom: 10px;
        }
        .stats {
            display: flex;
            justify-content: space-around;
            background: #f8f9fa;
            padding: 1rem;
            border-radius: 8px;
            margin-top: 1rem;
        }
        .stat {
            text-align: center;
        }
        .stat i {
            color: var(--accent);
            font-size: 1.5rem;
            margin-bottom: 5px;
        }
        .highlight {
            background: linear-gradient(120deg, rgba(255, 60, 120, 0.1) 0%, rgba(142, 45, 226, 0.1) 100%);
            padding: 1.5rem;
            border-radius: 10px;
            border-left: 4px solid var(--accent);
            margin: 1.5rem 0;
        }
        .quote {
            font-style: italic;
            font-size: 1.2rem;
            color: var(--secondary);
            text-align: center;
            padding: 2rem;
            background: #f8f9fa;
            border-radius: 10px;
            margin: 2rem 0;
            position: relative;
        }
        .quote::before, .quote::after {
            content: '"';
            font-size: 3rem;
            color: var(--accent);
            opacity: 0.3;
            position: absolute;
        }
        .quote::before {
            top: 10px;
            left: 20px;
        }
        .quote::after {
            bottom: 10px;
            right: 20px;
        }
        .img-container {
            margin: 2rem auto;
            text-align: center;
        }
        .content-img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease;
        }
        .content-img:hover {
            transform: scale(1.02);
        }
        .caption {
            font-size: 0.9rem;
            color: var(--gray);
            margin-top: 10px;
            font-style: italic;
        }
        .interactive-section {
            background: linear-gradient(135deg, #1a1a2e, #16213e);
            color: white;
            padding: 3rem;
            border-radius: 15px;
            margin: 3rem 0;
            text-align: center;
        }
        .interactive-section h2 {
            color: white;
            border: none;
        }
        .rating {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 1.5rem 0;
            font-size: 2rem;
            color: #ffd700;
        }
        .star {
            cursor: pointer;
            transition: var(--transition);
        }
        .star:hover {
            transform: scale(1.2);
            color: #ffed4e;
        }
        .form-group {
            margin-bottom: 1.5rem;
            text-align: left;
        }
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: var(--transition);
        }
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: var(--accent);
            outline: none;
        }
        button[type="submit"] {
            background: linear-gradient(to right, var(--accent), #ff6b9d);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        button[type="submit"]:hover {
            background: linear-gradient(to right, #ff1c5e, #ff8ab0);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(255, 60, 120, 0.3);
        }
        .update-time {
            text-align: right;
            font-size: 0.9rem;
            color: var(--gray);
            padding: 1rem;
            border-top: 1px solid #eee;
            margin-top: 3rem;
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-section h3 {
            color: white;
            border-bottom: 2px solid var(--accent);
            padding-bottom: 10px;
            margin-bottom: 1.5rem;
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 10px;
        }
        .footer-links a {
            color: #ddd;
        }
        .footer-links a:hover {
            color: var(--accent);
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background: rgba(255, 255, 255, 0.05);
            padding: 1rem;
            border-radius: 8px;
            margin: 10px 0;
            transition: var(--transition);
        }
        friend-link:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(5px);
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: #aaa;
        }
        @media (max-width: 992px) {
            h1 { font-size: 2.4rem; }
            h2 { font-size: 2rem; }
            .search-bar { max-width: 300px; }
            nav ul { gap: 1rem; }
        }
        @media (max-width: 768px) {
            .header-top { flex-direction: column; align-items: flex-start; }
            .search-bar { max-width: 100%; margin: 1rem 0; order: 3; width: 100%; }
            .hamburger { display: block; position: absolute; top: 1.5rem; right: 20px; }
            nav ul {
                display: none;
                flex-direction: column;
                width: 100%;
                background: rgba(26, 26, 46, 0.95);
                padding: 1rem;
                border-radius: 10px;
                margin-top: 1rem;
            }
            nav ul.active { display: flex; }
            .character-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
            article { padding: 0 1rem; }
            .interactive-section { padding: 2rem 1rem; }
        }
        @media (max-width: 480px) {
            h1 { font-size: 2rem; }
            h2 { font-size: 1.7rem; }
            .my-logo { font-size: 1.8rem; }
            .character-grid { grid-template-columns: 1fr; }
            .stats { flex-direction: column; gap: 1rem; }
        }
