:root {
    --color-bg-primary: #050709;
    --color-bg-secondary: #080b0a;
    --color-bg-tertiary: #0c1018;
    --color-bg-menu: rgba(5, 8, 8, 0.92);
    --color-border-menu: #143f3d;
    --color-border-menu-glow: #2b6f6b;
    --color-text-primary: #f4f0e8;
    --color-text-secondary: #9b9b95;
    --color-accent-gold: #d7a91b;
    --color-accent-gold-dark: #cfa51b;
    --color-accent-cyan: #3fbac2;
    --color-accent-cyan-light: #7fd6d1;
    --color-radius: 8px;
    --color-radius-sm: 6px;
    /* Refino visual: easing premium + glows em camadas (UI Modern Dark) */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-gold-glow: 0 10px 26px -8px rgba(215, 169, 27, 0.5), 0 0 34px rgba(215, 169, 27, 0.16);
    --shadow-cyan-glow: 0 10px 28px -8px rgba(63, 186, 194, 0.42), 0 0 30px rgba(63, 186, 194, 0.14);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    /* reserva o espaço da barra de rolagem sempre — evita o "pulo" horizontal
       ao navegar entre páginas com e sem scroll (site <-> login/cadastro) */
    scrollbar-gutter: stable;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-accent-gold);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-bg-menu);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border-menu);
    box-shadow: 0 0 30px rgba(20, 63, 61, 0.3);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.8rem 2.5rem;
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    justify-self: start;
}

.logo-img {
    height: 42px !important;
    width: auto !important;
    max-height: 42px !important;
    /* remove o fundo preto da PNG sobre o header escuro */
    mix-blend-mode: lighten;
    transition: transform 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 14px rgba(215, 169, 27, 0.45));
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-self: center;
}

.mobile-menu-btn {
    justify-self: end;
}

.nav-link {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    color: var(--color-text-primary);
    padding: 0.6rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-cyan-light));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link--highlight {
    border: 2px solid var(--color-accent-gold);
    padding: 0.7rem 1.8rem;
    border-radius: var(--color-radius-sm);
    box-shadow: 0 0 20px rgba(215, 169, 27, 0.25);
    position: relative;
    overflow: hidden;
}

.nav-link--highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(215, 169, 27, 0.15), transparent);
    transition: left 0.5s ease;
}

.nav-link--highlight:hover::before {
    left: 100%;
}

.nav-link--highlight:hover {
    background: rgba(215, 169, 27, 0.1);
    box-shadow: 0 0 30px rgba(215, 169, 27, 0.4);
}

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

.mobile-menu-btn span {
    width: 26px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all 0.3s ease;
}

.main {
    margin-top: 75px;
}

.hero {
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-tertiary) 50%, var(--color-bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../banner/bannerlogo.png') center/cover no-repeat;
    opacity: 0.4;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--color-bg-primary) 75%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2.5rem;
}

.hero-eyebrow {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    color: var(--color-accent-cyan);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    text-shadow: 0 0 30px rgba(215, 169, 27, 0.5), 0 0 60px rgba(215, 169, 27, 0.2);
    margin-bottom: 1.2rem;
}

.hero-divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
    margin: 0 auto 2rem;
}

