/* =========================================================
ARCANA SYSTEM
Bulgarian Empire
========================================================= */

/* =========================================================
ROOT / GENERAL
========================================================= */



.arcana-section {
position: relative;
padding: 100px 6%;
overflow: hidden;
}

.arcana-section-header {
max-width: 900px;
margin: 0 auto 60px;
text-align: center;
}

.arcana-section-subtitle {
margin: 0 0 12px;
color: #9c7cff;
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 3px;
text-transform: uppercase;
}

.arcana-section-header h2 {
margin: 0 0 20px;
color: #ffffff;
font-size: clamp(2rem, 4vw, 3.2rem);
line-height: 1.1;
}

.arcana-section-description {
margin: 0 auto;
max-width: 760px;
color: #b9b5c9;
font-size: 1rem;
line-height: 1.8;
}

/* =========================================================
HERO
========================================================= */

.arcana-hero {
position: relative;
min-height: 620px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
background:
radial-gradient(circle at center, rgba(123, 76, 255, 0.18), transparent 45%),
#080712;
}

.arcana-hero-overlay {
position: absolute;
inset: 0;
z-index: 2;
background:
linear-gradient(
90deg,
rgba(5, 5, 12, 0.88),
rgba(8, 7, 18, 0.45),
rgba(5, 5, 12, 0.88)
),
linear-gradient(
180deg,
rgba(5, 5, 12, 0.15),
rgba(5, 5, 12, 0.92)
);
}

.arcana-hero-image {
position: absolute;
inset: 0;
z-index: 1;
}

.arcana-hero-image img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
opacity: 0.78;
filter:
saturate(1.15)
contrast(1.05);
}

.arcana-hero-content {
position: relative;
z-index: 3;
max-width: 900px;
padding: 40px 20px;
text-align: center;
}

.arcana-hero-subtitle {
margin: 0 0 18px;
color: #b89cff;
font-size: 0.85rem;
font-weight: 700;
letter-spacing: 5px;
}

.arcana-hero-content h1 {
margin: 0;
color: #ffffff;
font-size: clamp(4rem, 10vw, 8rem);
font-weight: 900;
letter-spacing: 8px;
text-shadow:
0 0 15px rgba(151, 103, 255, 0.8),
0 0 45px rgba(108, 65, 255, 0.5),
0 0 90px rgba(108, 65, 255, 0.25);
}

.arcana-hero-description {
margin: 25px auto 0;
max-width: 650px;
color: #d6d1e3;
font-size: 1.1rem;
line-height: 1.8;
}

/* =========================================================
INTRO
========================================================= */

.arcana-intro {
background:
radial-gradient(
circle at 15% 50%,
rgba(111, 65, 255, 0.08),
transparent 35%
),
#0a0912;
}

.arcana-intro-layout {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 70px;
align-items: center;
}

.arcana-intro-text {
display: flex;
flex-direction: column;
gap: 18px;
}

.arcana-info-card {
display: flex;
gap: 18px;
padding: 24px;
border: 1px solid rgba(145, 115, 255, 0.16);
border-radius: 14px;
background:
linear-gradient(
135deg,
rgba(255, 255, 255, 0.035),
rgba(255, 255, 255, 0.012)
);
box-shadow:
0 12px 35px rgba(0, 0, 0, 0.22);
transition:
transform 0.3s ease,
border-color 0.3s ease,
box-shadow 0.3s ease;
}

.arcana-info-card:hover {
transform: translateY(-4px);
border-color: rgba(157, 122, 255, 0.42);
box-shadow:
0 15px 45px rgba(0, 0, 0, 0.3),
0 0 25px rgba(118, 77, 255, 0.08);
}

.arcana-info-icon {
flex: 0 0 48px;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
background: rgba(124, 79, 255, 0.12);
font-size: 1.35rem;
}

.arcana-info-content h3 {
margin: 0 0 8px;
color: #ffffff;
font-size: 1.05rem;
}

.arcana-info-content p {
margin: 0;
color: #aaa6b9;
font-size: 0.92rem;
line-height: 1.7;
}

.arcana-bonus-card {
border-color: rgba(175, 116, 255, 0.28);
}

.arcana-intro-image {
position: relative;
padding: 10px;
}

.arcana-intro-image img {
position: relative;
z-index: 2;
display: block;
width: 100%;
border-radius: 18px;
border: 1px solid rgba(159, 121, 255, 0.32);
box-shadow:
0 0 25px rgba(121, 78, 255, 0.2),
0 20px 60px rgba(0, 0, 0, 0.4);
}

.arcana-image-glow {
position: absolute;
inset: 10%;
background: rgba(117, 72, 255, 0.22);
filter: blur(70px);
z-index: 1;
}

/* =========================================================
RARITY
========================================================= */

.arcana-rarity {
background:
radial-gradient(
circle at 50% 20%,
rgba(110, 70, 255, 0.08),
transparent 45%
),
#080810;
}

.arcana-rarity-grid {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 35px;
align-items: stretch;
}

.arcana-rarity-card {
position: relative;
overflow: hidden;
border-radius: 20px;
background: #0e0d18;
transition:
transform 0.35s ease,
box-shadow 0.35s ease;
}

.arcana-rarity-image {
position: relative;
z-index: 2;
padding: 12px;
}

