@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&display=swap');

/* ========================================
   VARIABLES
   ======================================== */
:root {
    --primary-purple: #F5B301;
    --primary-dark: #E6B800;
    --secondary-cyan: #FFD166;
    --bg-color: #050505;
    --bg-card: #0f0f15;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --gradient-main: linear-gradient(135deg, #F5B301, #F2C94C);
    --gold-gradient: linear-gradient(135deg, #FFD700, #FDB931);
    --silver-gradient: linear-gradient(135deg, #E0E0E0, #B0B0B0);
    --diamond-gradient: linear-gradient(135deg, #00e5ff, #2979ff);
    --gold-color: #FFD700;
    --silver-color: #C0C0C0;
    --diamond-color: #00e5ff;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #000;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
}

.logo span {
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* MENU HAMBURGER BUTTON */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.hamburger {
    width: 30px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hamburger Active State */
.menu-toggle.active .hamburger { background: transparent; }
.menu-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.menu-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; }

/* ========================================
   FULLSCREEN MENU
   ======================================== */
.menu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1001;
    display: flex;
    justify-content: flex-end;
}

.menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.5s;
}

.menu-mobile.active { pointer-events: auto; }
.menu-mobile.active .menu-backdrop { opacity: 1; }

.menu-content {
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    padding: 80px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.menu-mobile.active .menu-content { transform: translateX(0); }

.menu-header-mobile {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.menu-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
}

.menu-list {
    list-style: none;
    flex: 1;
    overflow-y: auto;
}

.menu-list li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
    transition-delay: calc(0.1s * var(--i));
}

.menu-mobile.active .menu-list li {
    opacity: 1;
    transform: translateX(0);
}

.menu-link {
    font-size: 1.2rem;
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: color 0.3s;
}

.menu-link i {
    color: var(--primary-purple);
    transition: transform 0.3s;
}

.menu-link:hover { color: #fff; }
.menu-link:hover i { transform: scale(1.2); }

.menu-link.active {
    color: var(--primary-purple);
    border-left: 3px solid var(--primary-purple);
    padding-left: 10px;
}

.menu-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.social-link:hover { color: var(--primary-purple); }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('assets/img/bg-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title span {
    display: block;
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SECTIONS GENERAL
   ======================================== */
.section {
    padding: 150px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-header {
    padding: 150px 0 60px;
    text-align: center;
    background: radial-gradient(circle at center top, rgba(124, 58, 237, 0.1), transparent 70%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-purple);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   CARDS & GRIDS
   ======================================== */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
}

.card-icon {
    margin-bottom: 20px;
    color: var(--primary-purple);
}

.icon-large {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--primary-purple);
    transition: transform 0.3s;
}

.icon-large svg {
    width: 40px;
    height: 40px;
}

.card:hover .icon-large {
    transform: scale(1.1) rotate(-5deg);
    background: var(--primary-purple);
    color: #fff;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-secondary);
}

/* HORIZONTAL CARD FOR TEAMS/JOBS */
.card-horizontal {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    align-items: flex-start; /* Align top */
    gap: 20px;
}

.card-horizontal:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
}

.card-horizontal .icon-large {
    margin: 0; /* Remove auto margin */
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #fff;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* GRIDS FOR INDEX */
.jobs-grid, .factions-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .jobs-grid, .factions-carousel {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FOOTER
   ======================================== */
/* FOOTER DIAGONAL STYLE */
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    transform: skewY(-1deg); /* Reduced skew */
    padding: 40px 0; /* Increased padding */
    max-width: 1200px; /* Limit width for alignment */
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    transform: skewY(1deg); /* Revert skew */
    padding: 0 20px;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block; /* Align underline to text */
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    transition: transform 0.3s;
}

/* Links Alinhados */
.footer-section a {
    color: var(--text-secondary);
    transition: color 0.3s, padding-left 0.3s;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--primary-purple);
    padding-left: 5px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-purple);
    color: #fff;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

/* ========================================
   SYSTEMS & ICONS FIX
   ======================================== */
.icon-medium {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    color: var(--secondary-cyan);
    transition: all 0.3s;
}

.icon-medium svg {
    width: 36px;
    height: 36px;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.system-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s;
}

.system-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-cyan);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.system-card:hover .icon-medium {
    background: var(--secondary-cyan);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.system-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #fff;
}

.system-card p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-purple);
}

.breadcrumb span {
    margin: 0 5px;
    color: #444;
}

/* ========================================
   NEW SHOP STYLE (STARTER PACK)
   ======================================== */
.shop-grid {
    display: flex;
    justify-content: center;
    align-items: center; /* Center vertically relative to each other */
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
}

