body, html, * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

*::-webkit-scrollbar {
    width: 14px;
    background: #18151f;
    border-left: 2px solid #e0b366;
}
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e0b366 0%, #6b4a1b 100%);
    border-radius: 8px;
    border: 2.5px solid #23202c;
    box-shadow: 0 0 8px #e0b36688;
}
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffd77a 0%, #b88a44 100%);
    box-shadow: 0 0 16px #ffd77a88;
}
*::-webkit-scrollbar-track {
    background: #18151f;
    border-left: 2px solid #e0b366;
}
body, * {
    scrollbar-width: thin;
    scrollbar-color: #e0b366 #18151f;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #181a1b;
    color: #f1f1f1;
}

.header-dark {
    background: #101113;
    padding: 24px 0 12px 0;
    text-align: center;
    border-bottom: 1px solid #232323;
}
.logo {
    font-family: 'Cinzel', serif;
    font-size: 2.2em;
    color: #e0b366;
    letter-spacing: 2px;
    margin: 0;
}

.hero-dark {
    position: relative;
    background: url('imagens/background.png') center/cover no-repeat, #181a1b;
    min-height: 900px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 0;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,20,0.7);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 2.8em;
    color: #e0b366;
    margin-bottom: 10px;
    letter-spacing: 1px;
    margin-top: 40px;
    text-shadow: 0 2px 12px #000;
}
.hero-subtitle {
    font-size: 1.3em;
    color: #f1f1f1;
    margin-bottom: 32px;
    text-shadow: 0 2px 8px #000;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 18px;
}
.btn {
    display: inline-block;
    padding: 16px 44px;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
    box-shadow: 0 4px 18px rgba(0,0,0,0.22);
    border: 3px solid #e0b366;
    cursor: pointer;
    background: linear-gradient(90deg, #e0b366 0%, #b88a44 100%);
    color: #181a1b;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #fff8;
    font-family: 'Cinzel', serif;
}
.btn-primary {
    background: linear-gradient(90deg, #e0b366 0%, #b88a44 100%);
    color: #181a1b;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #b88a44 0%, #e0b366 100%);
    color: #fff;
    border-color: #ffd77a;
}
.btn-secondary {
    background: #232323;
    color: #e0b366;
    border: 3px solid #e0b366;
}
.btn-secondary:hover {
    background: #e0b366;
    color: #181a1b;
    border-color: #ffd77a;
}

.section-header {
    text-align: center;
    margin: 48px 0 24px 0;
}
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2em;
    color: #e0b366;
    letter-spacing: 1px;
    margin: 0;
}

.classes-section {
    padding: 32px 0 64px 0;
    background: none;
}
.classes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    justify-items: center;
}
.class-card {
    background: linear-gradient(135deg, #18151f 80%, #23202c 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(224,179,102,0.13), 0 0 0 3px #e0b36644 inset;
    overflow: visible;
    border: 2.5px solid #e0b366;
    width: 260px;
    min-width: 220px;
    max-width: 280px;
    min-height: 74px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: transform 0.28s cubic-bezier(.4,2,.6,1), box-shadow 0.28s;
    position: relative;
    z-index: 1;
}
.class-card:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(224,179,102,0.22);
    z-index: 2;
}
.class-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
    position: relative;
    z-index: 1;
}
.class-title-overlay { display: none; }
.class-info {
    padding: 16px 14px 14px 14px;
    background: linear-gradient(135deg, #23202c 70%, #18151f 100%);
    color: #ffd77a;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top: 1.5px solid #e0b366;
    box-shadow: 0 2px 12px #e0b36622;
    position: relative;
}
.class-info h3 {
    font-size: 1.18em;
    font-family: 'Cinzel', serif;
    margin: 0 0 8px 0;
    color: #ffd77a;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 12px #000a, 0 0 8px #e0b36644;
}
.class-info h3::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 1.7em;
    background: linear-gradient(90deg, #18151f 60%, #23202c 100%);
    opacity: 0.85;
    border-radius: 8px;
    z-index: -1;
    box-shadow: 0 2px 12px #e0b36633;
}
.class-info p {
    color: #ffe7a0;
    font-size: 1em;
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    text-align: center;
    text-shadow: 0 2px 8px #000a;
}
.class-info-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #18151f;
    border: 2px solid #e0b366;
    border-radius: 50%;
    color: #ffd77a;
    font-size: 1.3em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 8px #0002;
}
.class-info-btn:hover {
    background: #ffd77a;
    color: #18151f;
    border-color: #ffd77a;
    box-shadow: 0 0 12px #ffd77a88;
}
.class-info-popup {
    display: none;
    position: absolute;
    left: 110%;
    top: 0;
    transform: none;
    min-width: 220px;
    max-width: 260px;
    background: #23202c;
    color: #ffd77a;
    border: 2px solid #e0b366;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(224,179,102,0.13);
    padding: 18px 18px 14px 18px;
    z-index: 100;
    font-size: 1em;
    font-family: 'Open Sans', Arial, sans-serif;
    text-align: left;
    line-height: 1.5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s;
}
.class-card:hover .class-info-popup,
.class-info-btn:focus + .class-info-popup,
.class-info-popup:hover {
    display: block;
    opacity: 1;
    pointer-events: auto;
    z-index: 9999;
}
.class-info-popup::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -18px;
    border-width: 10px 12px 10px 0;
    border-style: solid;
    border-color: transparent #23202c transparent transparent;
    filter: drop-shadow(-2px 0 2px #e0b366);
    width: 0;
    height: 0;
}
.class-info-popup strong {
    color: #ffd77a;
    font-family: 'Cinzel', serif;
    font-size: 1.08em;
    display: block;
    margin-bottom: 4px;
}

.footer-dark {
    background: #101113;
    color: #888;
    text-align: center;
    padding: 24px 0 12px 0;
    font-size: 1em;
    border-top: 1px solid #232323;
}