.arcana-rarity-image img {
display: block;
width: 100%;
aspect-ratio: 4 / 5;
object-fit: cover;
border-radius: 12px;
}

.arcana-rarity-content {
position: relative;
z-index: 2;
padding: 22px 24px 28px;
}

.arcana-rarity-color {
display: inline-block;
margin-bottom: 8px;
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 3px;
}

.arcana-rarity-content h3 {
margin: 0 0 12px;
color: #ffffff;
font-size: 1.45rem;
}

.arcana-rarity-content p {
margin: 0 0 18px;
color: #aaa6b9;
line-height: 1.7;
font-size: 0.9rem;
}

.arcana-rarity-content strong {
font-size: 0.8rem;
letter-spacing: 1px;
text-transform: uppercase;
}

/* =========================================================
GREEN RARITY
========================================================= */

.arcana-rarity-green {
border: 2px solid rgba(65, 255, 126, 0.72);
box-shadow:
0 0 12px rgba(43, 255, 112, 0.32),
0 0 35px rgba(43, 255, 112, 0.16),
inset 0 0 25px rgba(43, 255, 112, 0.06);
animation: arcanaGreenGlow 3.5s ease-in-out infinite;
}

.arcana-rarity-green .arcana-rarity-color,
.arcana-rarity-green .arcana-rarity-content strong {
color: #62ff91;
}

.arcana-rarity-green:hover {
transform: translateY(-12px) scale(1.015);
box-shadow:
0 0 20px rgba(43, 255, 112, 0.65),
0 0 60px rgba(43, 255, 112, 0.32),
0 25px 60px rgba(0, 0, 0, 0.5),
inset 0 0 35px rgba(43, 255, 112, 0.1);
}

/* =========================================================
BLUE RARITY
========================================================= */

.arcana-rarity-blue {
border: 2px solid rgba(70, 156, 255, 0.82);
box-shadow:
0 0 14px rgba(50, 145, 255, 0.4),
0 0 42px rgba(50, 145, 255, 0.2),
inset 0 0 28px rgba(50, 145, 255, 0.07);
animation: arcanaBlueGlow 3.2s ease-in-out infinite;
}

.arcana-rarity-blue .arcana-rarity-color,
.arcana-rarity-blue .arcana-rarity-content strong {
color: #63aaff;
}

.arcana-rarity-blue:hover {
transform: translateY(-12px) scale(1.015);
box-shadow:
0 0 24px rgba(50, 145, 255, 0.75),
0 0 70px rgba(50, 145, 255, 0.38),
0 25px 60px rgba(0, 0, 0, 0.5),
inset 0 0 40px rgba(50, 145, 255, 0.12);
}

/* =========================================================
GOLD RARITY
========================================================= */

.arcana-rarity-gold {
border: 2px solid rgba(255, 211, 68, 0.95);
box-shadow:
0 0 18px rgba(255, 206, 55, 0.5),
0 0 48px rgba(255, 190, 30, 0.28),
0 0 90px rgba(255, 178, 0, 0.12),
inset 0 0 32px rgba(255, 200, 35, 0.08);
animation: arcanaGoldGlow 2.8s ease-in-out infinite;
}

.arcana-rarity-gold .arcana-rarity-color,
.arcana-rarity-gold .arcana-rarity-content strong {
color: #ffd84a;
}

.arcana-rarity-gold:hover {
transform: translateY(-14px) scale(1.02);
box-shadow:
0 0 28px rgba(255, 214, 65, 0.9),
0 0 75px rgba(255, 193, 25, 0.55),
0 0 120px rgba(255, 174, 0, 0.25),
0 25px 65px rgba(0, 0, 0, 0.55),
inset 0 0 45px rgba(255, 210, 50, 0.14);
}

/* =========================================================
RARITY GLOW ANIMATIONS
========================================================= */

@keyframes arcanaGreenGlow {
0%,
100% {
box-shadow:
0 0 12px rgba(43, 255, 112, 0.28),
0 0 35px rgba(43, 255, 112, 0.14),
inset 0 0 25px rgba(43, 255, 112, 0.05);
}


50% {
    box-shadow:
        0 0 18px rgba(43, 255, 112, 0.42),
        0 0 48px rgba(43, 255, 112, 0.22),
        inset 0 0 32px rgba(43, 255, 112, 0.08);
}


}

@keyframes arcanaBlueGlow {
0%,
100% {
box-shadow:
0 0 14px rgba(50, 145, 255, 0.34),
0 0 42px rgba(50, 145, 255, 0.17),
inset 0 0 28px rgba(50, 145, 255, 0.06);
}


50% {
    box-shadow:
        0 0 22px rgba(50, 145, 255, 0.5),
        0 0 58px rgba(50, 145, 255, 0.26),
        inset 0 0 38px rgba(50, 145, 255, 0.1);
}


}

@keyframes arcanaGoldGlow {
0%,
100% {
box-shadow:
0 0 18px rgba(255, 206, 55, 0.45),
0 0 48px rgba(255, 190, 30, 0.22),
0 0 90px rgba(255, 178, 0, 0.09),
inset 0 0 32px rgba(255, 200, 35, 0.07);
}


50% {
    box-shadow:
        0 0 28px rgba(255, 214, 65, 0.62),
        0 0 70px rgba(255, 193, 25, 0.34),
        0 0 115px rgba(255, 174, 0, 0.16),
        inset 0 0 42px rgba(255, 210, 50, 0.11);
}


}

