/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7FB3D5;
    --secondary-color: #82E0AA;
    --accent-color: #D7BDE2;
    --dark-color: #2C3E50;
    --light-color: #F8F9FA;
    --text-color: #34495E;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dark Mode Variables - Improved Contrast */
[data-theme="dark"] {
    --primary-color: #64B5F6;     /* Daha parlak mavi */
    --secondary-color: #81C784;   /* Daha parlak yeşil */
    --accent-color: #BA68C8;      /* Daha parlak mor */
    --dark-color: #0D1117;        /* Daha koyu başlık rengi */
    --light-color: #161B22;       /* Daha koyu arka plan */
    --text-color: #F0F6FC;        /* Daha açık yazı */
    --bg-primary: #0D1117;        /* Ana arka plan - GitHub dark gibi */
    --bg-secondary: #161B22;      /* İkincil arka plan */
    --card-bg: #21262D;           /* Kart arka planı */
    --border-color: #30363D;      /* Sınır rengi */
    --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--light-color) 0%, #E8F4FD 100%);
    overflow-x: hidden;
    transition: var(--transition);
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(127, 179, 213, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

[data-theme="dark"] .header {
    background: rgba(13, 17, 23, 0.98);
    border-bottom: 1px solid rgba(48, 54, 61, 0.8);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    transform: scale(1);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition-fast);
}

.theme-toggle:hover::before {
    width: 100%;
    height: 100%;
}

.theme-toggle:hover {
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(127, 179, 213, 0.4);
}

.theme-toggle i {
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}