/* Barra de Notícias */
.news-bar {
    margin: 90px 0 48px 48px;
    max-width: 1500px;
    padding: 0 0 24px 0;
    background: none;
    display: block;
}
.news-title-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 18px;
    position: relative;
    width: auto;
    margin-left: 0;
}
.news-title-bg {
    /* Removido */
    display: none;
}
.news-title {
    background: #6b4a1b;
    color: #ffd77a;
    font-family: 'Cinzel', serif;
    font-size: 1.7em;
    font-weight: bold;
    padding: 14px 60px;
    border-radius: 0 22px 0 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    border: 4px solid #e0b366;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px #000;
}
.news-cards {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 48px;
    flex-wrap: nowrap;
    margin-bottom: 0;
    width: 100%;
    max-width: 1440px;
    overflow-x: visible;
    overflow-y: visible;
    margin-left: 0;
}
@media (max-width: 1600px) {
  .news-bar {
    max-width: 98vw;
  }
  .news-cards {
    max-width: 98vw;
    gap: 32px;
  }
}
@media (max-width: 1200px) {
  .news-cards {
    gap: 18px;
    max-width: 100vw;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .news-card {
    min-width: 200px;
    max-width: 220px;
  }
}
@media (max-width: 900px) {
  .news-cards {
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .news-card {
    min-width: 160px;
    max-width: 180px;
  }
}
.news-card {
    background: url('imagens/textura-pedra.jpg'), linear-gradient(135deg, #23242a 70%, #18151f 100%);
    background-blend-mode: multiply;
    border-radius: 18px 28px 18px 28px;
    box-shadow: 0 8px 32px #000a, 0 0 0 5px #2e2a1e inset;
    overflow: hidden;
    width: 230px;
    min-width: 200px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 4px solid #3a2e1e;
    position: relative;
    padding-top: 0;
    transform: skew(-3deg, -1deg);
    transition: transform 0.22s cubic-bezier(.4,2,.6,1), box-shadow 0.22s, border 0.15s, filter 0.18s;
}
.news-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px 28px 18px 28px;
    border: 3.5px dashed #5e4a1e;
    pointer-events: none;
    z-index: 2;
    opacity: 0.5;
}
.news-card:hover {
    transform: skew(-3deg, -1deg) scale(1.06) translateY(-8px);
    box-shadow: 0 0 40px 0 #4fd7ffcc, 0 8px 32px #000a;
    border-color: #4fd7ff;
    filter: brightness(1.08) drop-shadow(0 0 12px #4fd7ff88);
}
.news-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
    border-radius: 18px 28px 0 0;
    box-shadow: 0 6px 24px #000c;
    margin-bottom: 0;
    z-index: 1;
    position: relative;
}
.news-info {
    padding: 22px 14px 18px 14px;
    background: rgba(24, 21, 27, 0.97);
    color: #e0eaff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 28px;
    position: relative;
    box-shadow: 0 2px 12px #4fd7ff22;
}
.news-info h3 {
    font-size: 1.08em;
    font-family: 'Cinzel', serif;
    margin: 0 0 12px 0;
    color: #fffbe7;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    background: linear-gradient(120deg, #23242a 60%, #23242a 100%);
    border-radius: 8px;
    padding: 8px 0 6px 0;
    box-shadow: none;
    text-shadow: 0 2px 8px #000a;
    border: none;
    transform: none;
}
.news-info p {
    color: #e0eaff;
    font-size: 1em;
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    text-align: center;
    text-shadow: 0 2px 8px #000a;
}
.news-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #23242a;
    color: #4fd7ff;
    font-family: 'Cinzel', serif;
    font-size: 1em;
    font-weight: bold;
    border-radius: 8px;
    padding: 7px 16px 6px 16px;
    box-shadow: 0 2px 8px #4fd7ff55;
    border: 3px solid #4fd7ff;
    z-index: 3;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-8deg) skew(-8deg, -2deg);
    clip-path: polygon(20% 0, 80% 0, 100% 50%, 80% 100%, 20% 100%, 0 50%);
}
.news-info-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #18151f;
    border: 2px solid #e0b366;
    border-radius: 50%;
    color: #ffd77a;
    font-size: 1.3em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 8px #0002;
}
.news-info-btn:hover {
    background: #ffd77a;
    color: #18151f;
    border-color: #ffd77a;
    box-shadow: 0 0 12px #ffd77a88;
}
.news-info-popup {
    display: none;
    position: absolute;
    left: 110%;
    top: 0;
    transform: none;
    min-width: 220px;
    max-width: 260px;
    background: #23202c;
    color: #ffd77a;
    border: 2px solid #e0b366;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(224,179,102,0.13);
    padding: 18px 18px 14px 18px;
    z-index: 100;
    font-size: 1em;
    font-family: 'Open Sans', Arial, sans-serif;
    text-align: left;
    line-height: 1.5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s;
}
.news-card:hover .news-info-popup,
.news-info-btn:focus + .news-info-popup,
.news-info-popup:hover {
    display: block;
    opacity: 1;
    pointer-events: auto;
    z-index: 9999;
}
.news-info-popup::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -18px;
    border-width: 10px 12px 10px 0;
    border-style: solid;
    border-color: transparent #23202c transparent transparent;
    filter: drop-shadow(-2px 0 2px #e0b366);
    width: 0;
    height: 0;
}
.news-info-popup strong {
    color: #ffd77a;
    font-family: 'Cinzel', serif;
    font-size: 1.08em;
    display: block;
    margin-bottom: 4px;
}

/* Menu Flutuante à Direita */
.floating-menu {
    position: fixed;
    top: 120px;
    right: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 100;
}
.floating-icon {
    width: 64px;
    height: 64px;
    background: #232323;
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(0,0,0,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s, box-shadow 0.18s;
    border: 2.5px solid #e0b366;
}
.floating-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}
.floating-icon:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(224,179,102,0.22);
    background: #181a1b;
}
.floating-rank img,
.floating-servidor img {
    width: 98px;
    height: 98px;
}

