@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-red: #ea0000;
    --primary-red-glow: rgba(234, 0, 0, 0.6);
    --primary-cyan: #00f0ff;
    --primary-cyan-glow: rgba(0, 240, 255, 0.6);
    --dark-bg: #030303;
    --dark-panel: #0a0a0a;
    --glass-bg: rgba(10, 10, 10, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    --container-width: 1400px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(30, 0, 0, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 20, 30, 0.6) 0%, transparent 40%);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

/* ================= HEADER ================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    height: 80px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.main-header .container {
    height: 100%;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-area {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #fff, var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px var(--primary-red-glow));
}

.main-menu {
    display: flex;
    gap: 30px;
}

.main-menu a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    position: relative;
    padding: 28px 0;
    /* Full height clickable roughly */
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    transition: width var(--transition-speed);
    box-shadow: 0 0 10px var(--primary-red);
}

.main-menu a:hover,
.main-menu a.active {
    color: #fff;
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

/* Dropdown Support */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--dark-panel);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--primary-red);
    top: 100%;
    left: 0;
    padding: 10px 0;
    border-radius: 0 0 4px 4px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInDropdown 0.3s ease;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content li {
    padding: 0;
}

.dropdown-content a {
    color: var(--text-muted);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    transition: 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 25px;
    border-left: 3px solid var(--primary-red);
}

.dropdown-content a::after {
    display: none;
    /* Remove bottom underline from main menu style */
}


.user-area {
    display: flex;
    gap: 15px;
}

.btn-login,
.btn-register {
    padding: 10px 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-login {
    background: transparent;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: 0 0 5px rgba(0, 240, 255, 0.2);
}

.btn-login:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px var(--primary-cyan-glow);
    text-shadow: 0 0 8px var(--primary-cyan);
}

.btn-register {
    background: var(--primary-red);
    border: 1px solid var(--primary-red);
    color: #fff;
    box-shadow: 0 0 10px var(--primary-red-glow);
}

.btn-register:hover {
    background: #cc0000;
    box-shadow: 0 0 20px var(--primary-red-glow);
    transform: scale(1.05);
}

/* ================= HERO SECTION & SLIDER ================= */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -80px;
    /* Offset fixed header */
    padding-top: 80px;
    background: #000;
}

/* Slider Container inside Hero */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 15%;
    background-repeat: no-repeat;
    opacity: 0;
    animation: slideShow 15s infinite;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 5s;
}

.slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes slideShow {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 1;
    }

    33% {
        opacity: 1;
        transform: scale(1.1);
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, #050505 90%),
        rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(0, 0, 0, 1);
    position: relative;
    display: inline-block;
}

.hero-title::before {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -1px 0 var(--primary-red);
    top: 0;
    color: #fff;
    background: transparent;
    mix-blend-mode: overlay;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: textGlitch 4s infinite linear alternate-reverse;
}

.hero-subtitle {
    font-size: 2.2rem;
    color: var(--primary-red);
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 40px;
    text-shadow: 0 0 10px var(--primary-red-glow), 0 0 20px #000;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 0 20px;
    backdrop-filter: blur(5px);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.hero-features li {
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: 0.3s;
    color: #fff;
    position: relative;
    /* relative for absolute tooltip */
    cursor: help;
}

.hero-features li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-features li::before {
    content: '◆';
    color: var(--primary-cyan);
    font-size: 0.8rem;
}

/* ================= TOOLTIPS ================= */
.hero-features li::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    max-width: 280px;
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid var(--primary-cyan);
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 400;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 240, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy */
    pointer-events: none;
    z-index: 100;
}

.hero-features li:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ================= CONTAINER ================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* ================= VOCATIONS SECTION ================= */
.vocations-section-new {
    margin: -100px 0 80px 0;
    position: relative;
    z-index: 20;
}

.vocations-header h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 50px;
    text-shadow: 0 0 20px var(--primary-red-glow);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.vocations-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    margin: 15px auto 0;
    box-shadow: 0 0 10px var(--primary-red);
}

.vocations-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.vocation-card-new {
    background: var(--dark-panel);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    /* Sharper corners */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.vocation-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 60%, #000 100%);
    z-index: 1;
    pointer-events: none;
}