.shop-card {
    background: rgba(20, 20, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    padding: 0;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.shop-card.featured {
    width: 360px; /* Larger center card */
    background: linear-gradient(to bottom, rgba(20, 40, 60, 0.95), rgba(10, 20, 30, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    z-index: 10;
}

/* CARD HEADER */
.card-header {
    width: 100%;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tier-name {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
}

.tier-subtitle {
    font-family: 'Brush Script MT', cursive; /* Fallback for signature style */
    font-size: 1.5rem;
    opacity: 0.8;
    margin-top: -5px;
}

/* GOLD STYLE */
.shop-card.gold { border-top: 4px solid var(--gold-color); }
.shop-card.gold .tier-name { 
    background: var(--gold-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.shop-card.gold .btn-shop {
    background: var(--gold-gradient);
    color: #000;
}

/* DIAMOND STYLE */
.shop-card.diamond { border-top: 4px solid var(--diamond-color); }
.shop-card.diamond .tier-name { 
    background: var(--diamond-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}
.shop-card.diamond .btn-shop {
    background: var(--diamond-gradient);
    color: #000;
}

/* SILVER STYLE */
.shop-card.silver { border-top: 4px solid var(--silver-color); }
.shop-card.silver .tier-name { 
    background: var(--silver-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.shop-card.silver .btn-shop {
    background: var(--silver-gradient);
    color: #000;
}

/* CARD IMAGE */
.card-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed to contain for full visibility */
    padding: 10px;
    transition: transform 0.5s;
}

.shop-card:hover .card-image img {
    transform: scale(1.1);
}

/* PRICE AREA */
.card-price-container {
    padding: 20px;
    text-align: center;
}

.price-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: #666;
    font-size: 1.2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Impact', sans-serif;
    letter-spacing: 1px;
}

/* BUTTON */
.btn-shop {
    width: 80%;
    padding: 12px;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 20%); /* Slight angled cut */
}

.btn-shop:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* FEATURES LIST */
.shop-features {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: rgba(0,0,0,0.2);
    flex: 1;
}

.shop-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #ccc;
}

.shop-features li i {
    color: var(--text-secondary);
}

.best-offer-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #e11d48;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 4px;
    letter-spacing: 1px;
}

/* ========================================
   ACCORDION STYLES
   ======================================== */
.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
    color: var(--primary-purple);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: rgba(0, 0, 0, 0.2);
}

.accordion-content p {
    padding: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.accordion-item.active .accordion-content {
    max-height: 500px; /* Arbitrary large height */
    transition: max-height 0.5s ease-in-out;
}

/* ========================================
   STREAMER & LIVES STYLES
   ======================================== */
.streamer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.streamer-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.streamer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
    border-color: var(--primary-purple);
}

.streamer-header {
    height: 100px;
    background: var(--gradient-main);
    position: relative;
}

.streamer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--bg-card);
    position: absolute;
    bottom: -40px;
    left: 20px;
    background: #333;
    object-fit: cover;
}

.streamer-info {
    padding: 50px 20px 20px;
}

.streamer-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.streamer-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.streamer-socials {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--primary-purple);
    transform: scale(1.1);
}

/* LIVE CARD */
.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.live-card {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.live-card:hover {
    transform: scale(1.02);
    border-color: #ff0000;
}

.live-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: #222;
    position: relative;
}

.live-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff0000;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-status::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.live-info {
    padding: 15px;
}

.live-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.live-streamer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-watch {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary-purple);
    padding: 10px;
    margin-top: 15px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background 0.3s;
    text-decoration: none;
    color: #fff;
}

.btn-watch:hover {
    background: var(--primary-dark);
}

/* ========================================
   DISCORD FLOAT BUTTON
   ======================================== */
.discord-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #5865F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
}

.discord-float:hover {
    transform: translateY(-5px) scale(1.1);
    background: #4752C4;
}

.discord-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* ========================================
   BLOG STYLES
   ======================================== */
.blog-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.blog-posts {
    flex: 2;
    min-width: 300px;
}

.blog-sidebar {
    flex: 1;
    min-width: 280px;
}

/* Post Card Styles (Compatible with blog.js) */
.blog-card, .blog-post-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover, .blog-post-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
}

.blog-image, .post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image, .blog-post-card:hover .post-image {
    transform: scale(1.05);
}

.blog-content, .post-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta, .post-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.post-category {
    background: rgba(124, 58, 237, 0.2);
    color: var(--primary-purple);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.blog-title, .post-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
}

.blog-excerpt, .post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
    flex: 1;
}

.read-more {
    align-self: flex-start;
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.read-more:hover {
    background: var(--primary-purple);
    color: #fff;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

/* Sidebar Styles */
.sidebar-card, .sidebar-widget {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}

.sidebar-title, .sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    position: relative;
}

.sidebar-title::after, .sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-purple);
}

.categories-list, .category-list {
    list-style: none;
}

.categories-list li, .category-list li {
    margin-bottom: 15px;
}

.categories-list a, .category-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.categories-list a:hover, .category-list a:hover {
    color: #fff;
    background: var(--primary-purple);
    transform: translateX(5px);
}

/* Recent Posts Widget */
.recent-post-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-item a {
    text-decoration: none;
    display: block;
    transition: opacity 0.3s;
}

.recent-post-item h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.recent-post-item:hover h4 {
    color: var(--primary-purple);
}

.recent-post-item span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ========================================
   AUTH PAGES (LOGIN / REGISTER)
   ======================================== */
.auth-section {
    min-height: calc(100vh - 80px); /* Fill screen minus header */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 20px 60px; /* Top padding for fixed header */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('assets/img/bg-hero.jpg') center/cover no-repeat fixed;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.5s ease;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.auth-header p {
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-footer {
    text-align: center;
    margin-top: 25px;
}

.auth-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: var(--primary-purple);
}

.error-message {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid #dc2626;
    color: #ef4444;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}