[data-theme="dark"] .theme-toggle {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

[data-theme="dark"] .theme-toggle:hover {
    box-shadow: 0 8px 25px rgba(72, 201, 176, 0.4);
}

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

[data-theme="dark"] .nav-logo h1 {
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-logo .fa-magic {
    color: var(--primary-color);
    animation: magic-glow 2s ease-in-out infinite alternate;
}

.nav-subtitle {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-left: 5px;
    transition: var(--transition-fast);
}

[data-theme="dark"] .nav-subtitle {
    color: #64B5F6;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

[data-theme="dark"] .nav-links a {
    color: #F0F6FC;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #0D1117 50%, var(--bg-secondary) 100%);
    color: var(--text-color);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-title-main {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-sub {
    display: block;
    color: var(--accent-color);
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
    transition: var(--transition-fast);
}

[data-theme="dark"] .hero-description {
    color: #C9D1D9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #5DADE2);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 179, 213, 0.3);
}

.btn-secondary {
    background: #2C3E50;
    color: white;
}

.btn-secondary:hover {
    background: #34495E;
    transform: translateY(-2px);
}

/* Character Design */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-container {
    display: flex;
    gap: 2rem;
    position: relative;
}

.character {
    position: relative;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.character:nth-child(2) {
    animation-delay: 1s;
}

.character-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(127, 179, 213, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

.character-body {
    width: 120px;
    height: 140px;
    position: relative;
}

.character-head {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    margin: 0 auto 10px;
    position: relative;
    border: 3px solid white;
    box-shadow: var(--shadow);
}

.character.com .character-head {
    background: linear-gradient(135deg, #7FB3D5, #85C1E9);
}

.character.mi .character-head {
    background: linear-gradient(135deg, #82E0AA, #AED6F1);
}

.character-eye {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 25px;
}

.character-eye.left {
    left: 20px;
}

.character-eye.right {
    right: 20px;
}

.character-mouth {
    width: 15px;
    height: 8px;
    border: 2px solid white;
    border-top: none;
    border-radius: 0 0 15px 15px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.character-torso {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #D7BDE2, #F8C471);
    border-radius: 30px 30px 15px 15px;
    margin: 0 auto;
    border: 3px solid white;
    box-shadow: var(--shadow);
}

.character.com .character-torso {
    background: linear-gradient(135deg, #D7BDE2, #F8C471);
}

.character.mi .character-torso {
    background: linear-gradient(135deg, #FADBD8, #D7BDE2);
}

.character-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 10px;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

[data-theme="dark"] .character-name {
    color: var(--text-color);
}

/* Background Pattern */
.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(127, 179, 213, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(130, 224, 170, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
    transition: var(--transition);
}

[data-theme="dark"] .features {
    background: var(--bg-primary);
    color: var(--text-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

[data-theme="dark"] .section-header h2 {
    color: var(--text-color);
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    transition: var(--transition-fast);
}

[data-theme="dark"] .section-header p {
    color: #C9D1D9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(127, 179, 213, 0.1);
}

[data-theme="dark"] .feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dark);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    transition: var(--transition-fast);
}

[data-theme="dark"] .feature-card h3 {
    color: var(--text-color);
}

[data-theme="dark"] .feature-card p {
    color: #C9D1D9;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transition: var(--transition);
}

[data-theme="dark"] .download {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #0D1117 50%, var(--bg-primary) 100%);
    color: var(--text-color);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.download-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    transition: var(--transition-fast);
}

.download-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    transition: var(--transition-fast);
}

[data-theme="dark"] .download-info h2 {
    color: var(--text-color);
}

[data-theme="dark"] .download-info p {
    color: #C9D1D9;
}

.download-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.download-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    transition: var(--transition-smooth);
}

[data-theme="dark"] .download-card {
    background: var(--card-bg);
    box-shadow: var(--shadow-dark);
    border: 1px solid var(--border-color);
}

.download-version {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.download-version h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.version-tag {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.download-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    transition: var(--transition-fast);
}

[data-theme="dark"] .download-details p {
    color: #C9D1D9;
}

.btn-download {
    width: 100%;
    justify-content: center;
    margin: 1.5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    transform: scale(1);
    position: relative;
    overflow: hidden;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 179, 213, 0.3);
}

.download-size {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-left: 8px;
}

.download-note {
    text-align: center;
    margin-top: 1rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
    transition: var(--transition);
}

[data-theme="dark"] .about {
    background: var(--bg-primary);
    color: var(--text-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

[data-theme="dark"] .about-text h2 {
    color: var(--text-color);
}

[data-theme="dark"] .about-text p {
    color: #C9D1D9;
}


.magic-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(127, 179, 213, 0.3);
    animation: rotate 20s linear infinite;
}

.circle-inner {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
    transition: var(--transition);
}

[data-theme="dark"] .footer {
    background: var(--bg-secondary);
    color: var(--text-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo p {
    color: #ccc;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px 0;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Animations */
@keyframes magic-glow {
    from {
        text-shadow: 0 0 10px rgba(127, 179, 213, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(127, 179, 213, 0.8), 0 0 30px rgba(127, 179, 213, 0.6);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow-pulse {
    from {
        opacity: 0.5;
        transform: scale(1);
    }
    to {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-container,
    .download-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-stats {
        flex-direction: column;
        gap: 1rem;
    }


    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .character-container {
        flex-direction: column;
        gap: 1rem;
    }

    .character-body {
        width: 100px;
        height: 120px;
    }

    .character-head {
        width: 70px;
        height: 70px;
    }

    .character-torso {
        width: 50px;
        height: 50px;
    }

    /* Screenshots Section */
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .screenshot-card {
        margin: 0 auto;
        max-width: 400px;
    }

    .multiplayer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .character-showcase {
        gap: 1.5rem;
    }

    .guide-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .character-card {
        text-align: center;
    }
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: white;
    transition: var(--transition);
}

[data-theme="dark"] .screenshots {
    background: var(--bg-primary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshot-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.screenshot-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.screenshot-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-fast);
}

.screenshot-card:hover img {
    transform: scale(1.1);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: var(--transition-fast);
}

.screenshot-card:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.screenshot-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Multiplayer Section */
.multiplayer {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-color) 0%, #E8F4FD 100%);
    transition: var(--transition);
}

[data-theme="dark"] .multiplayer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    color: var(--text-color);
}

.multiplayer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.multiplayer-guide {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    border: 1px solid rgba(127, 179, 213, 0.1);
}

[data-theme="dark"] .guide-step {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dark);
}

.guide-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

[data-theme="dark"] .step-content h3 {
    color: var(--text-color);
}

.step-content p {
    color: #666;
    line-height: 1.6;
    transition: var(--transition-fast);
}

[data-theme="dark"] .step-content p {
    color: #C9D1D9;
}

.character-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.character-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    border: 1px solid rgba(127, 179, 213, 0.1);
}

[data-theme="dark"] .character-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dark);
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.character-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

.character-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
}

.com-avatar {
    background: linear-gradient(135deg, #7FB3D5, #85C1E9);
}

.mi-avatar {
    background: linear-gradient(135deg, #82E0AA, #AED6F1);
}

.character-avatar .character-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: character-glow 2s ease-in-out infinite alternate;
}

.character-eyes {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.eye {
    width: 6px;
    height: 6px;
    background: #2C3E50;
    border-radius: 50%;
    position: relative;
}

.eye::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
}

.character-mouth {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    border: 2px solid #2C3E50;
    border-top: none;
    border-radius: 0 0 12px 12px;
    background: #FFB6C1;
}

.character-details {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    animation: bounce 2s ease-in-out infinite;
}

.strength-icon, .agility-icon {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-3px);
    }
    60% {
        transform: translateX(-50%) translateY(-1px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.character-display h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    transition: var(--transition-fast);
}

[data-theme="dark"] .character-display h4 {
    color: var(--text-color);
}

[data-theme="dark"] .character-info h5 {
    color: var(--secondary-color);
}

[data-theme="dark"] .character-info li {
    color: #C9D1D9;
}

.character-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

[data-theme="dark"] .character-info h5 {
    color: var(--secondary-color);
}

.character-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.character-info li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    transition: var(--transition-fast);
}

[data-theme="dark"] .character-info li {
    color: #BDC3C7;
}

.character-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Character animations */
@keyframes character-glow {
    from {
        opacity: 0.3;
        transform: scale(1);
    }
    to {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