.section-divider {
    width: 100%;
    max-width: 900px;
    margin: 36px auto 36px auto;
    border: none;
    border-top: 3px solid #e0b366;
    border-radius: 2px;
    box-shadow: 0 2px 12px rgba(224,179,102,0.10);
    height: 0;
}

.section-divider-news {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1000px;
    border-top: 3.5px solid #e0b366;
    box-shadow: 0 2px 12px rgba(224,179,102,0.13);
    z-index: 1;
    opacity: 0.85;
}
.news-title {
    position: relative;
    z-index: 2;
}

.sticky-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(90deg, #18151f 60%, #23202c 100%);
    border-bottom: 2.5px solid #e0b366;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 24px;
    height: 64px;
    gap: 24px;
}
.header-content {
  margin-left: 60px;
}
.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.6em;
    color: #e0b366;
    letter-spacing: 2px;
    margin: 0 32px 0 0;
    white-space: nowrap;
}
.main-navbar {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-right: 24px;
    margin-left: 120px !important;
}
.nav-btn {
    color: #fff;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.08em;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 8px 18px 8px 18px;
    border-radius: 7px 7px 0 0;
    background: none;
    border: none;
    outline: none;
    position: relative;
    transition: background 0.18s, color 0.18s;
    cursor: pointer;
    margin: 0;
}
.nav-btn.active, .nav-btn:hover {
    background: #29232f;
    color: #ffd77a;
}
.nav-btn.active::after, .nav-btn:hover::after {
    content: '';
    display: block;
    height: 3px;
    width: 80%;
    background: #ffd77a;
    border-radius: 2px;
    margin: 6px auto 0 auto;
}

.hero-buttons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.server-time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(30, 27, 44, 0.92);
    border-radius: 10px;
    padding: 7px 18px 5px 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.13);
    min-width: 120px;
    margin-left: auto;
    margin-right: 80px;
}
.server-time {
    color: #ffd77a;
    font-family: 'Cinzel', serif;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 2px;
    text-align: center;
}
.server-label {
    color: #e0e0e0;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.95em;
    letter-spacing: 1px;
    text-align: center;
    font-weight: 600;
}

.modal-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(20, 16, 32, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.modal-content {
    background: #221c2e;
    border-radius: 28px;
    box-shadow: 0 12px 64px 0 rgba(224,179,102,0.13), 0 8px 48px rgba(0,0,0,0.32);
    padding: 48px 56px 32px 48px;
    min-width: 340px;
    max-width: 98vw;
    width: 420px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.modal-title {
    font-family: 'Cinzel', serif;
    color: #ffd77a;
    font-size: 2.2em;
    font-weight: bold;
    text-align: center;
    margin: 0 0 24px 0;
    letter-spacing: 2px;
    text-transform: capitalize;
    text-shadow: 0 2px 12px #000a;
    position: relative;
    z-index: 10;
}
.modal-subtitle {
    color: #fff;
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 28px;
    text-shadow: 0 2px 8px #000a;
}
.modal-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.modal-form label {
    color: #ffd77a;
    font-size: 1.08em;
    margin-bottom: 2px;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}
.modal-form input {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: 0;
    padding: 14px 16px;
    border-radius: 10px;
    border: 2px solid #3a334a;
    background: #18151f;
    color: #ffd77a;
    font-size: 1.12em;
    margin-bottom: 2px;
    outline: none;
    transition: border 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.13);
    font-family: 'Open Sans', Arial, sans-serif;
}
.modal-form input:focus {
    border: 2px solid #ffd77a;
    box-shadow: 0 0 0 2px #e0b36644;
    background: #221c2e;
    color: #fff;
}
.modal-form input::placeholder {
    color: #bfae7a;
    opacity: 1;
    font-size: 1em;
    font-family: 'Open Sans', Arial, sans-serif;
}
.modal-btn {
    margin-top: 18px;
    width: 100%;
    padding: 14px 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #ffd77a 0%, #e0b366 100%);
    color: #181a1b;
    font-family: 'Cinzel', serif;
    font-size: 1.15em;
    font-weight: bold;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    box-shadow: 0 2px 10px rgba(224,179,102,0.13);
}
.modal-btn:hover {
    background: #fff;
    color: #181a1b;
}
.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: #ffd77a;
    font-size: 2.2em;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.18s;
}
.modal-close:hover {
    color: #fff;
}
@media (max-width: 600px) {
    .modal-content {
        padding: 18px 6vw 18px 6vw;
        min-width: 0;
        width: 98vw;
    }
    .modal-title {
        font-size: 1.3em;
    }
}

@media (max-width: 900px) {
    .hero-dark {
        min-height: 700px;
    }
    .hero-title {
        font-size: 1.5em;
        margin-top: 18px;
    }
    .hero-subtitle {
        font-size: 1em;
        margin-bottom: 24px;
    }
    .btn {
        padding: 10px 18px;
        font-size: 1em;
    }
    .news-title {
        font-size: 1.1em;
        padding: 8px 18px;
    }
    .news-cards {
        gap: 12px;
    }
    .news-card {
        width: 140px;
        min-width: 120px;
        max-width: 160px;
    }
    .floating-menu {
        right: 8px;
        top: 80px;
    }
    .floating-icon {
        width: 48px;
        height: 48px;
    }
    .floating-icon img {
        width: 32px;
        height: 32px;
    }
    .news-bar {
        margin-top: 30px;
        padding-bottom: 10px;
    }
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 0 8px;
        gap: 8px;
    }
    .logo {
        margin: 8px 0 0 0;
        font-size: 1.1em;
    }
    .main-navbar {
        gap: 10px;
        margin-right: 0;
        margin-top: 4px;
    }
    .nav-btn {
        font-size: 0.95em;
        padding: 6px 10px;
    }
    .server-time-block {
        margin-left: 0;
        margin-top: 8px;
        padding: 6px 10px 4px 10px;
    }
    .server-time {
        font-size: 1em;
    }
    .server-label {
        font-size: 0.85em;
    }
    .classes-grid {
        gap: 12px;
    }
    .class-card {
        width: 140px;
        min-width: 120px;
        max-width: 160px;
    }
    .class-img {
        height: 80px;
    }
    .class-title-overlay h3 {
        font-size: 1em;
        padding: 4px 12px;
    }
    .class-info {
        padding: 18px 8px 14px 8px;
    }
}

