/* ==================== ROOT & GLOBAL ==================== */
:root {
    --primary-color: #ff006e;
    --secondary-color: #00f5ff;
    --dark-bg: #0a0e27;
    --darker-bg: #050811;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-color: #ffd700;
    --success-color: #00ff88;
    --warning-color: #ff6b00;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== UTILITIES ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 0, 110, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 0, 110, 0.8);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 0, 110, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f4a 50%, #0a0e27 100%);
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: float 20s infinite;
    animation-delay: var(--delay);
    box-shadow: 0 0 20px var(--secondary-color);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ff006e, #00f5ff, #ff006e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
    }
    50% {
        text-shadow: 0 0 50px rgba(255, 0, 110, 0.8), 0 0 80px rgba(0, 245, 255, 0.5);
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), #ff3388);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.4);
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}

/* ==================== FEATURED CHARACTER ==================== */
.featured-character {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #1a1f4a 0%, #0a0e27 100%);
    position: relative;
}

.featured-content {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.character-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255, 0, 110, 0.05);
    padding: 3rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 0, 110, 0.2);
    transition: var(--transition);
}

.character-card:hover {
    border-color: rgba(255, 0, 110, 0.5);
    box-shadow: 0 10px 40px rgba(255, 0, 110, 0.2);
}

.character-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-avatar {
    font-size: 10rem;
    animation: bounceCharacter 3s ease-in-out infinite;
}

@keyframes bounceCharacter {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.character-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.character-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.character-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.stat-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 110, 0.3);
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    transition: var(--transition);
}

/* ==================== CHARACTERS SECTION ==================== */
.characters {
    padding: 6rem 2rem;
    background: var(--dark-bg);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.character-card-small {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(0, 245, 255, 0.1));
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(255, 0, 110, 0.2);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.character-card-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition);
}

.character-card-small:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
}

.character-card-small:hover::before {
    left: 100%;
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    color: var(--primary-color);
}

.character-card-small:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
}

.character-card-small h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.character-card-small p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-grow: 1;
}

/* ==================== GAMEPLAY FEATURES ==================== */
.gameplay {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--darker-bg) 0%, #1a1f4a 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 0, 110, 0.05);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(255, 0, 110, 0.2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card:hover {
    background: rgba(255, 0, 110, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
    color: var(--primary-color);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(-10deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.feature-card .btn-small {
    margin-top: auto;
}

/* ==================== CHARACTER GUIDES ==================== */
.character-guides {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #1a1f4a 0%, var(--darker-bg) 100%);
}

.guides-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    position: sticky;
    top: 80px;
    background: rgba(10, 14, 39, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.tab-btn {
    padding: 0.8rem 1.8rem;
    background: rgba(255, 0, 110, 0.1);
    color: var(--text-color);
    border: 2px solid rgba(255, 0, 110, 0.3);
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary-color);
    background: rgba(255, 0, 110, 0.2);
}

.tab-btn.active {
    background: linear-gradient(90deg, var(--primary-color), #ff3388);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.5);
}

.guide-content {
    display: none;
    animation: fadeInGuide 0.5s ease-out forwards;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-content.active {
    display: block;
}

@keyframes fadeInGuide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 0, 110, 0.08);
    padding: 3rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 0, 110, 0.2);
    margin-bottom: 3rem;
}

.guide-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-icon {
    font-size: 6rem;
    animation: floatIcon 3s ease-in-out infinite;
}

.character-icon.large {
    font-size: 8rem;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.guide-title-section h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.guide-subtitle {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.guide-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.guide-tags span {
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tag-difficulty {
    background: rgba(255, 107, 0, 0.2);
    color: #ff6b00;
    border: 1px solid #ff6b00;
}

.tag-style {
    background: rgba(255, 0, 110, 0.2);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.tag-range {
    background: rgba(0, 245, 255, 0.2);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.guide-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.guide-column {
    background: rgba(0, 245, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid rgba(0, 245, 255, 0.2);
    transition: var(--transition);
}

.guide-column:hover {
    border-color: var(--primary-color);
    background: rgba(255, 0, 110, 0.08);
    transform: translateY(-5px);
}

.guide-column h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 0, 110, 0.3);
}

.strengths-list,
.weaknesses-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.strengths-list li,
.weaknesses-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.strengths-list li {
    border-left-color: var(--success-color);
}

.weaknesses-list li {
    border-left-color: var(--warning-color);
}

.combo-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.combo-item {
    background: rgba(255, 0, 110, 0.05);
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.combo-name {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.combo-input {
    color: var(--accent-color);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-word;
}

.playstyle-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ==================== RESPONSIVE GUIDES ==================== */
@media (max-width: 768px) {
    .guide-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .guides-tabs {
        gap: 0.5rem;
        position: relative;
        top: 0;
    }

    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .character-icon {
        font-size: 4rem;
    }

    .character-icon.large {
        font-size: 6rem;
    }

    .guide-title-section h3 {
        font-size: 1.8rem;
    }

    .guide-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .guide-tags {
        gap: 0.5rem;
    }

    .guide-tags span {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .tab-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
    }
}

/* ==================== TOURNAMENTS ==================== */
.tournaments {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #1a1f4a 0%, var(--darker-bg) 100%);
}

.tournament-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.tournament-card {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(255, 0, 110, 0.1));
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid rgba(0, 245, 255, 0.2);
    position: relative;
    transition: var(--transition);
}

.tournament-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.3);
}

.tournament-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.tournament-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.tournament-date {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tournament-prize {
    color: var(--success-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.tournament-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

/* ==================== STATS SECTION ==================== */
.stats {
    padding: 4rem 2rem;
    background: linear-gradient(90deg, rgba(255, 0, 110, 0.1), rgba(0, 245, 255, 0.1));
    border-top: 2px solid rgba(255, 0, 110, 0.3);
    border-bottom: 2px solid rgba(255, 0, 110, 0.3);
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--darker-bg) 0%, #1a1f4a 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(255, 0, 110, 0.05);
    border: 2px solid rgba(255, 0, 110, 0.2);
    border-radius: 5px;
    color: var(--text-color);
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 0, 110, 0.3);
}

.contact-info {
    background: rgba(0, 245, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid rgba(0, 245, 255, 0.2);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 0, 110, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid rgba(255, 0, 110, 0.3);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.4);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--darker-bg);
    padding: 2rem;
    text-align: center;
    border-top: 2px solid var(--primary-color);
    color: var(--text-secondary);
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .character-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .character-avatar {
        font-size: 6rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .characters-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .featured-content h2 {
        font-size: 1.8rem;
    }

    .character-info h3 {
        font-size: 1.8rem;
    }
}