/* =========================================================
WHITE RARITY INFO
========================================================= */

.arcana-rarity-white-info {
max-width: 1200px;
margin: 45px auto 0;
display: flex;
align-items: center;
gap: 22px;
padding: 25px 30px;
border: 2px solid rgba(230, 230, 240, 0.55);
border-radius: 16px;
background:
linear-gradient(
135deg,
rgba(255, 255, 255, 0.06),
rgba(255, 255, 255, 0.015)
);
box-shadow:
0 0 20px rgba(255, 255, 255, 0.08),
inset 0 0 20px rgba(255, 255, 255, 0.025);
}

.arcana-rarity-white-icon {
flex: 0 0 52px;
width: 52px;
height: 52px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.55);
color: #ffffff;
background: rgba(255, 255, 255, 0.06);
box-shadow:
0 0 15px rgba(255, 255, 255, 0.15);
}

.arcana-rarity-white-info span {
color: #e9e9ef;
font-size: 0.7rem;
font-weight: 800;
letter-spacing: 3px;
}

.arcana-rarity-white-info h3 {
margin: 5px 0 7px;
color: #ffffff;
}

.arcana-rarity-white-info p {
margin: 0;
color: #aaa6b9;
line-height: 1.7;
}

/* =========================================================
RARITY NOTE
========================================================= */

.arcana-rarity-note {
max-width: 900px;
margin: 30px auto 0;
display: flex;
align-items: flex-start;
gap: 18px;
padding: 22px 25px;
border-left: 3px solid #9b72ff;
background: rgba(126, 80, 255, 0.06);
}

.arcana-rarity-note > span {
color: #b89cff;
font-size: 1.4rem;
}

.arcana-rarity-note strong {
color: #ffffff;
}

.arcana-rarity-note p {
margin: 7px 0 0;
color: #aaa6b9;
line-height: 1.7;
}

/* =========================================================
ARCANA SLOTS
========================================================= */

.arcana-slots {
background: #0b0a13;
}

