/* ============================= */
/* betmatch Strategy Portal CSS */
/* ============================= */

:root {
    --primary-dark: #0f0a1a;
    --accent-purple: #7c3aed;
    --accent-light: #a78bfa;
    --text-light: #f0f0f0;
    --text-muted: #a0a0a0;
    --border-color: #2a2535;
    --card-bg: #1a1525;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================= */
/* CONTAINER & LAYOUT */
/* ============================= */

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

/* ============================= */
/* NAVIGATION */
/* ============================= */

.navbar {
    position: sticky;
    top: 0;
    background: rgba(15, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-purple);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--accent-light);
    text-shadow: 0 0 20px var(--accent-purple);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-purple);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-light);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--accent-purple);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 1rem;
        background: rgba(15, 10, 26, 0.99);
        backdrop-filter: blur(10px);
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-links a {
        font-size: 1.1rem;
    }
}

/* ============================= */
/* HERO SECTION */
/* ============================= */

.hero {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 60px;
    animation: slideUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.character-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.character-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.character-card:nth-child(1) { }
.character-card:nth-child(2) { }
.character-card:nth-child(3) { }
.character-card:nth-child(4) { }

.character-card:hover {
    border-color: var(--accent-purple);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(124, 58, 237, 0.05) 100%);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.char-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.character-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

.character-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================= */
/* SECTION TITLES */
/* ============================= */

.section-title {
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ============================= */
/* BUILDS SECTION */
/* ============================= */

.builds-section {
    padding: 80px 0;
    position: relative;
}

.builds-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.builds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.build-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(124, 58, 237, 0.08) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.build-card:nth-child(1) { }
.build-card:nth-child(2) { }
.build-card:nth-child(3) { }

.build-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
    transform: translateY(-5px);
}

.build-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.build-header h3 {
    color: var(--accent-light);
    font-size: 1.3rem;
    flex: 1;
}

.build-difficulty {
    background: rgba(124, 58, 237, 0.2);
    color: var(--accent-light);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    margin-left: 1rem;
}

.build-stats {
    margin-bottom: 1.5rem;
}

.stat {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 1rem;
}

.stat-label {
    min-width: 110px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-bar {
    flex: 1;
    height: 6px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-light));
    border-radius: 3px;
}

.build-content h4 {
    color: var(--accent-light);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.build-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.build-content strong {
    color: var(--accent-light);
}

.skill-tree-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.skill-tree-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.image-caption {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

/* ============================= */
/* BEGINNER GUIDE SECTION */
/* ============================= */

.beginner-guide {
    padding: 80px 0;
    background: radial-gradient(circle at 50% 100%, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
}

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

.tip-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(124, 58, 237, 0.08) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.tip-card:nth-child(odd) { }
.tip-card:nth-child(even) { }

.tip-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
    transform: translateY(-5px);
}

.tip-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.tip-card h4 {
    color: var(--accent-light);
    margin-top: 1rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.tip-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.keybinds-section {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, var(--card-bg) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.keybinds-section h3 {
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.keybind {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.keybind:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--accent-purple);
}

.key {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-light));
    color: var(--primary-dark);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    min-width: 50px;
    text-align: center;
}

.action {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================= */
/* ADVANCED COMBAT SECTION */
/* ============================= */

.advanced-combat {
    padding: 80px 0;
}

.combos-section {
    margin-bottom: 4rem;
}

.combos-section h3 {
    color: var(--accent-light);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.combos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.combo-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(124, 58, 237, 0.08) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.combo-card:nth-child(1) { }
.combo-card:nth-child(2) { }
.combo-card:nth-child(3) { }
.combo-card:nth-child(4) { }
.combo-card:nth-child(5) { }

.combo-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

.combo-card h4 {
    color: var(--accent-light);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.combo-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.positioning-guide,
.ability-rotation {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, var(--card-bg) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.positioning-guide h3,
.ability-rotation h3 {
    color: var(--accent-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.positioning-guide > p,
.ability-rotation > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.positioning-tips {
    list-style: none;
    margin-bottom: 1.5rem;
}

.positioning-tips li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    padding-left: 1.5rem;
    position: relative;
}

.positioning-tips li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: bold;
}

.rotation-table {
    display: grid;
    gap: 1rem;
}

.rotation-item {
    background: rgba(124, 58, 237, 0.05);
    border-left: 3px solid var(--accent-purple);
    padding: 1rem;
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.rotation-item strong {
    color: var(--accent-light);
}

.tactical-map-container {
    text-align: center;
    margin-top: 3rem;
}

.tactical-map-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

/* ============================= */
/* VIDEO CENTER SECTION */
/* ============================= */

.video-center {
    padding: 80px 0;
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
}

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

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-card:nth-child(1) { }
.video-card:nth-child(2) { }
.video-card:nth-child(3) { }
.video-card:nth-child(4) { }
.video-card:nth-child(5) { }

.video-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
    transform: translateY(-10px);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.difficulty-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.difficulty-badge.easy {
    background: rgba(34, 197, 94, 0.8);
    color: white;
}

.difficulty-badge.intermediate {
    background: rgba(249, 115, 22, 0.8);
    color: white;
}

.difficulty-badge.expert {
    background: rgba(239, 68, 68, 0.8);
    color: white;
}

.duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    color: var(--accent-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.difficulty-text {
    color: var(--accent-purple);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================= */
/* FOOTER */
/* ============================= */

.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================= */
/* ANIMATIONS */
/* ============================= */

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

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

.fade-in {
    animation: fadeIn 0.6s ease-out forwards !important;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

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

    .character-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

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

    .character-grid,
    .builds-grid,
    .tips-grid,
    .combos-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .keybinds-grid {
        grid-template-columns: 1fr;
    }

    .keybind {
        flex-wrap: wrap;
    }

    .key {
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

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

    .logo {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .character-card,
    .build-card,
    .tip-card,
    .combo-card,
    .video-card {
        padding: 1.5rem;
    }

    .tip-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