.hero-subtitle {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    color: var(--color-text-primary);
    margin-bottom: 2.2rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    font-size: 1.22rem;
    font-weight: 400;
    color: #e8e3d8;
    max-width: 650px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-status {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-status-item {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.05rem;
    color: var(--color-text-primary);
    padding: 0.55rem 1.4rem;
    border: 1px solid var(--color-border-menu);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.hero-status-item:hover {
    border-color: var(--color-accent-cyan);
    box-shadow: 0 0 18px rgba(63, 186, 194, 0.2);
    transform: translateY(-2px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    padding: 1.1rem 2.3rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    cursor: pointer;
    transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out),
        background 0.28s var(--ease-out), color 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
    border: none;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    will-change: transform;
}

.btn:active {
    transform: translateY(1px) scale(0.985);
}

.btn:focus-visible {
    outline: 2px solid var(--color-accent-cyan-light);
    outline-offset: 3px;
}

.btn-primary {
    background: linear-gradient(135deg, #ecc23a, var(--color-accent-gold) 52%, #c79a16);
    color: #050709;
    border: 1px solid rgba(226, 181, 25, 0.85);
    box-shadow: 0 6px 18px -6px rgba(215, 169, 27, 0.5);
}

/* Brilho que varre o botão dourado ao passar o mouse */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s var(--ease-out);
    pointer-events: none;
    z-index: -1;
}

.btn-primary:hover::before,
.btn-primary:focus::before {
    left: 140%;
}

.btn-primary:hover,
.btn-primary:focus {
    background: rgba(5, 7, 9, 0.92);
    color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    box-shadow: var(--shadow-gold-glow);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-accent-cyan);
    color: var(--color-accent-cyan);
    box-shadow: 0 0 15px rgba(63, 186, 194, 0.2);
}

.btn-secondary:hover {
    background: rgba(63, 186, 194, 0.12);
    box-shadow: var(--shadow-cyan-glow);
    transform: translateY(-3px);
}

.section {
    padding: 6rem 2.5rem;
}

.section--tight-top {
    padding-top: 2rem !important;
    margin-top: 0 !important;
}

.section--tight-top > .container,
.section--tight-top > .container-custom,
.section--tight-top > .container-fluid {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.info-section.section--tight-top,
.downloads-section.section--tight-top,
.ranking-section.section--tight-top {
    padding-top: 2rem !important;
    margin-top: 0 !important;
}

.ranking-page-content {
    padding-top: 28px !important;
    margin-top: 0 !important;
    overflow: visible !important;
}

.ranking-section.ranking-page-content {
    padding-top: 28px !important;
    margin-top: 0 !important;
    overflow: visible !important;
}

.ranking-page-content .container,
.ranking-page-content .container-custom,
.ranking-page-content .ranking-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
    overflow: visible !important;
}

.ranking-page-content .rank-iframe {
    display: block;
    width: 100%;
    min-height: 780px;
    border: 0;
    margin-top: 0 !important;
    overflow: visible;
}

.section-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.8rem;
    text-align: center;
    color: var(--color-accent-gold);
    margin-bottom: 3.5rem;
}

.page-hero {
    padding: 4rem 2.5rem;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-tertiary) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../imgs/land_pw04.png') center/cover no-repeat;
    opacity: 0.15;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    color: var(--color-accent-gold);
    margin-bottom: 1rem;
}

.page-hero-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

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

.feature-card {
    background: linear-gradient(180deg, var(--color-bg-secondary), var(--color-bg-primary));
    border: 1px solid var(--color-border-menu);
    border-radius: 14px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}

/* Brilho ambiente que surge no topo do card ao passar o mouse */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 50% 0%, rgba(63, 186, 194, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-accent-cyan);
    box-shadow: var(--shadow-cyan-glow);
    transform: translateY(-10px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1.3rem;
    border: 2px solid var(--color-accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-accent-cyan);
    box-shadow: 0 0 20px rgba(63, 186, 194, 0.25);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.feature-card:hover .feature-icon {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(63, 186, 194, 0.5);
}

.footer-logo-img {
    max-height: 96px;
    width: auto;
    margin-bottom: 1.3rem;
    /* remove o fundo preto da PNG sobre o rodapé escuro, mantendo só a arte */
    mix-blend-mode: lighten;
}

.security-note-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-accent-gold);
    border-radius: 50%;
    font-size: 0.85rem;
    line-height: 18px;
    text-align: center;
    margin-right: 0.6rem;
    font-weight: 700;
    color: var(--color-accent-gold);
}

.nav-link.active {
    color: var(--color-accent-gold);
}

.feature-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.4rem;
    color: var(--color-text-primary);
    margin-bottom: 0.7rem;
}

.feature-description {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.classes-section {
    background: var(--color-bg-secondary);
}

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

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

.class-card:hover {
    border-color: var(--color-accent-gold);
    transform: scale(1.03);
    box-shadow: 0 0 35px rgba(215, 169, 27, 0.25);
}

.class-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.class-image--placeholder {
    background: var(--color-bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.class-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.25rem;
    text-align: center;
    padding: 1.2rem;
    color: var(--color-text-primary);
}

.news-section {
    background: var(--color-bg-primary);
}

.news-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-menu);
    border-radius: var(--color-radius);
    padding: 2.5rem;
    margin-bottom: 1.8rem;
    transition: all 0.3s ease;
}