.vocation-card-new:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 50px rgba(255, 51, 51, 0.2);
}

.vocation-card-inner {
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.vocation-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    opacity: 0.6;
    filter: grayscale(80%);
}

.vocation-card-new:hover .vocation-img {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}

.vocation-content {
    position: relative;
    z-index: 2;
    padding: 25px;
    transform: translateY(20px);
    transition: 0.4s;
}

.vocation-card-new:hover .vocation-content {
    transform: translateY(0);
}

.vocation-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

.vocation-promo {
    color: var(--primary-red);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vocation-desc {
    color: #ccc;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s 0.1s;
    height: 0;
    overflow: hidden;
}

.vocation-card-new:hover .vocation-desc {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-bottom: 10px;
}

/* ================= CONTENT GRID ================= */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    /* Slightly wider sidebar for widgets */
    gap: 40px;
    margin-bottom: 80px;
}

.main-box {
    background: var(--dark-panel);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Highlight Box */
.highlight-box {
    display: flex;
    background: linear-gradient(90deg, #0f0f0f 0%, #0a0a0a 100%);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--primary-cyan);
    border-radius: 4px;
    margin-bottom: 40px;
    overflow: hidden;
    transition: 0.3s;
}

.highlight-box:hover {
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.15);
    background: #141414;
}

.highlight-thumb {
    width: 180px;
    min-width: 180px;
    background-color: #222;
    background-image: url('https://dragonsouls.com.br/images/page-img.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.highlight-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.btn-read-more {
    align-self: flex-start;
    margin-top: 15px;
    padding: 8px 20px;
    background: transparent;
    color: var(--primary-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--primary-cyan);
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-read-more:hover {
    background: var(--primary-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--primary-cyan-glow);
}

/* ================= SIDEBAR ================= */
.sidebar-widget {
    background: var(--dark-panel);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
    /* Fancy Hover Effect for widget */
    transition: 0.3s;
}

.sidebar-widget:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* New Header Style to Match Request (Cyan Block/Glass) */
.widget-header {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), rgba(0, 0, 0, 0));
    border-left: 4px solid var(--primary-cyan);
    padding: 15px 20px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.widget-body {
    padding: 20px;
}

/* Sidebar Menu List (Game Info) */
.sidebar-menu {
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu a {
    display: block;
    padding: 12px 0;
    color: #bbb;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
    padding-left: 10px;
    border-left: 0px solid var(--primary-cyan);
}

.sidebar-menu a:hover {
    color: #fff;
    padding-left: 15px;
    border-left: 3px solid var(--primary-cyan);
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.05), transparent);
}

/* Server Status Widget */
.server-status-row {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.server-status-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.server-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.status-online {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.status-offline {
    color: #ff0000;
}

.server-players {
    color: #888;
    font-size: 0.85rem;
}

/* Forms */
.form-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 2px;
    font-family: var(--font-body);
    transition: 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, var(--primary-cyan), #00aeb6);
    border: none;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.btn-submit:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.sidebar a.account-link {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: 0.3s;
}

.sidebar a.account-link:hover {
    color: #fff;
    text-shadow: 0 0 5px #fff;
}

/* ================= FOOTER ================= */
.footer {
    background: #000;
    border-top: 1px solid var(--glass-border);
    padding: 80px 0;
    text-align: center;
    position: relative;
    margin-top: 50px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    box-shadow: 0 0 10px var(--primary-red);
}

.footer p {
    color: #444;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {

    /* Improve tablet view */
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-section {
        height: auto;
        min-height: 500px;
        padding: 100px 0;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: auto;
        padding: 10px 0;
        position: relative;
        /* Unstick on mobile easiest fix */
        background: #000;
    }

    .main-header .container {
        height: auto;
    }

    .nav-bar {
        flex-direction: column;
        height: auto;
        gap: 20px;
        padding: 20px 0;
    }

    .hero-section {
        margin-top: 0;
    }

    .logo-area {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .main-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .main-menu a {
        padding: 5px;
        font-size: 0.8rem;
    }
}