
:root {
    --bg-color: #010409;
    --primary-color: #33A1FF;
    --secondary-color: #0D1117;
    --border-color: #21262d;
    --glow-color: rgba(51, 161, 255, 0.7);
    --text-color: #e6edf3;
    --text-muted-color: #7d8590;
    --font-heading: 'Noto Serif JP', serif;
    --font-body: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
    background-image: url('https://images.alphacoders.com/876/876357.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow-x: hidden;
}


.fog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, rgba(1, 4, 9, 0.6) 0%, rgba(1, 4, 9, 0.9) 70%, var(--bg-color) 100%),
                radial-gradient(circle, rgba(13, 17, 23, 0.2) 0%, rgba(13, 17, 23, 0.8) 100%);
    z-index: -1;
    animation: fog-animation 40s linear infinite alternate;
}

@keyframes fog-animation {
    0% { transform: scale(1.1) translate(0, 0); }
    100% { transform: scale(1.3) translate(20px, -30px); }
}

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


.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}




header { text-align: center; padding: 80px 20px; }
.jp-decoration {
    font-family: var(--font-heading);
    color: var(--primary-color);
    opacity: 0.5;
    font-size: 1.2rem;
    letter-spacing: 2px;
}
header h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: #fff;
    text-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color);
    margin: 10px 0;
}
header .quote { font-style: italic; color: var(--text-muted-color); font-size: 1.1rem; }


.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}
.section-title span { color: var(--primary-color); font-weight: bold; margin-right: 10px; }
.subsection-title {
    font-family: var(--font-heading);
    color: var(--text-color);
    text-align: center;
    font-size: 1.8rem;
    margin: 60px 0 30px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}


#intro { display: flex; align-items: center; gap: 50px; }
#intro .intro-content { flex: 1; }
#intro .intro-image { flex: 1; position: relative; }
#intro .intro-image img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
}
#intro .intro-image::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s ease;
    z-index: -1;
    filter: blur(5px);
}
#intro:hover .intro-image img { border-color: var(--primary-color); }
#intro:hover .intro-image::after { opacity: 0.7; transform: scale(1); }


.runes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.rune-page { background: var(--secondary-color); border: 1px solid var(--border-color); border-radius: 8px; padding: 25px; text-align: center; transition: all 0.3s ease; }
.rune-page:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: 0 0 20px var(--glow-color); }
.rune-page h3 { font-family: var(--font-heading); margin-bottom: 5px; color: #fff; }
.rune-stats { color: var(--text-muted-color); font-size: 0.9rem; margin-bottom: 20px; }
.rune-tree { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 20px; }
.rune-tree img { width: 50px; height: 50px; background: #000; border-radius: 50%; transition: transform 0.3s ease; }
.rune-tree .keystone { width: 64px; height: 64px; }
.rune-tree img:hover { transform: scale(1.15); }
.rune-desc { font-size: 0.95rem; }


.filter-buttons { text-align: center; margin-bottom: 40px; }
.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted-color);
    padding: 12px 24px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
}
.filter-btn:hover { color: #fff; border-color: var(--primary-color); }
.filter-btn.active { color: #fff; background-color: var(--primary-color); border-color: var(--primary-color); box-shadow: 0 0 15px var(--glow-color); }

.matchup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 25px; }
.matchup-card {
    background: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    display: block; 
}

.matchup-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    background: conic-gradient(from 180deg at 50% 50%, var(--primary-color), #0f121a, #0f121a, var(--primary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.matchup-card:hover::before { opacity: 1; }
.matchup-card:hover { transform: translateY(-5px); }

.card-header { display: flex; align-items: center; gap: 15px; background: rgba(0,0,0,0.2); padding: 15px; border-bottom: 1px solid var(--border-color); }
.card-header img { width: 50px; height: 50px; border-radius: 50%; }
.card-title h3 { font-family: var(--font-heading); color: #fff; margin: 0; }
.winrate { font-size: 0.9rem; color: var(--primary-color); }
.card-body { padding: 15px; font-size: 0.95rem; color: var(--text-muted-color); }


.build-core { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 50px; }
.build-path { background: var(--secondary-color); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; text-align: center; }
.build-path h4 { color: #fff; margin-bottom: 20px; }
.item-sequence { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 15px; }
.item-sequence img { width: 52px; height: 52px; border-radius: 5px; }
.item-sequence span { color: var(--primary-color); font-size: 1.5rem; }

.situational-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.item-card { text-align: center; }
.item-card img { width: 64px; height: 64px; border-radius: 5px; margin-bottom: 10px; border: 2px solid var(--border-color); transition: all 0.3s ease; }
.item-card:hover img { border-color: var(--primary-color); transform: scale(1.1); }
.item-card h4 { color: #fff; margin-bottom: 5px; font-size: 1rem; }
.item-card p { font-size: 0.9rem; color: var(--text-muted-color); }



.combo-list .combo-item {
    background: linear-gradient(rgba(13, 17, 23, 0.5), rgba(13, 17, 23, 0.8));
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}
.combo-list .combo-item:hover { transform: translateX(10px); background: var(--secondary-color); }
.combo-item h3 { color: var(--primary-color); font-family: var(--font-heading); }
.combo-item .quote {
    font-style: italic;
    color: var(--text-muted-color);
    margin-top: 20px;
    text-align: right;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}
.combo-item .quote em { color: var(--primary-color); }


footer { text-align: center; padding: 40px 20px; margin-top: 50px; background: var(--secondary-color); }
.final-quote { font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary-color); margin-top: 10px; }

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    border-radius: 50%;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s, transform 0.4s;
    transform: translateY(20px);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }


@media (max-width: 992px) {
    .build-core { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    body { background-image: none; } 
    header h1 { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }
    #intro { flex-direction: column; }
    .matchup-grid { grid-template-columns: 1fr; }
}


::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }




.creditos-container {
    background-color: var(--secondary-color); 
    border: 1px solid var(--border-color); 
    border-radius: 8px; 
    padding: 20px; 
    margin-top: 20px; 
    max-width: 300px; 
    width: 100%;
}


.creditos-container .direitos {
    font-family: var(--font-heading);
    color: var(--text-muted-color); 
    font-size: 0.85rem; 
    letter-spacing: 0px;
    margin: 5px 0; 
    text-align: center;
}


.creditos-container .direitos a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: text-decoration 0.3s ease;
}

.creditos-container .direitos a:hover {
    text-decoration: underline;
}