.news-card:hover {
    border-color: var(--color-accent-cyan);
    box-shadow: 0 0 30px rgba(63, 186, 194, 0.2);
}

.news-date {
    color: var(--color-accent-cyan);
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
}

.news-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--color-accent-gold);
    margin-bottom: 1.2rem;
}

.news-excerpt {
    color: var(--color-text-secondary);
    font-size: 1.02rem;
}

.info-section {
    background: var(--color-bg-primary);
    padding-top: 6rem;
}

.info-tabs {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.info-tab {
    padding: 0.9rem 1.8rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-menu);
    border-radius: var(--color-radius-sm);
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.05rem;
}

.info-tab.active,
.info-tab:hover {
    border-color: var(--color-accent-cyan);
    background: rgba(63, 186, 194, 0.12);
    box-shadow: 0 0 20px rgba(63, 186, 194, 0.2);
}

.info-content {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-menu);
    border-radius: var(--color-radius);
    padding: 3.5rem;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    font-size: 1.05rem;
}

.info-list li::before {
    content: '•';
    color: var(--color-accent-cyan);
    font-size: 1.6rem;
    line-height: 1;
}

.info-list li:last-child {
    border-bottom: none;
}

.downloads-section {
    background: var(--color-bg-primary);
    padding-top: 6rem;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.3rem;
    margin: 0 auto 3.5rem;
    max-width: 760px;
}

.download-card {
    background: linear-gradient(180deg, var(--color-bg-secondary), var(--color-bg-primary));
    border: 1px solid var(--color-border-menu);
    border-radius: 14px;
    padding: 2.8rem 2.5rem;
    text-align: center;
    transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.download-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 50% 0%, rgba(215, 169, 27, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
    pointer-events: none;
}

.download-card:hover::after {
    opacity: 1;
}

.download-card:hover {
    border-color: var(--color-accent-gold);
    box-shadow: var(--shadow-gold-glow);
    transform: translateY(-8px);
}

.download-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    color: var(--color-accent-gold);
    margin-bottom: 1.2rem;
}

.download-description {
    color: var(--color-text-secondary);
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
}

.requirements {
    background: linear-gradient(180deg, var(--color-bg-secondary), var(--color-bg-primary));
    border: 1px solid var(--color-border-menu);
    border-radius: 14px;
    padding: 2.8rem 2.5rem;
    margin: 0 auto 2.3rem;
    max-width: 760px;
    text-align: center;
}

.requirements-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--color-accent-cyan);
    margin-bottom: 1.6rem;
}

.requirements-list {
    list-style: none;
    display: inline-flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}

.requirements-list li {
    padding: 0.7rem 0.2rem 0.7rem 1.8rem;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    position: relative;
}

.requirements-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent-cyan);
    box-shadow: 0 0 10px rgba(63, 186, 194, 0.6);
    transform: translateY(-50%);
}

.security-note {
    background: rgba(215, 169, 27, 0.1);
    border: 1px solid var(--color-accent-gold);
    border-radius: var(--color-radius);
    padding: 1.8rem;
    text-align: center;
    color: var(--color-text-primary);
    font-size: 1.05rem;
}

.footer {
    position: relative;
    background: linear-gradient(180deg, var(--color-bg-secondary), var(--color-bg-primary));
    border-top: 1px solid var(--color-border-menu);
    padding: 4.5rem 2.5rem 2.5rem;
    overflow: hidden;
}

/* fio dourado de destaque no topo do rodapé */
.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
    opacity: 0.75;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.footer-brand {
    grid-column: span 2;
}

.footer-description {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    color: var(--color-text-secondary);
    max-width: 420px;
    font-size: 1.02rem;
    line-height: 1.75;
    font-weight: 300;
}

.footer-column-title {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin-bottom: 1.5rem;
    padding-bottom: 0.7rem;
    position: relative;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-gold), transparent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    color: var(--color-text-secondary);
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    transition: color 0.25s var(--ease-out), padding-left 0.25s var(--ease-out);
}