.arcana-slot-grid {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

.arcana-slot-card {
padding: 32px 25px;
text-align: center;
border: 1px solid rgba(148, 113, 255, 0.15);
border-radius: 16px;
background: rgba(255, 255, 255, 0.025);
transition:
transform 0.3s ease,
border-color 0.3s ease,
box-shadow 0.3s ease;
}

.arcana-slot-card:hover {
transform: translateY(-7px);
border-color: rgba(153, 117, 255, 0.4);
box-shadow:
0 15px 40px rgba(0, 0, 0, 0.3),
0 0 25px rgba(119, 75, 255, 0.1);
}

.arcana-slot-icon {
margin-bottom: 15px;
font-size: 2rem;
}

.arcana-slot-card h3 {
margin: 0 0 10px;
color: #ffffff;
}

.arcana-slot-card p {
margin: 0;
color: #aaa6b9;
line-height: 1.7;
font-size: 0.9rem;
}

/* =========================================================
ARCANA SETS
========================================================= */

.arcana-sets {
background:
radial-gradient(
circle at 80% 30%,
rgba(115, 70, 255, 0.08),
transparent 35%
),
#090811;
}

.arcana-set-grid {
max-width: 1250px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 25px;
}

.arcana-set-card {
position: relative;
overflow: hidden;
padding: 32px;
border: 1px solid rgba(148, 113, 255, 0.18);
border-radius: 18px;
background:
linear-gradient(
145deg,
rgba(255, 255, 255, 0.035),
rgba(255, 255, 255, 0.01)
);
transition:
transform 0.3s ease,
border-color 0.3s ease,
box-shadow 0.3s ease;
}

.arcana-set-card:hover {
transform: translateY(-6px);
border-color: rgba(161, 126, 255, 0.45);
box-shadow:
0 20px 45px rgba(0, 0, 0, 0.3);
}

.arcana-set-label {
display: inline-block;
margin-bottom: 10px;
color: #a98cff;
font-size: 0.68rem;
font-weight: 800;
letter-spacing: 2px;
}

.arcana-set-card h3 {
margin: 0 0 12px;
color: #ffffff;
font-size: 1.65rem;
}

.arcana-set-card > p {
margin: 0 0 25px;
color: #aaa6b9;
line-height: 1.7;
}

.arcana-set-bonuses {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}

.arcana-set-bonuses div {
padding: 15px;
border-radius: 10px;
background: rgba(0, 0, 0, 0.2);
}

.arcana-set-bonuses strong {
display: block;
margin-bottom: 5px;
color: #ffffff;
font-size: 0.8rem;
}

.arcana-set-bonuses span {
color: #aaa6b9;
font-size: 0.8rem;
line-height: 1.5;
}

/* =========================================================
LIBRA
========================================================= */

.arcana-libra {
background: #0a0912;
}

.arcana-libra-layout {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}

.arcana-libra-image img {
display: block;
width: 100%;
border-radius: 18px;
border: 1px solid rgba(154, 117, 255, 0.3);
box-shadow:
0 0 35px rgba(112, 70, 255, 0.16);
}

.arcana-libra-content {
display: flex;
flex-direction: column;
gap: 18px;
}

/* =========================================================
BUILDS
========================================================= */

.arcana-builds {
background:
radial-gradient(
circle at 50% 80%,
rgba(111, 68, 255, 0.08),
transparent 40%
),
#080811;
}

.arcana-build-card {
max-width: 1100px;
margin: 0 auto 30px;
padding: 35px;
border: 1px solid rgba(148, 113, 255, 0.18);
border-radius: 18px;
background:
linear-gradient(
145deg,
rgba(255, 255, 255, 0.035),
rgba(255, 255, 255, 0.01)
);
}

.arcana-build-header {
margin-bottom: 30px;
}

.arcana-build-label {
display: inline-block;
margin-bottom: 10px;
color: #aa8aff;
font-size: 0.7rem;
font-weight: 800;
letter-spacing: 3px;
}

.arcana-build-header h3 {
margin: 0 0 10px;
color: #ffffff;
font-size: 1.7rem;
}

.arcana-build-header p {
margin: 0;
color: #aaa6b9;
line-height: 1.7;
}

.arcana-build-slots {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 12px;
}

.arcana-build-slots div {
padding: 18px 10px;
text-align: center;
border-radius: 10px;
background: rgba(0, 0, 0, 0.22);
border: 1px solid rgba(255, 255, 255, 0.05);
}

.arcana-build-slots strong {
display: block;
margin-bottom: 6px;
color: #ffffff;
font-size: 0.8rem;
}

.arcana-build-slots span {
color: #a88cff;
font-size: 0.75rem;
}

.arcana-build-benefits {
margin-top: 30px;
}

.arcana-build-benefits h4 {
margin: 0 0 12px;
color: #ffffff;
}

.arcana-build-benefits ul {
margin: 0;
padding-left: 20px;
color: #aaa6b9;
line-height: 1.9;
}

.arcana-endgame-build {
border-color: rgba(255, 204, 67, 0.25);
box-shadow:
0 0 35px rgba(255, 193, 35, 0.06);
}

.arcana-build-highlight {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}

.arcana-build-highlight div {
padding: 20px;
border-radius: 12px;
background: rgba(255, 197, 42, 0.05);
border: 1px solid rgba(255, 197, 42, 0.13);
}

.arcana-build-highlight strong {
color: #ffd85b;
line-height: 1.5;
}

/* =========================================================
MYSTERIOUS CRYSTALS
========================================================= */

.arcana-crystals {
background:
radial-gradient(
circle at 20% 50%,
rgba(77, 148, 255, 0.07),
transparent 35%
),
#090912;
}

.arcana-crystal-layout {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 0.85fr 1.15fr;
gap: 60px;
align-items: start;
}

.arcana-crystal-image img {
display: block;
width: 100%;
border-radius: 18px;
border: 1px solid rgba(82, 151, 255, 0.3);
box-shadow:
0 0 35px rgba(55, 132, 255, 0.13);
}

.arcana-crystal-content {
display: flex;
flex-direction: column;
gap: 20px;
}

.arcana-crystal-cost {
padding: 25px;
border-radius: 15px;
border: 1px solid rgba(96, 153, 255, 0.25);
background:
linear-gradient(
135deg,
rgba(75, 135, 255, 0.08),
rgba(75, 135, 255, 0.02)
);
}

.arcana-crystal-cost span {
display: block;
margin-bottom: 10px;
color: #82b7ff;
font-size: 0.7rem;
font-weight: 800;
letter-spacing: 3px;
}

.arcana-crystal-cost strong {
display: block;
margin-bottom: 5px;
color: #ffffff;
font-size: 1.15rem;
}

.arcana-crystal-cost small {
display: block;
margin-top: 10px;
color: #888496;
}

.arcana-crystal-content > h3 {
margin: 5px 0 0;
color: #ffffff;
}

.arcana-crystal-method {
display: flex;
gap: 18px;
padding: 18px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.025);
border: 1px solid rgba(255, 255, 255, 0.05);
}

.arcana-crystal-method > span {
flex: 0 0 34px;
width: 34px;
height: 34px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(99, 133, 255, 0.12);
color: #85aeff;
font-size: 0.72rem;
font-weight: 800;
}

.arcana-crystal-method strong {
color: #ffffff;
}

.arcana-crystal-method p {
margin: 6px 0 0;
color: #aaa6b9;
line-height: 1.65;
font-size: 0.9rem;
}

/* =========================================================
ENHANCEMENT
========================================================= */

.arcana-enhancement {
background: #0b0a13;
}

.arcana-priority-list {
max-width: 900px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 15px;
}

.arcana-priority-item {
display: flex;
gap: 20px;
align-items: flex-start;
padding: 22px;
border-radius: 14px;
border: 1px solid rgba(147, 113, 255, 0.14);
background: rgba(255, 255, 255, 0.02);
}

.arcana-priority-item > span {
flex: 0 0 38px;
width: 38px;
height: 38px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(133, 91, 255, 0.14);
color: #b092ff;
font-weight: 800;
}

.arcana-priority-item strong {
color: #ffffff;
}

.arcana-priority-item p {
margin: 6px 0 0;
color: #aaa6b9;
line-height: 1.6;
}

/* =========================================================
PVE / PVP
========================================================= */

.arcana-pve-pvp {
background:
radial-gradient(
circle at 80% 50%,
rgba(99, 60, 255, 0.07),
transparent 35%
),
#090811;
}

