.realm-section, .rank-section { padding-block: 68px 10px; }
.section-intro { color: var(--muted); margin: 14px 0 22px; }
.realm-grid, .rank-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.realm-card, .rank-card { min-width: 0; border: 1px solid #533963; border-radius: 10px; overflow: hidden; background: #1a1222; }
.realm-copy, .rank-card { padding: 18px; }
.realm-copy h3, .rank-card h3 { font: 800 2rem/.95 var(--display); text-transform: uppercase; }
.realm-copy p, .rank-card p { color: var(--muted); margin-top: 9px; }
.arena { display: grid; place-items: center; position: relative; min-height: 158px; isolation: isolate; background: radial-gradient(ellipse at 50% 75%,#6e2f59,#24102f 70%); border-bottom: 1px solid #583662; perspective: 190px; overflow: hidden; }
.arena::before { content: ""; position: absolute; inset: 55% -20% -35%; transform: rotateX(55deg); background: repeating-linear-gradient(90deg,transparent 0 27px,#c184bf45 28px 29px), repeating-linear-gradient(0deg,transparent 0 27px,#c184bf45 28px 29px); z-index: -1; }
.arena-survival { background: radial-gradient(ellipse at 55% 90%,#346148,#1b212c 70%); }
.arena-games { background: radial-gradient(ellipse at 45% 80%,#513484,#20122e 70%); }
.blade { position: absolute; width: 23px; height: 110px; top: 17px; left: calc(50% - 11px); transform-origin: 50% 80%; clip-path: polygon(50% 0,74% 14%,74% 67%,100% 67%,100% 77%,65% 77%,65% 84%,58% 84%,58% 100%,42% 100%,42% 84%,35% 84%,35% 77%,0 77%,0 67%,26% 67%,26% 14%); background: linear-gradient(90deg,#7898ce,#e4f7ff 48%,#7486be 49%), #aaa; }
.blade-a { animation: strike-a 3.8s ease-in-out infinite; }
.blade-b { animation: strike-b 3.8s ease-in-out infinite; background: linear-gradient(90deg,#ae78b7,#ffe7fa 48%,#ae74a4 49%); }
.spark { position: absolute; width: 18px; height: 18px; left: calc(50% - 9px); top: 49px; color:#fff8ac; background:currentColor; box-shadow:0 0 18px currentColor; clip-path: polygon(50% 0,60% 40%,100% 50%,60% 61%,50% 100%,40% 61%,0 50%,40% 40%); animation: clash 3.8s ease-out infinite; }
@keyframes strike-a { 0%, 22%, 66%,100% { transform: translateX(-33px) rotate(-48deg); } 37%,50% { transform:translateX(-28px) rotate(32deg); } }
@keyframes strike-b { 0%, 22%, 66%,100% { transform: translateX(33px) rotate(48deg); } 37%,50% { transform:translateX(28px) rotate(-32deg); } }
@keyframes clash { 0%,35%,62%,100% { opacity:0; transform:scale(.15); } 40% {opacity:1;transform:scale(2);} }
.voxel { width: 53px; height: 53px; display: block; transform: rotateX(-24deg) rotateY(27deg) rotateZ(-7deg); background: linear-gradient(#7cc15d 0 24%, #6c452e 24%); border: 2px solid #bdb089; box-shadow: 9px 6px 0 #352c26,0 20px 35px #07040a8f; animation: float-block 3.4s ease-in-out infinite; }
.block-line { display: flex; gap: 11px; align-items: center; }
.arena-games .voxel { width: 35px; height: 35px; background: linear-gradient(#cfb0fa 0 22%,#784fbb 22%); border-color:#cdaaff; box-shadow: 6px 5px 0 #432b62; }
.arena-games .voxel:nth-child(2) { animation-delay: -.65s; }
.arena-games .voxel:nth-child(3) { animation-delay: -1.3s; }
@keyframes float-block { 50% { transform: translateY(-10px) rotateX(-24deg) rotateY(27deg) rotateZ(-7deg); } }
.rank-section { padding-bottom: 57px; }
.rank-card h3 { color: var(--accent); }
.rank-card:nth-child(2) h3 { color: #ffd28d; }
.rank-card:nth-child(3) h3 { color: #f1aeff; }
.rank-card .label { margin-top: 14px; }
@media (max-width: 760px) { .realm-grid, .rank-grid { grid-template-columns: 1fr; } .realm-card { display: grid; grid-template-columns: minmax(105px, .8fr) 1.2fr; } .arena { min-height: 135px; border-bottom: 0; } }