.footer-links a::before {
    content: '\203A';
    position: absolute;
    left: -2px;
    opacity: 0;
    color: var(--color-accent-gold);
    transition: opacity 0.25s var(--ease-out), left 0.25s var(--ease-out);
}

.footer-links a:hover {
    color: var(--color-accent-gold);
    padding-left: 16px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 2px;
}

.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.7rem;
    text-align: center;
}

/* losango dourado centralizado sobre a linha divisória */
.footer-bottom::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 11px;
    height: 11px;
    background: var(--color-bg-primary);
    border: 2px solid var(--color-accent-gold);
    transform: translateX(-50%) rotate(45deg);
    box-shadow: 0 0 14px rgba(215, 169, 27, 0.45);
}

.footer-bottom-brand {
    display: block;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    font-size: 0.95rem;
    margin-bottom: 0.55rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--color-text-secondary);
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.04em;
}

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

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

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-menu);
        flex-direction: column;
        padding: 2.5rem;
        gap: 1.8rem;
        border-bottom: 1px solid var(--color-border-menu);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-container {
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: space-between;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

    .section {
        padding: 4rem 1.5rem;
    }

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

    .footer-brand {
        grid-column: span 1;
    }

    .footer {
        padding: 3.5rem 1.5rem 2rem;
    }
}

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}

.classes-banner-section {
    padding: 2rem 2.5rem 0;
}

.classes-banner {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-menu);
    border-radius: var(--color-radius);
    overflow: hidden;
}

.classes-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.classes-grid-section {
    padding: 3rem 2.5rem 5rem;
}

.classes-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.class-card-full {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-menu);
    border-radius: var(--color-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.class-card-full:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(215, 169, 27, 0.25);
}

.class-card-full-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.class-card-full-info {
    padding: 1.5rem;
}

.class-card-full-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.4rem;
    color: var(--color-accent-gold);
    margin-bottom: 0.5rem;
}

.class-card-full-meta {
    color: var(--color-accent-cyan);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.class-card-full-summary {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.class-detail-section {
    padding: 4rem 2.5rem;
}

.class-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.class-detail-image {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-menu);
    border-radius: var(--color-radius);
    overflow: hidden;
}

.class-detail-img {
    width: 100%;
    height: auto;
    display: block;
}

.class-detail-block {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-menu);
    border-radius: var(--color-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.class-detail-block-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    color: var(--color-accent-gold);
    margin-bottom: 1.2rem;
}

.class-detail-text {
    color: var(--color-text-primary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.class-detail-text:last-child {
    margin-bottom: 0;
}

.class-detail-advantages,
.class-detail-disadvantages {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-menu);
    border-radius: var(--color-radius);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.class-detail-subtitle {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.3rem;
    color: var(--color-accent-cyan);
    margin-bottom: 1rem;
}

.class-detail-list {
    list-style: none;
}

.class-detail-list-item {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    color: var(--color-text-primary);
}

.class-detail-list-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.class-detail-list-item--advantage .class-detail-list-icon {
    background: rgba(63, 186, 194, 0.15);
    color: var(--color-accent-cyan);
    border: 1px solid var(--color-accent-cyan);
}

.class-detail-list-item--disadvantage .class-detail-list-icon {
    background: rgba(215, 169, 27, 0.15);
    color: var(--color-accent-gold);
    border: 1px solid var(--color-accent-gold);
}

@media (max-width: 1024px) {
    .class-detail-grid {
        grid-template-columns: 1fr;
    }

    .classes-grid-full {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .classes-banner-section,
    .classes-grid-section {
        padding: 2rem 1.5rem;
    }

    .class-detail-section {
        padding: 3rem 1.5rem;
    }

    .classes-grid-full {
        grid-template-columns: 1fr;
    }
}

.home-classes-section {
    background: var(--color-bg-secondary);
}

.home-classes-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.home-classes-intro-text {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.home-classes-banner {
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border-menu);
    border-radius: var(--color-radius);
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-classes-banner:hover {
    border-color: var(--color-accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(215, 169, 27, 0.25);
}

.home-classes-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.home-classes-banner-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(to top, rgba(5, 7, 9, 0.95), transparent);
}

.home-classes-banner-caption h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--color-accent-gold);
    margin-bottom: 0.5rem;
}

.home-classes-banner-caption p {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