.arcana-mode-grid {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 18px;
}

.arcana-mode-card {
padding: 28px 22px;
text-align: center;
border-radius: 16px;
border: 1px solid rgba(145, 110, 255, 0.15);
background: rgba(255, 255, 255, 0.025);
transition:
transform 0.3s ease,
border-color 0.3s ease;
}

.arcana-mode-card:hover {
transform: translateY(-6px);
border-color: rgba(157, 122, 255, 0.4);
}

.arcana-mode-card > span {
display: block;
margin-bottom: 12px;
font-size: 2rem;
}

.arcana-mode-card h3 {
margin: 0 0 10px;
color: #ffffff;
}

.arcana-mode-card strong {
display: block;
margin-bottom: 12px;
color: #ac8cff;
}

.arcana-mode-card p {
margin: 0;
color: #aaa6b9;
line-height: 1.6;
font-size: 0.88rem;
}

/* =========================================================
SKILLS
========================================================= */

.arcana-skills {
background: #0a0912;
}

.arcana-role-grid {
max-width: 1100px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}

.arcana-role-card {
padding: 28px;
border-radius: 16px;
border: 1px solid rgba(145, 110, 255, 0.15);
background: rgba(255, 255, 255, 0.025);
}

.arcana-role-card > span {
font-size: 1.8rem;
}

.arcana-role-card h3 {
margin: 12px 0 18px;
color: #ffffff;
}

.arcana-role-card ul {
margin: 0;
padding-left: 18px;
color: #aaa6b9;
line-height: 1.9;
}

/* =========================================================
TRANSCENDENCE
========================================================= */

.arcana-transcendence {
background:
radial-gradient(
circle at center,
rgba(111, 67, 255, 0.07),
transparent 45%
),
#080810;
}

.arcana-farming-grid {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}

.arcana-farming-card {
padding: 28px;
border-radius: 15px;
border: 1px solid rgba(145, 110, 255, 0.14);
background: rgba(255, 255, 255, 0.025);
}

.arcana-farming-card > span {
display: block;
margin-bottom: 15px;
font-size: 1.8rem;
}

.arcana-farming-card strong {
display: block;
margin-bottom: 8px;
color: #ffffff;
}

.arcana-farming-card p {
margin: 0;
color: #aaa6b9;
line-height: 1.6;
}

/* =========================================================
VIDEO
========================================================= */

.arcana-video-section {
background: #0b0a13;
}

.arcana-video-wrapper {
max-width: 1000px;
margin: 0 auto;
}

.arcana-video-frame {
position: relative;
overflow: hidden;
width: 100%;
aspect-ratio: 16 / 9;
border-radius: 18px;
border: 1px solid rgba(147, 110, 255, 0.25);
box-shadow:
0 0 40px rgba(106, 65, 255, 0.12),
0 25px 60px rgba(0, 0, 0, 0.4);
}

.arcana-video-frame iframe {
width: 100%;
height: 100%;
display: block;
}

/* =========================================================
EXTERNAL GUIDE
========================================================= */

.arcana-external-guide {
text-align: center;
background:
radial-gradient(
circle at center,
rgba(115, 70, 255, 0.1),
transparent 45%
),
#090811;
}

.arcana-external-button {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 16px 28px;
border-radius: 10px;
border: 1px solid rgba(166, 126, 255, 0.5);
color: #ffffff;
background:
linear-gradient(
135deg,
rgba(125, 80, 255, 0.25),
rgba(125, 80, 255, 0.08)
);
text-decoration: none;
font-weight: 800;
letter-spacing: 0.5px;
box-shadow:
0 0 25px rgba(118, 73, 255, 0.12);
transition:
transform 0.3s ease,
box-shadow 0.3s ease,
border-color 0.3s ease;
}

.arcana-external-button:hover {
transform: translateY(-4px);
border-color: rgba(186, 153, 255, 0.85);
box-shadow:
0 0 35px rgba(118, 73, 255, 0.28);
}






.arcana-back-to-top-section {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 70px 20px 80px;
}

.arcana-back-to-top {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 12px;


padding: 15px 30px;

border: 1px solid rgba(80, 170, 255, 0.65);
border-radius: 8px;

background:
    linear-gradient(
        135deg,
        rgba(20, 35, 60, 0.95),
        rgba(10, 18, 32, 0.98)
    );

color: #dceeff;

font-family: inherit;
font-size: 14px;
font-weight: 700;
letter-spacing: 1.5px;

cursor: pointer;

box-shadow:
    0 0 12px rgba(50, 150, 255, 0.25),
    inset 0 0 12px rgba(50, 150, 255, 0.08);

transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;


}

.arcana-back-to-top:hover {
transform: translateY(-4px);


color: #ffffff;

border-color: rgba(100, 190, 255, 0.95);

box-shadow:
    0 0 18px rgba(50, 160, 255, 0.55),
    0 0 35px rgba(50, 160, 255, 0.22),
    inset 0 0 15px rgba(50, 160, 255, 0.12);


}

.arcana-back-to-top-arrow {
display: inline-flex;
align-items: center;
justify-content: center;


font-size: 22px;
line-height: 1;

color: #62b6ff;

transition:
    transform 0.25s ease,
    color 0.25s ease;


}

.arcana-back-to-top:hover .arcana-back-to-top-arrow {
transform: translateY(-4px);
color: #ffffff;
}