@media (max-width: 700px) {
    .hero-title {
        font-size: 1.5em;
    }
    .section-title {
        font-size: 1.2em;
    }
    .classes-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .class-image img {
        max-width: 180px;
        max-height: 180px;
    }
    .hero-buttons-row {
        flex-direction: column;
        gap: 12px;
    }
    .server-time-block {
        margin-left: 0;
        margin-top: 8px;
        padding: 8px 12px 6px 12px;
    }
    .server-time {
        font-size: 1.1em;
    }
    .server-label {
        font-size: 0.9em;
    }
} 

.download-modal-content {
    min-width: 480px;
    width: 650px;
    max-width: 98vw;
    padding: 38px 38px 32px 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-download-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 32px;
    width: 100%;
}
.modal-download-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}
.modal-download-desc {
    color: #fff;
    font-size: 1.1em;
    font-family: 'Open Sans', Arial, sans-serif;
}
.modal-download-tags {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}
.modal-download-tag {
    background: #2d232a;
    color: #fff;
    border-radius: 18px;
    padding: 6px 18px;
    font-size: 1em;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px #0002;
}
.modal-download-btns {
    display: flex;
    flex-direction: row;
    gap: 18px;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.modal-download-btn {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    min-height: 74px;
    padding: 0;
    margin: 0;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(224,179,102,0.10), 0 0 0 4px #2d253a inset;
    font-family: 'Cinzel', serif;
    font-size: 1.18em;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    border: 2.5px solid #e0b366;
    background: linear-gradient(135deg, #23202c 60%, #18151f 100%);
    color: #ffd77a;
    text-transform: uppercase;
    text-shadow: 0 2px 8px #000a, 0 0 6px #e0b36644;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s, transform 0.18s, filter 0.18s;
    cursor: pointer;
    gap: 4px;
    position: relative;
    overflow: hidden;
}
.modal-download-btn span {
    font-size: 1.13em;
    font-weight: bold;
    margin-bottom: 2px;
    color: #ffd77a;
    text-shadow: 0 2px 8px #000a, 0 0 6px #e0b36644;
    letter-spacing: 1px;
}
.modal-download-btn small {
    font-size: 1em;
    font-weight: 400;
    color: #ffe7a0;
    margin-top: 0;
    letter-spacing: 1px;
    opacity: 1;
    text-shadow: 0 2px 8px #000a;
}
.modal-download-btn:hover {
    background: #23202c;
    color: #fff;
    border-color: #ffd77a;
    box-shadow: 0 4px 24px rgba(224,179,102,0.18);
    transform: translateY(-2px) scale(1.04);
}
.modal-download-btn.pc {
    border: 2.5px double #e0b366;
    box-shadow: 0 2px 12px rgba(224,179,102,0.10), 0 0 0 4px #2d253a inset;
}
.modal-download-btn.mobile {
    border: 2.5px double #6ba6ff;
    box-shadow: 0 2px 12px rgba(58,110,220,0.10), 0 0 0 4px #232c3a inset;
}
.modal-download-btn.pc:hover {
    background: linear-gradient(135deg, #2d253a 60%, #18151f 100%);
    color: #fffbe7;
    border-color: #ffd77a;
    box-shadow: 0 0 24px 0 #ffd77a88, 0 2px 12px rgba(224,179,102,0.18), 0 0 0 4px #e0b36644 inset;
    filter: drop-shadow(0 0 8px #ffd77a88);
    transform: translateY(-2px) scale(1.04);
}
.modal-download-btn.mobile:hover {
    background: linear-gradient(135deg, #232c3a 60%, #18151f 100%);
    color: #e0eaff;
    border-color: #a0c8ff;
    box-shadow: 0 0 24px 0 #6ba6ff88, 0 2px 12px rgba(58,110,220,0.18), 0 0 0 4px #6ba6ff44 inset;
    filter: drop-shadow(0 0 8px #6ba6ff88);
    transform: translateY(-2px) scale(1.04);
}
.modal-download-btn.mobile span {
    color: #6ba6ff;
}
.modal-download-btn.mobile small {
    color: #a0c8ff;
}
.modal-help-section {
    margin-top: 18px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-help-title {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 2em;
    text-align: center;
    margin: 0 0 18px 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #000a;
}
.modal-help-box {
    background: #2a232c;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: 600px;
}
.modal-help-subtitle {
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 1.15em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4px;
}
.modal-help-text {
    color: #e0e0e0;
    font-size: 1.08em;
    text-align: center;
    font-family: 'Open Sans', Arial, sans-serif;
}
.modal-help-btns {
    display: flex;
    gap: 18px;
    margin-top: 8px;
    justify-content: center;
    width: 100%;
}
.modal-help-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.13);
    transition: background 0.18s, color 0.18s;
    margin: 0;
    min-width: 120px;
    text-align: center;
}
.modal-help-btn.whatsapp {
    background: #25d366;
}
.modal-help-btn.whatsapp:hover {
    background: #1ebc59;
}
.modal-help-btn.discord {
    background: #5865f2;
}
.modal-help-btn.discord:hover {
    background: #404eed;
}
@media (max-width: 900px) {
    .download-modal-content {
        min-width: 0;
        width: 98vw;
        padding: 12px 2vw 12px 2vw;
    }
    .modal-download-row {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }
    .modal-download-btn {
        width: 100%;
        max-width: 100%;
        padding: 18px 0 12px 0;
        margin: 0 auto;
    }
    .modal-help-box {
        padding: 18px 4vw 18px 4vw;
        max-width: 98vw;
    }
    .modal-help-btns {
        flex-direction: column;
        gap: 10px;
    }
} 

@media (max-width: 600px) {
    .modal-download-btns {
        flex-direction: column;
        gap: 10px;
    }
    .modal-download-btn {
        max-width: 100%;
    }
} 

@media (max-width: 1100px) {
    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} 

/* Tooltips dos ícones flutuantes */
.floating-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.floating-tooltip {
    display: none;
    position: absolute;
    right: 110%;
    top: 50%;
    transform: translateY(-50%);
    min-width: 210px;
    max-width: 260px;
    background: #23202c;
    color: #ffd77a;
    border: 2px solid #e0b366;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(224,179,102,0.13);
    padding: 16px 18px 14px 18px;
    z-index: 99999;
    font-size: 1em;
    font-family: 'Open Sans', Arial, sans-serif;
    text-align: left;
    line-height: 1.5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s;
    white-space: normal;
}
.floating-icon:hover + .floating-tooltip,
.floating-tooltip:hover,
.floating-icon:focus + .floating-tooltip {
    display: block;
    opacity: 1;
    pointer-events: auto;
}
.floating-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    border-width: 10px 0 10px 12px;
    border-style: solid;
    border-color: transparent transparent transparent #23202c;
    filter: drop-shadow(2px 0 2px #e0b366);
    width: 0;
    height: 0;
}
.tooltip-title {
    font-family: 'Cinzel', serif;
    color: #ffd77a;
    font-size: 1.15em;
    font-weight: bold;
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.tooltip-clock {
    font-family: 'Cinzel', serif;
    color: #fffbe7;
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #000a;
}
.tooltip-rank-list {
    margin: 0 0 0 12px;
    padding: 0;
    color: #ffd77a;
    font-size: 1.08em;
}
.tooltip-rank-list li {
    margin-bottom: 2px;
    color: #fffbe7;
    font-family: 'Cinzel', serif;
}
.tooltip-server-list {
    margin: 0 0 0 8px;
    padding: 0;
    color: #ffd77a;
    font-size: 1.08em;
}
.tooltip-server-list li {
    margin-bottom: 2px;
    color: #fffbe7;
    font-family: 'Cinzel', serif;
} 

.noticia-modal-content {
    background: #221c2e;
    border-radius: 28px;
    box-shadow: 0 12px 64px 0 rgba(224,179,102,0.13), 0 8px 48px rgba(0,0,0,0.32);
    padding: 38px 38px 28px 38px;
    min-width: 340px;
    max-width: 98vw;
    width: 440px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid #e0b366;
    animation: noticiaModalShow 0.3s cubic-bezier(.4,2,.6,1);
}
@keyframes noticiaModalShow {
    0% { transform: scale(0.8) translateY(40px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.noticia-modal-content .modal-title {
    color: #ffd77a;
    font-size: 2em;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px #000a;
}
.noticia-modal-content .modal-subtitle {
    color: #fffbe7;
    font-size: 1.15em;
    text-align: center;
    margin-bottom: 18px;
    text-shadow: 0 2px 8px #000a;
}
.noticia-modal-content ul li strong {
    color: #ffd77a;
    font-family: 'Cinzel', serif;
}
.noticia-modal-content ul li img {
    vertical-align: middle;
    margin-right: 8px;
}
.noticia-modal-content .btn-primary {
    margin-top: 8px;
    font-size: 1.1em;
    padding: 12px 36px;
    border-radius: 10px;
} 

.new-download-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    min-height: 74px;
    padding: 0 0;
    margin: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #23202c 60%, #18151f 100%);
    border: 3.5px solid #e0b366;
    box-shadow: 0 2px 18px rgba(224,179,102,0.13), 0 0 0 4px #2d253a inset;
    position: relative;
    overflow: hidden;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s, transform 0.18s, filter 0.18s;
    cursor: pointer;
    text-decoration: none;
}
.new-download-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 2.5px solid #ffd77a44;
    pointer-events: none;
    opacity: 0.5;
}
.new-download-btn:hover {
    background: linear-gradient(135deg, #2d253a 60%, #18151f 100%);
    border-color: #ffd77a;
    box-shadow: 0 0 24px 0 #ffd77a88, 0 2px 12px rgba(224,179,102,0.18), 0 0 0 4px #e0b36644 inset;
    filter: drop-shadow(0 0 8px #ffd77a88);
    transform: translateY(-2px) scale(1.04);
}
.new-download-btn:active {
    filter: brightness(0.95) drop-shadow(0 0 2px #e0b366);
    transform: scale(0.98);
}
.download-btn-icon {
    font-size: 2.3em;
    margin-left: 12px;
    color: #ffd77a;
    text-shadow: 0 2px 8px #000a, 0 0 6px #e0b36644;
    flex-shrink: 0;
}
.download-btn-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
}
.download-btn-title {
    font-family: 'Cinzel', serif;
    font-size: 1.18em;
    font-weight: bold;
    color: #ffd77a;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #000a, 0 0 6px #e0b36644;
    margin-bottom: 2px;
}
.download-btn-sub {
    font-size: 1em;
    font-weight: 400;
    color: #ffe7a0;
    letter-spacing: 1px;
    opacity: 1;
    text-shadow: 0 2px 8px #000a;
    margin-top: 0;
} 

.download-btns-circular {
    display: flex;
    flex-direction: row;
    gap: 38px;
    width: 100%;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 8px;
}
.download-btn-circular-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
.download-btn-circular {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 40%, #23202c 70%, #18151f 100%);
    border: 4px double #e0b366;
    box-shadow: 0 4px 24px rgba(224,179,102,0.18), 0 0 0 6px #2d253a inset;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.18s, border 0.18s, transform 0.18s, filter 0.18s;
    cursor: pointer;
    position: relative;
    z-index: 1;
    background-clip: padding-box;
    outline: none;
    text-decoration: none;
}
.download-btn-circular-icon {
    font-size: 3em;
    color: #ffd77a;
    text-shadow: 0 2px 12px #000a, 0 0 8px #e0b36644;
    transition: color 0.18s, text-shadow 0.18s;
}
.download-btn-circular:hover, .download-btn-circular:focus {
    box-shadow: 0 0 32px 0 #ffd77a99, 0 4px 24px rgba(224,179,102,0.22), 0 0 0 8px #e0b36644 inset;
    border-color: #ffd77a;
    filter: brightness(1.08) drop-shadow(0 0 8px #ffd77a88);
    animation: pulsarBtn 0.7s infinite alternate;
}
@keyframes pulsarBtn {
    0% { transform: scale(1); }
    100% { transform: scale(1.07); }
}
.download-btn-circular-label {
    margin-top: 10px;
    font-family: 'Cinzel', serif;
    color: #ffd77a;
    font-size: 1.08em;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #000a;
    line-height: 1.2;
}
.download-btn-circular-label small {
    display: block;
    color: #ffe7a0;
    font-size: 0.98em;
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #000a;
} 

/* Loja Modal */
.loja-modal-content {
  max-width: 1100px;
  width: 100%;
  min-width: 600px;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  justify-content: center;
  background: #221c2e;
  border-radius: 28px;
  box-shadow: 0 12px 64px 0 rgba(224,179,102,0.13), 0 8px 48px rgba(0,0,0,0.32);
  padding: 0;
}
.loja-produtos {
  flex: 1.2;
  background: #18151f;
  border-radius: 28px 0 0 28px;
  padding: 38px 24px 38px 38px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 320px;
  border-right: 2.5px solid #e0b366;
}
.loja-titulo {
  font-family: 'Cinzel', serif;
  color: #ffd77a;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.loja-produtos-lista {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.loja-produto-card {
  background: linear-gradient(135deg, #23202c 60%, #18151f 100%);
  border: 2.5px solid #e0b366;
  border-radius: 18px;
  box-shadow: 0 2px 18px #e0b36622;
  padding: 18px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s, border 0.18s, transform 0.18s;
  cursor: pointer;
  position: relative;
}
.loja-produto-card:hover, .loja-produto-card.selecionado {
  box-shadow: 0 0 32px 0 #ffd77a99, 0 6px 24px rgba(224,179,102,0.22);
  border-color: #ffd77a;
  transform: scale(1.03);
}
.loja-produto-img {
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
}
.loja-produto-nome {
  font-family: 'Cinzel', serif;
  color: #ffd77a;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 4px;
  text-align: center;
}
.loja-produto-valor {
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 2px;
}
.loja-produto-bonus {
  color: #4fd7ff;
  font-size: 1em;
  margin-bottom: 10px;
  text-align: center;
}
.loja-produto-btn {
  background: #ffd77a;
  color: #18151f;
  border: none;
  border-radius: 8px;
  padding: 8px 24px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin-top: 4px;
}
.loja-produto-btn.selecionado, .loja-produto-card.selecionado .loja-produto-btn {
  background: #e0b366;
  color: #18151f;
  cursor: default;
}
.loja-carrinho {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 38px 38px 38px 24px;
  min-width: 320px;
  position: relative;
}
.loja-carrinho .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
}
.loja-passoapasso {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 28px;
  width: 100%;
  justify-content: flex-start;
}
.loja-passo {
  background: #23202c;
  color: #ffd77a;
  font-family: 'Cinzel', serif;
  font-size: 1em;
  border-radius: 8px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px #e0b36622;
  font-weight: bold;
}
.loja-passo-icone {
  font-size: 1.2em;
}
.loja-carrinho-resumo {
  background: #23202c;
  border-radius: 14px;
  box-shadow: 0 2px 12px #e0b36633;
  padding: 18px 18px 14px 18px;
  width: 100%;
  margin-bottom: 18px;
}
.loja-carrinho-titulo {
  color: #ffd77a;
  font-family: 'Cinzel', serif;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 10px;
}
.loja-carrinho-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.loja-carrinho-img {
  width: 38px;
  height: 38px;
}
.loja-carrinho-nome {
  color: #fff;
  font-size: 1em;
  font-family: 'Cinzel', serif;
  font-weight: bold;
}
.loja-carrinho-valor {
  color: #ffd77a;
  font-size: 1em;
  font-weight: bold;
}
.loja-carrinho-bonus {
  color: #4fd7ff;
  font-size: 0.95em;
}
.loja-confirmar-btn {
  width: 100%;
  background: linear-gradient(90deg, #ffd77a 60%, #e0b366 100%);
  color: #18151f;
  border: none;
  border-radius: 10px;
  padding: 14px 0;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 2px 12px #e0b36633;
  transition: background 0.18s, color 0.18s;
}
.loja-confirmar-btn:hover {
  background: linear-gradient(90deg, #ffe7a0 60%, #ffd77a 100%);
  color: #18151f;
}
.loja-alerta-discord {
  background: #ffd77a;
  color: #18151f;
  font-size: 1.08em;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  padding: 14px 18px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 12px #e0b36655;
  margin-top: 12px;
  width: 100%;
}
@media (max-width: 1100px) {
  .loja-modal-content {
    flex-direction: column;
    min-width: 0;
    max-width: 98vw;
    padding: 0;
  }
  .loja-produtos, .loja-carrinho {
    border-radius: 28px 28px 0 0;
    min-width: 0;
    width: 100%;
    padding: 28px 8vw 18px 8vw;
  }
  .loja-carrinho .modal-close {
    top: 12px;
    right: 12px;
  }
  .loja-passoapasso {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }
} 

.btn.btn-primary[style*="background:#5865f2"] {
  box-shadow: 0 0 0 3px #5865f288, 0 2px 12px #5865f288;
  border: 2px solid #5865f2;
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.18s;
  position: relative;
}
.btn.btn-primary[style*="background:#5865f2"]:hover, .btn.btn-primary[style*="background:#5865f2"]:focus {
  background: #6b7cff !important;
  color: #fff !important;
  box-shadow: 0 0 16px 4px #5865f2cc, 0 2px 18px #5865f288;
  transform: scale(1.04);
  outline: none;
}
/* Espaço extra no rodapé do modal de compras */
#comprasModal .modal-content > div:last-child {
  margin-bottom: 24px !important;
} 

@media (max-width: 800px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 8px;
    height: auto;
  }
  .logo {
    font-size: 1.1em;
    margin-bottom: 8px;
  }
  .main-navbar {
    margin-left: 0 !important;
    gap: 18px;
    font-size: 0.98em;
    flex-wrap: wrap;
  }
  .server-time-block {
    margin: 12px 0 0 0;
    align-self: flex-end;
  }
}

@media (max-width: 500px) {
  .header-content {
    flex-direction: column;
    align-items: stretch;
    padding: 6px 2px;
  }
  .logo {
    font-size: 0.95em;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .main-navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-left: 0 !important;
    font-size: 0.95em;
  }
  .server-time-block {
    margin: 10px 0 0 0;
    min-width: unset;
    align-self: flex-end;
  }
} 

.btn-discord-topo:hover {
  background: #7289da;
  color: #fff;
  box-shadow: 0 4px 16px #5865f2cc;
  transform: scale(1.07);
  transition: all 0.18s;
} 

#ember-particles {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 1;
}
.ember-particle {
  position: absolute;
  bottom: 0;
  background: radial-gradient(circle at 60% 40%, #ffd77a 60%, #e04e00 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px 2px #e0b36699, 0 0 24px 0 #e04e0033;
  animation: emberUp 5s linear infinite;
}
@keyframes emberUp {
  0% {
    transform: translateY(0) scale(1) translateX(0);
    opacity: 0.7;
  }
  60% {
    opacity: 1;
    transform: translateY(-60vh) scale(1.1) translateX(10px);
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) scale(0.8) translateX(-10px);
  }
}

#magic-particles {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 2;
}
.magic-particle {
  position: absolute;
  background: radial-gradient(circle, #fff7b2 0%, #ffd77a 60%, #e0b366 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px 2px #ffd77a99, 0 0 16px 0 #fff7b233;
  animation: magicFloat 8s linear infinite;
}
@keyframes magicFloat {
  0% {
    transform: translateY(0) scale(1) translateX(0);
    opacity: 0.2;
  }
  50% {
    opacity: 0.4;
    transform: translateY(-30vh) scale(1.2) translateX(10px);
  }
  100% {
    opacity: 0;
    transform: translateY(-60vh) scale(0.8) translateX(-10px);
  }
}

/* Estilos para o Modal de Rank */
.rank-modal-content {
  max-width: 700px;
  width: 90vw;
  padding: 32px 40px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

/* Garantir que o título seja visível no modal de rank */
.rank-modal-content .modal-title {
  position: sticky;
  top: 0;
  background: #221c2e;
  padding: 20px 0;
  margin: -32px -40px 32px -40px;
  z-index: 100;
  border-bottom: 2px solid #e0b366;
}

.rank-content {
  width: 100%;
  margin: 24px 0;
  display: block;
}

.rank-content:first-of-type {
  margin-top: 0;
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  background: #18151f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  margin-bottom: 0;
}

.rank-table:first-of-type {
  margin-top: 0;
}

.rank-table thead {
  background: linear-gradient(90deg, #e0b366 0%, #ffd77a 100%);
}

.rank-header {
  color: #18151f;
  font-family: 'Cinzel', serif;
  font-size: 1.1em;
  font-weight: bold;
  padding: 16px 12px;
  text-align: center;
  letter-spacing: 1px;
}

.rank-table tbody tr {
  border-bottom: 1px solid #2a2333;
  transition: background 0.2s;
}

.rank-table tbody tr:hover {
  background: #23202c;
}

.rank-table tbody tr:last-child {
  border-bottom: none;
}

.rank-position {
  text-align: center;
  padding: 16px 12px;
  font-family: 'Cinzel', serif;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffd77a;
  width: 15%;
}

.player-name {
  padding: 16px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #fff;
  font-weight: 600;
  width: 35%;
}

.player-level {
  text-align: center;
  padding: 16px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #4fd7ff;
  font-weight: bold;
  width: 25%;
}

.player-emoney {
  text-align: center;
  padding: 16px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #ffd77a;
  font-weight: bold;
  width: 25%;
}

.rank-footer {
  text-align: center;
  margin-top: 20px;
  padding: 16px;
  background: #23202c;
  border-radius: 10px;
  border: 1px solid #3a334a;
}

.rank-footer p {
  color: #bfae7a;
  font-size: 0.95em;
  margin: 0;
  font-style: italic;
}

/* Divisor entre rankings */
.rank-divider {
  text-align: center;
  margin: 40px 0;
  position: relative;
}

/* Garantir que a primeira tabela seja visível */
.rank-content:first-of-type .rank-table {
  border: 2px solid #e0b366;
  box-shadow: 0 6px 25px rgba(224,179,102,0.2);
}

/* Estilo específico para o primeiro ranking */
.rank-content:first-of-type {
  margin-top: 0;
  padding: 20px;
  background: rgba(224,179,102,0.05);
  border-radius: 15px;
  border: 1px solid rgba(224,179,102,0.2);
}

/* Título principal mais destacado */
#rankModal .modal-title {
  font-size: 2.4em;
  margin-bottom: 32px;
  color: #ffd77a;
  text-shadow: 0 4px 20px rgba(224,179,102,0.6);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 100 !important;
}

.rank-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #e0b366 50%, transparent 100%);
  z-index: 1;
}

.rank-divider span {
  background: #18151f;
  padding: 0 20px;
  font-size: 1.5em;
  position: relative;
  z-index: 2;
  color: #ffd77a;
}

/* Título das legiões */
.legion-title {
  font-family: 'Cinzel', serif;
  color: #4fd7ff;
  font-size: 1.8em;
  font-weight: bold;
  text-align: center;
  margin: 32px 0 24px 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px #000a;
}

/* Tabela das legiões */
.legion-table {
  margin-top: 20px;
}

.legion-table .rank-header {
  font-size: 1em;
  padding: 14px 8px;
}

.legion-name {
  padding: 16px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #fff;
  font-weight: 600;
  width: 25%;
}

.legion-leader {
  padding: 16px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #4fd7ff;
  font-weight: 600;
  width: 25%;
}

.legion-money {
  text-align: center;
  padding: 16px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #ffd77a;
  font-weight: bold;
  width: 20%;
}

.legion-members {
  text-align: center;
  padding: 16px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #ff6b6b;
  font-weight: bold;
  width: 15%;
}

/* Título das famílias */
.family-title {
  font-family: 'Cinzel', serif;
  color: #ff6b6b;
  font-size: 1.8em;
  font-weight: bold;
  text-align: center;
  margin: 0 0 24px 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px #000a;
}

/* Tabela das famílias */
.family-table {
  margin-top: 20px;
}

.family-table .rank-header {
  font-size: 1em;
  padding: 14px 8px;
}

.family-name {
  padding: 16px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #fff;
  font-weight: 600;
  width: 25%;
}

.family-leader {
  padding: 16px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #ff6b6b;
  font-weight: 600;
  width: 25%;
}

.family-money {
  text-align: center;
  padding: 16px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #ffd77a;
  font-weight: bold;
  width: 20%;
}

.family-members {
  text-align: center;
  padding: 16px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #4fd7ff;
  font-weight: bold;
  width: 15%;
}

/* Estilos para o Modal de Cadastro */
.cadastro-modal-content {
  max-width: 500px;
  width: 90vw;
  padding: 40px 50px;
  max-height: 80vh;
  overflow-y: auto;
}

/* Scrollbar personalizado para modais */
.cadastro-modal-content::-webkit-scrollbar,
.rank-modal-content::-webkit-scrollbar {
  width: 12px;
}

.cadastro-modal-content::-webkit-scrollbar-track,
.rank-modal-content::-webkit-scrollbar-track {
  background: #18151f;
  border-radius: 6px;
  border: 2px solid #3a334a;
}

.cadastro-modal-content::-webkit-scrollbar-thumb,
.rank-modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e0b366 0%, #ffd77a 100%);
  border-radius: 6px;
  border: 2px solid #18151f;
  box-shadow: 0 0 8px rgba(224,179,102,0.3);
}

.cadastro-modal-content::-webkit-scrollbar-thumb:hover,
.rank-modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffd77a 0%, #e0b366 100%);
  box-shadow: 0 0 12px rgba(224,179,102,0.5);
}

/* Scrollbar para Firefox */
.cadastro-modal-content,
.rank-modal-content {
  scrollbar-width: thin;
  scrollbar-color: #e0b366 #18151f;
}

.cadastro-form-container {
  width: 100%;
  margin-top: 20px;
}

.cadastro-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  color: #ffd77a;
  font-size: 1.1em;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  letter-spacing: 1px;
}

.form-row input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  border: 2px solid #3a334a;
  background: #18151f;
  color: #fff;
  font-size: 1.1em;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  font-family: 'Open Sans', Arial, sans-serif;
}

.form-row input:focus {
  border: 2px solid #ffd77a;
  box-shadow: 0 0 0 3px #e0b36644, 0 4px 20px rgba(224,179,102,0.2);
  background: #221c2e;
  transform: translateY(-2px);
}

.form-row input::placeholder {
  color: #bfae7a;
  opacity: 0.7;
  font-size: 0.95em;
}

.form-submit {
  margin-top: 16px;
  text-align: center;
}

.cadastro-btn {
  width: 100%;
  padding: 18px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd77a 0%, #e0b366 100%);
  color: #181a1b;
  font-family: 'Cinzel', serif;
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(224,179,102,0.3);
  text-transform: uppercase;
}

.cadastro-btn:hover {
  background: linear-gradient(135deg, #fff 0%, #ffd77a 100%);
  color: #181a1b;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(224,179,102,0.4);
}

.cadastro-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(224,179,102,0.3);
}

/* Mensagens de resposta */
.message {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 1.05em;
  border: 2px solid;
}

.message.error {
  background: rgba(255, 107, 107, 0.1);
  border-color: #ff6b6b;
  color: #ff6b6b;
}

.message.success {
  background: rgba(79, 215, 255, 0.1);
  border-color: #4fd7ff;
  color: #4fd7ff;
}

/* Responsividade para o modal de rank */
@media (max-width: 600px) {
  .rank-modal-content {
    padding: 24px 20px;
  }
  
  .rank-table {
    font-size: 0.9em;
  }
  
  .rank-header {
    padding: 12px 8px;
    font-size: 1em;
  }
  
  .rank-position,
  .player-name,
  .player-level,
  .player-emoney {
    padding: 12px 8px;
    font-size: 0.9em;
  }
  
  .legion-title {
    font-size: 1.4em;
  }
  
  .rank-divider {
    margin: 24px 0;
  }
  
  .rank-divider span {
    font-size: 1.2em;
    padding: 0 15px;
  }
  
  .legion-name,
  .legion-leader,
  .legion-money,
  .legion-members {
    padding: 12px 8px;
    font-size: 0.9em;
  }
  
  .family-title {
    font-size: 1.4em;
  }
  
  .family-name,
  .family-leader,
  .family-money,
  .family-members {
    padding: 12px 8px;
    font-size: 0.9em;
  }
  
  /* Responsividade para cadastro */
  .cadastro-modal-content {
    padding: 30px 25px;
    max-height: 90vh;
  }
  
  .cadastro-form {
    gap: 20px;
  }
  
  .form-row input {
    padding: 14px 16px;
    font-size: 1em;
  }
  
  .cadastro-btn {
    padding: 16px 0;
    font-size: 1.1em;
  }
  
  /* Responsividade para rank */
  .rank-modal-content {
    max-height: 90vh;
    padding: 24px 20px;
  }
} 