.arcana-back-to-top:active {
transform: translateY(-1px);
}





/* =========================================================
   ARCANA IMAGE SYSTEM
========================================================= */

main img {
    cursor: zoom-in;
}


/* ---------------------------------------------------------
   ALL ARCANA IMAGES
--------------------------------------------------------- */

main img {
    transition:
        transform 0.35s ease,
        filter 0.35s ease,
        box-shadow 0.35s ease;
}


main img:hover {
    transform: scale(1.025);

    filter:
        brightness(1.08)
        saturate(1.08);

    box-shadow:
        0 0 12px rgba(70, 170, 255, 0.22),
        0 0 28px rgba(70, 170, 255, 0.12);
}


/* ---------------------------------------------------------
   ZOOMABLE IMAGE CONTAINERS
--------------------------------------------------------- */

.arcana-zoom-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;

    cursor: zoom-in;
}


.arcana-zoom-image img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ---------------------------------------------------------
   ZOOM HINT
--------------------------------------------------------- */

.arcana-image-zoom-hint {
    position: absolute;

    left: 50%;
    bottom: 15px;

    transform: translateX(-50%);

    padding: 8px 14px;

    border-radius: 6px;

    background: rgba(5, 10, 20, 0.82);

    border: 1px solid rgba(90, 180, 255, 0.35);

    color: #dceeff;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;

    pointer-events: none;

    opacity: 0.85;

    box-shadow:
        0 0 12px rgba(50, 150, 255, 0.15);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.arcana-zoom-image:hover .arcana-image-zoom-hint {
    opacity: 1;

    transform:
        translateX(-50%)
        translateY(-3px);
}


/* =========================================================
   GROWTH SHOP
========================================================= */

.arcana-crystal-shop {
    width: min(1100px, calc(100% - 40px));

    margin: 90px auto 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


/* ---------------------------------------------------------
   GROWTH HEADER
--------------------------------------------------------- */

.arcana-shop-header {
    width: 100%;
    max-width: 850px;

    margin: 0 auto 35px;
}


.arcana-shop-header .arcana-section-subtitle {
    margin-bottom: 12px;
}


.arcana-shop-header h3 {
    margin-bottom: 15px;
}


.arcana-shop-header p:not(.arcana-section-subtitle) {
    margin: 0 auto;

    max-width: 800px;

    line-height: 1.8;
}


/* ---------------------------------------------------------
   GROWTH IMAGE
--------------------------------------------------------- */

.arcana-shop-image {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 10px auto 35px;

    text-align: center;
}


.arcana-shop-image img {
    display: block;

    width: min(900px, 100%);
    max-width: 900px;

    height: auto;

    margin: 0 auto;

    border-radius: 10px;

    border: 1px solid rgba(80, 180, 255, 0.35);

    box-shadow:
        0 0 15px rgba(40, 150, 255, 0.18),
        0 0 35px rgba(40, 150, 255, 0.08);
}


/* ---------------------------------------------------------
   GROWTH NOTE
--------------------------------------------------------- */

.arcana-shop-note {
    width: min(800px, 100%);

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    margin: 0 auto;

    padding: 18px 24px;

    text-align: left;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            rgba(20, 30, 50, 0.8),
            rgba(10, 15, 28, 0.9)
        );

    border: 1px solid rgba(80, 160, 255, 0.22);

    box-shadow:
        0 0 20px rgba(40, 130, 255, 0.08);
}


.arcana-shop-note > span {
    font-size: 26px;

    flex-shrink: 0;
}


.arcana-shop-note strong {
    display: block;

    margin-bottom: 5px;

    color: #e6f4ff;
}


.arcana-shop-note p {
    margin: 0;

    line-height: 1.7;
}


/* =========================================================
   IMAGE LIGHTBOX
========================================================= */

.arcana-lightbox {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(2, 5, 12, 0.94);

    backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.arcana-lightbox.active {
    opacity: 1;
    visibility: visible;
}


.arcana-lightbox-image {
    display: block;

    max-width: 92vw;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 8px;

    border: 1px solid rgba(100, 190, 255, 0.65);

    box-shadow:
        0 0 20px rgba(60, 170, 255, 0.35),
        0 0 60px rgba(60, 170, 255, 0.18);

    transform: scale(0.92);

    transition:
        transform 0.35s ease;
}


.arcana-lightbox.active .arcana-lightbox-image {
    transform: scale(1);
}


/* ---------------------------------------------------------
   CLOSE BUTTON
--------------------------------------------------------- */

.arcana-lightbox-close {
    position: fixed;

    top: 22px;
    right: 28px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(120, 190, 255, 0.5);

    border-radius: 50%;

    background: rgba(10, 18, 32, 0.9);

    color: #ffffff;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 0 15px rgba(50, 160, 255, 0.2);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.arcana-lightbox-close:hover {
    transform: rotate(90deg) scale(1.08);

    background: rgba(30, 55, 90, 0.95);

    box-shadow:
        0 0 20px rgba(70, 170, 255, 0.5);
}


/* =========================================================
   ARCANA IMAGE ZOOM
========================================================= */

.arcana-section img {
    cursor: zoom-in;
    transition:
        transform 0.3s ease,
        filter 0.3s ease,
        box-shadow 0.3s ease;
}

.arcana-section img:hover {
    transform: scale(1.025);
    filter: brightness(1.08);
}


/* =========================================================
   NORMAL IMAGE SIZE + CENTERING
========================================================= */

.arcana-crystal-image,
.arcana-shop-image,
.arcana-intro-image,
.arcana-libra-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.arcana-crystal-image img,
.arcana-shop-image img,
.arcana-intro-image img,
.arcana-libra-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


/* =========================================================
   IMAGE ZOOM OVERLAY
========================================================= */

.arcana-image-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px;

    background: rgba(3, 5, 15, 0.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.arcana-image-modal.active {
    opacity: 1;
    visibility: visible;
}


.arcana-image-modal img {
    display: block;

    max-width: 92vw;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 12px;

    box-shadow:
        0 0 30px rgba(0, 200, 255, 0.25),
        0 0 80px rgba(0, 120, 255, 0.15);

    transform: scale(0.92);

    transition:
        transform 0.3s ease;
}


.arcana-image-modal.active img {
    transform: scale(1);
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.arcana-image-modal-close {
    position: absolute;

    top: 20px;
    right: 25px;

    width: 46px;
    height: 46px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;

    background: rgba(10, 15, 30, 0.8);

    color: #ffffff;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.arcana-image-modal-close:hover {
    background: rgba(120, 160, 255, 0.25);

    transform: rotate(90deg);

    box-shadow:
        0 0 20px rgba(80, 150, 255, 0.4);
}


/* =========================================================
   ZOOM HINT
========================================================= */

.arcana-section img {
    position: relative;
}


.video-credit {
    margin-top: 16px;
    text-align: center;
    color: rgba(225, 232, 242, 0.85);
    font-size: 18px; 
    letter-spacing: 0.5px;
}

.creator-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 6px;
    color: #ff5555;
    font-size: 18px; 
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.creator-link:hover {
    color: #ff7676;
    text-shadow: 0 0 14px rgba(255, 85, 85, 0.45);
    text-decoration: underline;
}

.youtube-icon {
    flex-shrink: 0;
    width: 20px; 
    height: 20px;
}

/* =========================================================
   ARCANA PAGES — ГЛОБАЛНА СИСТЕМА ЗА ВСИЧКИ ЕКРАНИ
   Bulgarian Empire
========================================================= */

/* Основна структура за изображения и зуум */
main img,
.arcana-section img {
    cursor: zoom-in;
    transition:
        transform 0.35s ease,
        filter 0.35s ease,
        box-shadow 0.35s ease;
}

main img:hover,
.arcana-section img:hover {
    transform: scale(1.025);
    filter: brightness(1.08) saturate(1.08);
    box-shadow:
        0 0 12px rgba(70, 170, 255, 0.22),
        0 0 28px rgba(70, 170, 255, 0.12);
}

.arcana-zoom-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    cursor: zoom-in;
}

.arcana-zoom-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.arcana-image-zoom-hint {
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    padding: 8px 14px;
    border-radius: 6px;
    background: rgba(5, 10, 20, 0.82);
    border: 1px solid rgba(90, 180, 255, 0.35);
    color: #dceeff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0.85;
    box-shadow: 0 0 12px rgba(50, 150, 255, 0.15);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.arcana-zoom-image:hover .arcana-image-zoom-hint {
    opacity: 1;
    transform: translateX(-50%) translateY(-3px);
}

/* Центриране на изображения */
.arcana-crystal-image,
.arcana-shop-image,
.arcana-intro-image,
.arcana-libra-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.arcana-crystal-image img,
.arcana-shop-image img,
.arcana-intro-image img,
.arcana-libra-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Growth Shop */
.arcana-crystal-shop {
    width: min(1100px, calc(100% - 40px));
    margin: 90px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.arcana-shop-header {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 35px;
}

.arcana-shop-header .arcana-section-subtitle {
    margin-bottom: 12px;
}

.arcana-shop-header h3 {
    margin-bottom: 15px;
}

.arcana-shop-header p:not(.arcana-section-subtitle) {
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.8;
}

.arcana-shop-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto 35px;
    text-align: center;
}

.arcana-shop-image img {
    width: min(900px, 100%);
    max-width: 900px;
    border-radius: 10px;
    border: 1px solid rgba(80, 180, 255, 0.35);
    box-shadow: 0 0 15px rgba(40, 150, 255, 0.18), 0 0 35px rgba(40, 150, 255, 0.08);
}

.arcana-shop-note {
    width: min(800px, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    padding: 18px 24px;
    text-align: left;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(20, 30, 50, 0.8), rgba(10, 15, 28, 0.9));
    border: 1px solid rgba(80, 160, 255, 0.22);
    box-shadow: 0 0 20px rgba(40, 130, 255, 0.08);
}

.arcana-shop-note > span {
    font-size: 26px;
    flex-shrink: 0;
}

.arcana-shop-note strong {
    display: block;
    margin-bottom: 5px;
    color: #e6f4ff;
}

.arcana-shop-note p {
    margin: 0;
    line-height: 1.7;
}

/* Lightbox / Modal */
.arcana-lightbox,
.arcana-image-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(2, 5, 12, 0.94);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.arcana-lightbox.active,
.arcana-image-modal.active {
    opacity: 1;
    visibility: visible;
}

.arcana-lightbox-image,
.arcana-image-modal img {
    display: block;
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(100, 190, 255, 0.65);
    box-shadow: 0 0 30px rgba(60, 170, 255, 0.35), 0 0 60px rgba(60, 170, 255, 0.18);
    transform: scale(0.92);
    transition: transform 0.35s ease;
}

.arcana-lightbox.active .arcana-lightbox-image,
.arcana-image-modal.active img {
    transform: scale(1);
}

.arcana-lightbox-close,
.arcana-image-modal-close {
    position: absolute;
    top: 22px;
    right: 28px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(120, 190, 255, 0.5);
    border-radius: 50%;
    background: rgba(10, 18, 32, 0.9);
    color: #ffffff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(50, 160, 255, 0.2);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.arcana-lightbox-close:hover,
.arcana-image-modal-close:hover {
    transform: rotate(90deg) scale(1.08);
    background: rgba(30, 55, 90, 0.95);
    box-shadow: 0 0 20px rgba(70, 170, 255, 0.5);
}

/* Back to Top Section */
.arcana-back-to-top-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 70px 20px 80px;
}

.arcana-back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 30px;
    border: 1px solid rgba(80, 170, 255, 0.65);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(20, 35, 60, 0.95), rgba(10, 18, 32, 0.98));
    color: #dceeff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(50, 150, 255, 0.25), inset 0 0 12px rgba(50, 150, 255, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.arcana-back-to-top:hover {
    transform: translateY(-4px);
    color: #ffffff;
    border-color: rgba(100, 190, 255, 0.95);
    box-shadow: 0 0 18px rgba(50, 160, 255, 0.55), 0 0 35px rgba(50, 160, 255, 0.22), inset 0 0 15px rgba(50, 160, 255, 0.12);
}

.arcana-back-to-top-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: #62b6ff;
    transition: transform 0.25s ease, color 0.25s ease;
}

.arcana-back-to-top:hover .arcana-back-to-top-arrow {
    transform: translateY(-4px);
    color: #ffffff;
}

.arcana-back-to-top:active {
    transform: translateY(-1px);
}

/* Video Credits */
.video-credit {
    margin-top: 16px;
    text-align: center;
    color: rgba(225, 232, 242, 0.85);
    font-size: 18px; 
    letter-spacing: 0.5px;
}

.creator-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 6px;
    color: #ff5555;
    font-size: 18px; 
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.creator-link:hover {
    color: #ff7676;
    text-shadow: 0 0 14px rgba(255, 85, 85, 0.45);
    text-decoration: underline;
}

.youtube-icon {
    flex-shrink: 0;
    width: 20px; 
    height: 20px;
}


/* ==========================================================================
   МНОГОСТЕПЕННА RESPONSIVE СИСТЕМА ЗА ВСИЧКИ ЕКРАНИ
   ========================================================================== */

/* 1. ГОЛЕМИ МОНИТОРИ (23" - 27"+ / min-width: 1440px) */
@media (min-width: 1440px) {
    .arcana-hero-content h1 {
        font-size: 4.2rem;
    }
}

/* 2. ЛАПТОПИ И СРЕДНИ ЕКРАНИ (1025px до 1439px) */
@media (max-width: 1439px) and (min-width: 1025px) {
    .arcana-intro-layout,
    .arcana-libra-layout,
    .arcana-crystal-layout {
        gap: 30px;
    }
}

/* 3. ТАБЛЕТИ И МАЛКИ ЛАПТОПИ (769px до 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .arcana-intro-layout,
    .arcana-libra-layout,
    .arcana-crystal-layout {
        grid-template-columns: 1fr;
    }
    .arcana-mode-grid,
    .arcana-role-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .arcana-build-slots {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 4. ТЕЛЕФОНИ И МОБИЛНИ (до 768px) */
@media (max-width: 768px) {
    .arcana-intro-layout,
    .arcana-libra-layout,
    .arcana-crystal-layout,
    .arcana-rarity-grid,
    .arcana-set-grid,
    .arcana-farming-grid,
    .arcana-slot-grid,
    .arcana-mode-grid,
    .arcana-role-grid,
    .arcana-set-bonuses,
    .arcana-build-highlight {
        grid-template-columns: 1fr !important;
    }

    .arcana-build-slots {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .arcana-section {
        padding: 75px 5%;
    }

    .arcana-hero {
        min-height: 520px;
    }

    .arcana-hero-content h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }

    .arcana-crystal-shop {
        width: min(100% - 24px, 700px);
        margin-top: 60px;
    }

    .arcana-back-to-top {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
    }

    .arcana-lightbox,
    .arcana-image-modal {
        padding: 20px;
    }

    .arcana-lightbox-close,
    .arcana-image-modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
}

/* 5. МНОГО МАЛКИ ТЕЛЕФОНИ (до 480px) */
@media (max-width: 480px) {
    .arcana-hero-content h1 {
        font-size: 2.3rem;
    }
    .arcana-build-slots {
        grid-template-columns: 1fr !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .arcana-rarity-green,
    .arcana-rarity-blue,
    .arcana-rarity-gold {
        animation: none;
    }
    .arcana-rarity-card,
    .arcana-info-card,
    .arcana-slot-card,
    .arcana-set-card,
    .arcana-mode-card,
    .arcana-external-button {
        transition: none;
    }
}