@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;600;800&display=swap');

:root {
    --primary-color: #00f3ff;
    --primary-hover: #00d8e6;
    --secondary-color: #ff00ff;
    --bg-dark: #050505;
    --text-white: #ffffff;
    --text-gray: #aaaaaa;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --font-retro: 'Orbitron', sans-serif;
    --font-mono: 'Inter', sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Default Neo-Retro Cursor (Cyan Arrow) */
    cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3L21 12L12 14L9 21L3 3Z' fill='%23050505' stroke='%2300f3ff' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M3 3L21 12L12 14L9 21L3 3Z' fill='%2300f3ff' fill-opacity='0.2'/%3E%3C/svg%3E"), auto !important;
}

/* Interactive Cursor (Magenta Arrow) */
a,
a:visited,
a:hover,
button,
input[type="submit"],
input[type="button"],
.btn,
.btn-primary-neon,
.btn-neon-pink,
.btn-neon-cyan,
.btn-xs,
.user-profile-dropdown,
.avatar-wrapper,
.stat-link,
.stat-link *,
.side-nav-links a,
.nav-quick-links a,
.post-actions-row button,
.btn-like,
.btn-comment,
[role="button"] {
    cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3L21 12L12 14L9 21L3 3Z' fill='%23050505' stroke='%23ff00ff' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M3 3L21 12L12 14L9 21L3 3Z' fill='%23ff00ff' fill-opacity='0.2'/%3E%3C/svg%3E"), pointer !important;
}

body {
    font-family: var(--font-mono);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.4;
    /* Slightly tighter spacing as requested */
}

/* --- Admin Card Styles (Restored from Backups) --- */
.feedback-card,
.testers-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.feedback-card:hover,
.testers-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.feedback-header,
.testers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feedback-type,
.tester-status {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.type-bug {
    background: rgba(255, 0, 85, 0.2);
    color: #ff0055;
    border: 1px solid #ff0055;
}

.type-suggestion {
    background: rgba(0, 243, 255, 0.2);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.type-appeal {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid #ffd700;
}

.type-other {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-unread {
    border-left: 3px solid #ff8c00;
}

.status-read {
    border-left: 3px solid var(--text-gray);
}

.status-fixed,
.status-approved {
    border-left: 3px solid #00ff88;
}

.status-resolved,
.status-contacted {
    border-left: 3px solid var(--primary-color);
}

.status-pending {
    border-left: 3px solid #ffd700;
}

.status-rejected {
    border-left: 3px solid #ff0055;
}

/* --- Report Card Styles --- */
.report-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.report-reason {
    font-family: var(--font-retro);
    font-size: 0.75rem;
    color: #ffd700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-preview {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: var(--text-gray);
    border-left: 3px solid var(--primary-color);
}

.report-actions {
    display: flex;
    gap: 10px;
}

.feedback-message,
.tester-message {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.4;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.tester-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.tester-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tester-field label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

.btn-copy-email {
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

/* --- Responsive Table Wrapper --- */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

/* --- Mobile Improvements for Admin --- */
@media (max-width: 768px) {
    .admin-container {
        padding-top: 70px !important;
        padding-bottom: 100px !important;
    }

    .admin-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .tester-info,
    .dashboard-row {
        grid-template-columns: 1fr !important;
    }

    .search-box {
        flex-direction: column;
    }

    .users-table th,
    .users-table td {
        padding: 8px;
        font-size: 0.75rem;
    }

    /* Admin Dashboard Mobile Fixes */
    .admin-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }

    .admin-nav-cards {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .nav-card {
        padding: 15px 10px !important;
        font-size: 0.6rem !important;
    }

    .nav-card i {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }

    .stat-card {
        padding: 15px !important;
    }

    .stat-value {
        font-size: 1.1rem !important;
    }

    .stat-card i {
        font-size: 1.3rem !important;
        margin-bottom: 8px !important;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-retro);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 80px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        padding-top: 80px;
    }
}

/* Navbar Styles */
/* Base Feed Navbar defined below (Consolidated) */

.feed-nav-container,
.nav-inner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-quick-links {
    display: flex;
    gap: 20px;
}

.nav-quick-links a {
    color: var(--text-white);
    text-decoration: none;
    font-family: var(--font-retro);
    font-size: 0.8rem;
    transition: var(--transition);
}

.nav-quick-links a:hover {
    color: var(--primary-color);
}

.user-profile-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.user-profile-dropdown:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.avatar-wrapper {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.user-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-nickname {
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 600;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

.user-profile-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-color);
}

.dropdown-content hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.dropdown-content a.logout:hover {
    background: rgba(255, 0, 85, 0.1);
    color: #ff0055;
}

/* Hero Section - Full Screen Centered */
.hero {
    padding: 0;
    background: radial-gradient(circle at center, rgba(255, 0, 255, 0.1) 0%, transparent 70%),
        #050505;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.hero-container-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    position: relative;
    z-index: 10;
}

.warning-box {
    background: rgba(255, 0, 255, 0.03);
    border: 2px solid var(--secondary-color);
    padding: 30px 50px;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.15),
        inset 0 0 15px rgba(255, 0, 255, 0.1);
}

.warning-box h2 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 15px var(--secondary-color);
    font-weight: 900;
}

.warning-box p {
    font-size: 1.2rem;
    color: var(--text-white);
    letter-spacing: 2px;
    font-weight: 300;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.floating-logo {
    width: 100%;
    max-width: 300px;
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.3));
    animation: float-simple 4s ease-in-out infinite;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes float-simple {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Buttons */
.btn-neon-cyan {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-neon-cyan:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px var(--primary-color);
}

.btn-neon-pink {
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 8px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-neon-pink:hover {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 20px var(--secondary-color);
}

.btn-primary-neon {
    background: var(--primary-color);
    color: #000;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-retro);
    font-size: 0.9rem;
    display: inline-block;
    box-shadow: 0px 0px 15px rgba(0, 243, 255, 0.4);
    transition: var(--transition);
}

.btn-primary-neon:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 30px rgba(0, 243, 255, 0.8);
}

/* Footer Base */
.footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-mono);
    color: var(--text-gray);
    background: #050505;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-subtitle {
        margin: 0 auto 40px;
    }
}

/* Feed Navbar */
.feed-navbar {
    height: 70px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

/* Nav Inner Container defined above */

.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-coins {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: var(--transition);
}

.nav-coins:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd710;
}

.coin-icon {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
    transition: var(--transition);
}

.nav-coins:hover .coin-icon {
    transform: rotate(15deg) scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.nav-coins span {
    font-family: var(--font-mono);
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.feed-logo img {
    height: 35px;
    width: 35px;
    /* Added width for perfect circle */
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.nav-quick-links {
    display: flex;
    gap: 25px;
}

.nav-quick-links a {
    text-decoration: none;
    color: var(--text-white);
    font-family: var(--font-retro);
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-quick-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* User Profile Dropdown */
.user-profile-dropdown {
    position: relative;
    cursor: pointer;
}

.avatar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border-radius: 50%;
    background: transparent;
    border: 3px solid transparent;
    transition: var(--transition);
}

.avatar-wrapper:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.user-nickname {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-white);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 22px);
    /* Increased offset from avatar */
    right: -2px;
    width: 180px;
    /* Slimmer look */
    background: #1a1a1a;
    border: 2px solid var(--primary-color);
    /* Back to cyan */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 243, 255, 0.1);
    list-style: none;
    padding: 10px 0;
    display: none;
    flex-direction: column;
    border-radius: 8px;
    animation: fadeInDown 0.2s ease-out;
    z-index: 1100;
}

/* Hover Bridge: Adjusted for larger gap */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 25px;
    background: transparent;
}

.user-profile-dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li a {
    padding: 10px 20px;
    /* Reduced vertical padding */
    text-decoration: none;
    color: var(--text-white);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    /* Slightly smaller font */
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-color);
}

.dropdown-menu hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

.link-upgrade {
    color: var(--secondary-color) !important;
}

.link-upgrade:hover {
    background: rgba(255, 0, 255, 0.1) !important;
}

.link-logout:hover {
    color: #ff4d4d !important;
    background: rgba(255, 77, 77, 0.1) !important;
}

/* Feed Grid Layout */
.feed-grid-container {
    padding-top: 40px;
    padding-bottom: 50px;
    min-height: 100vh;
}

.feed-grid {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 30px;
}

/* High-Contrast Glass Card */
.glass-card {
    background: rgba(13, 13, 13, 0.95);
    /* Increased opacity and darker base */
    border: 2px solid rgba(0, 243, 255, 0.3);
    /* Stronger border */
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(0, 243, 255, 0.05);
    /* Outer glow for depth */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    opacity: 0.8;
}

.glass-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.2);
    transform: translateY(-2px);
}

/* Specific Card Accents */
.user-mini-card::before {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.ranking-card::before {
    background: #ffd700;
}

/* Gold for rankings */
.social-card::before {
    background: var(--secondary-color);
}

.post-item {
    border-left: 5px solid var(--primary-color) !important;
}

/* User Card Styles */
.user-mini-card {
    text-align: center;
}

.avatar-large-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.avatar-large {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.user-level {
    font-family: var(--font-mono);
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.xp-container {
    margin-bottom: 20px;
    text-align: left;
}

.xp-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.xp-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #00ffaa);
    box-shadow: 0 0 10px var(--primary-color);
    transition: width 1s ease-in-out;
}

.xp-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-gray);
    display: block;
    text-align: center;
}

.stat-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.stat-link:hover .stat-value {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.stat-link:hover .stat-label {
    color: var(--text-white);
}

.user-quick-stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-retro);
    font-size: 1.1rem;
    /* Increased from 0.8rem */
    color: var(--text-white);
    display: block;
    margin-bottom: 2px;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* For Sale Badge (Icon version) */
.for-sale-badge {
    background: rgba(255, 0, 255, 0.15);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    text-shadow: 0 0 5px var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
    flex-shrink: 0;
}

.item-market-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.side-nav-links li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--text-white);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    transition: var(--transition);
}

.side-nav-links li a i {
    color: var(--primary-color);
    width: 25px;
    text-align: center;
}

.side-nav-links li a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

/* Post Creator */
.post-creator textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    color: var(--text-white);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    resize: none;
    min-height: 90px;
    margin: 15px 0;
    outline: none;
    transition: var(--transition);
}

.post-creator textarea:focus {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.4);
}

.post-header {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.avatar-mini {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.post-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.btn-icon-text {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-family: var(--font-mono);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-icon-text:hover {
    color: var(--primary-color);
}

.btn-neon-cyan.sm,
.btn-neon-pink.sm {
    padding: 7px 22px;
    /* Reduced by approx 10% */
    font-size: 0.72rem;
    /* Reduced by 10% from 0.8rem */
    font-family: var(--font-retro);
}

/* Timeline Posts */
.post-item {
    border-left: 4px solid var(--primary-color);
}

.post-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.user-meta h4 {
    color: var(--text-white);
    margin: 0;
    font-family: var(--font-retro);
    font-size: 0.75rem;
}

.user-level-tag {
    font-size: 0.82rem;
    /* Increased for prominence */
    color: var(--secondary-color);
    font-family: var(--font-mono);
    font-weight: 600;
}

.post-time {
    color: var(--text-gray);
    font-size: 0.65rem;
    /* Reduced and more discreet */
    font-family: var(--font-mono);
    opacity: 0.7;
}

/* Post Options Hover Menu */
.post-options {
    position: relative;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.dots-icon {
    color: var(--text-gray);
    font-size: 1.1rem;
    transition: var(--transition);
}

.post-actions-menu {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.post-options.active .dots-icon {
    opacity: 0;
    transform: scale(0.5);
}

.post-options.active .post-actions-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid transparent;
    transition: var(--transition);
    color: var(--text-white);
}

.edit-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.delete-btn:hover {
    color: #ff0055;
    border-color: #ff0055;
    box-shadow: 0 0 10px #ff0055;
}

.report-btn {
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.report-btn:hover {
    color: #ffaa00;
    /* Yellow/Orange for warning */
    filter: drop-shadow(0 0 5px #ffaa00);
}

.post-content p {
    color: var(--text-white);
    font-family: var(--font-mono);
    line-height: 1.6;
    font-size: 1.1rem;
}

.post-interactions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 25px;
}

.btn-like,
.btn-comment {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-family: var(--font-mono);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-like:hover,
.btn-like.active {
    color: #ff0055;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.4);
}

.btn-comment:hover {
    color: var(--primary-color);
}

/* Comment Section */
.post-comments-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.avatar-comment {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
}

.comment-body {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    padding: 10px;
    border-radius: 8px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

/* Custom Retro Modals */
.retro-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.retro-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.retro-modal-card {
    background: rgba(15, 15, 15, 0.9);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.retro-modal-overlay.active .retro-modal-card {
    transform: scale(1);
}

.retro-modal-card h2 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.retro-modal-card p {
    color: var(--text-gray);
    font-family: var(--font-mono);
    margin-bottom: 25px;
    line-height: 1.5;
}

.retro-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-modal {
    padding: 10px 25px;
    font-size: 0.8rem;
    min-width: 120px;
}

.comment-header strong {
    font-size: 0.85rem;
    color: var(--text-white);
    line-height: 1.2;
}

.comment-meta {
    font-size: 0.65rem;
    color: var(--text-gray);
    opacity: 0.7;
}

.comment-body p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 8px 0 0 0;
}

.btn-like-comment {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 0.75rem;
    padding: 0;
    cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3L21 12L12 14L9 21L3 3Z' fill='%23050505' stroke='%23ff00ff' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M3 3L21 12L12 14L9 21L3 3Z' fill='%23ff00ff' fill-opacity='0.2'/%3E%3C/svg%3E"), pointer !important;
    transition: var(--transition);
}

.btn-like-comment.active {
    color: #ff0055;
    text-shadow: 0 0 5px rgba(255, 0, 85, 0.5);
}

.comment-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.comment-form input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 15px;
    color: var(--text-white);
    outline: none;
}

.comment-form button {
    background: var(--primary-color);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
}

/* Right Column: Rankings & Social */
.card-title {
    font-family: var(--font-retro);
    font-size: 0.75rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ranking-list {
    list-style: none;
    padding: 0;
}

.ranking-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-pos {
    font-family: var(--font-retro);
    color: var(--secondary-color);
    font-size: 0.8rem;
    width: 25px;
}

.rank-name {
    font-family: var(--font-mono);
    font-weight: 600;
    flex: 1;
    color: var(--text-white);
}

.rank-score {
    font-family: var(--font-mono);
    color: var(--text-gray);
    font-size: 0.9rem;
}

.ads-placeholder {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.02);
}

.social-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.social-info h5 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-white);
}

.social-info a {
    text-decoration: none;
}

/* Button Size Variants */
.btn-xs {
    padding: 6px 14px;
    font-size: 0.65rem;
    border-radius: 4px;
    font-family: var(--font-retro);
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    display: inline-block;
    text-align: center;
}

.btn-neon-pink.xs {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-neon-pink.xs:hover {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 10px var(--secondary-color);
}

.btn-neon-cyan.xs {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-neon-cyan.xs:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Fixes */
@media (max-width: 1200px) {
    .feed-grid {
        grid-template-columns: 250px 1fr 280px;
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .feed-grid {
        grid-template-columns: 1fr;
    }

    .feed-col-left,
    .feed-col-right {
        display: none;
    }

    .nav-quick-links {
        display: none;
    }

    .user-nickname {
        display: none;
    }
}

/* --- MOBILE NAVIGATION FIX --- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary-color);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.65rem;
    font-family: var(--font-retro);
    transition: 0.3s;
    flex: 1;
    position: relative;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.mobile-unread-badge {
    position: absolute;
    top: -5px;
    right: 15%;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.55rem;
    padding: 1px 5px;
    border-radius: 10px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important;
    }

    body {
        padding-bottom: 75px !important;
    }

    .nav-quick-links,
    .user-nickname {
        display: none !important;
    }

    .feed-grid,
    .groups-grid,
    .collection-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- PROCESSING OVERLAY --- */
.processing-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    pointer-events: none;
    /* Only allow events when active */
}

.processing-overlay.active {
    display: flex !important;
    pointer-events: all;
}

.processing-content {
    text-align: center;
    color: #fff;
    font-family: var(--font-retro);
}

.processing-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 243, 255, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px var(--primary-color);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.processing-content p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--primary-color);
}



.processing-content small {
    color: var(--text-gray);
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* --- HOME VIEW STYLES --- */
.home-hero {
    background: radial-gradient(circle at center, rgba(0, 243, 255, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 20% 50%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
        #050505;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 20px;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.5));
    animation: float-simple 4s ease-in-out infinite;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.hero-logo-text h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.beta-badge {
    display: inline-block;
    background: rgba(0, 243, 255, 0.1);
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 4px;
    font-family: var(--font-retro);
    font-size: 0.8rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 500px;
}

.hero-description strong {
    color: var(--primary-color);
}

.hero-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-cta-primary {
    background: var(--primary-color);
    color: #000;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-retro);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0px 0px 15px rgba(0, 243, 255, 0.4);
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-cta-primary:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 30px rgba(0, 243, 255, 0.8);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-retro);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-cta-secondary:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0px 0px 20px rgba(0, 243, 255, 0.5);
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-card:hover {
    background: rgba(0, 243, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    transform: translateX(5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 0.95rem;
    color: var(--text-white);
    margin: 0 0 5px 0;
    font-family: var(--font-retro);
}

.feature-content p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
}

/* Seção de Testadores */
.testers-section {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.05) 0%, rgba(255, 0, 255, 0.05) 100%);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    padding: 50px 40px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.testers-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testers-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testers-header {
    text-align: center;
    margin-bottom: 50px;
    display: block;
    /* Force block to override any global flex rules */
}

.testers-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.testers-header p {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.testers-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.testers-form {
    background: rgba(5, 5, 5, 0.5);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-family: var(--font-retro);
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--text-white);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(0, 243, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    display: block;
    margin: 20px auto 0;
    max-width: 300px;
    width: 100%;
    background: var(--primary-color);
    color: #000;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-retro);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.form-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
}

.form-submit:active {
    transform: scale(0.98);
}

.testers-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.benefit-text h4 {
    font-family: var(--font-retro);
    font-size: 0.95rem;
    color: var(--text-white);
    margin: 0 0 5px 0;
    text-transform: uppercase;
}

.benefit-text p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.4;
}

.form-success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 20px;
}

.form-error {
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid rgba(255, 0, 85, 0.3);
    color: #ff0055;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Footer */
.home-footer {
    background: #050505;
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-gray);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Responsivo */
@media (max-width: 768px) {
    .home-hero {
        padding: 100px 20px 40px;
        /* More top padding for mobile */
        min-height: auto;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-logo-section {
        flex-direction: column;
        gap: 15px;
    }

    .hero-left {
        align-items: center;
    }

    .hero-logo-text h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto;
    }

    .hero-cta-buttons {
        justify-content: center;
    }

    .testers-form-container {
        grid-template-columns: 1fr;
    }

    .testers-section {
        padding: 40px 20px;
        margin-top: 40px;
        /* Reduz espaço no mobile */
    }

    .testers-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 30px;
    }

    .testers-header p {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .feature-card {
        transform: none !important;
        text-align: left;
    }
}

@keyframes float-simple {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- FEED VIEW STYLES --- */
/* Simplified Single Accordion Styles */
.ranks-master-accordion {
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.master-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    transition: 0.3s;
}

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

.master-header h5 {
    margin: 0;
    font-family: var(--font-retro);
    font-size: 0.7rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.ranks-master-accordion.open .master-content {
    max-height: 1000px;
    /* High enough to fit all content */
}

.ranks-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

.rank-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: 0.2s;
}

.rank-row.current-rank {
    background: rgba(0, 243, 255, 0.08);
    border-left: 3px solid var(--primary-color);
}

.rank-row td {
    padding: 12px 10px;
    color: var(--text-gray);
}

.rank-row.current-rank td {
    color: var(--text-white);
}

.rank-row.current-rank .rank-lvl {
    color: var(--primary-color);
    font-weight: bold;
}

.master-icon {
    font-size: 0.8rem;
    color: var(--text-gray);
    transition: 0.3s;
}

.ranks-master-accordion.open .master-icon {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

/* Group Badges Grid */
.groups-grid-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
}

/* --- POST IMAGE STYLES --- */
.post-image-wrapper {
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    width: 100%;
}

.post-image {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
    max-height: 600px;
}

.group-badge-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    position: relative;
}

.group-badge-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.group-badge-item:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.group-tooltip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    font-size: 0.5rem;
    color: #fff;
    padding: 4px;
    text-align: center;
    opacity: 0;
    transition: 0.2s;
}

.group-badge-item:hover .group-tooltip {
    opacity: 1;
}

/* --- SHOP VIEW STYLES --- */
.shop-container {
    padding-top: 120px;
    padding-bottom: 80px;
    max-width: 1300px;
    margin: 0 auto;
}

.shop-header {
    text-align: center;
    margin-bottom: 50px;
}

.shop-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

/* Filter Bar Styles */
.filter-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    font-family: var(--font-retro);
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 5px;
}

.filter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.filter-glass input,
.filter-glass select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    padding: 12px 15px;
    padding-left: 40px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-glass select {
    padding-left: 15px;
    appearance: none;
    cursor: pointer;
}

.filter-glass input:focus,
.filter-glass select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    outline: none;
    background: rgba(0, 0, 0, 0.5);
}

.btn-filter {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-family: var(--font-retro);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    height: 48px;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
}

/* Shop Grid Styles */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    padding: 20px 0;
    justify-items: start;
    /* Prevents cards from stretching */
}

.shop-item-card {
    background: rgba(13, 13, 13, 0.95);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    max-width: 320px;
    /* Prevents cards from becoming too wide */
}

.shop-item-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 243, 255, 0.1);
}

.shop-item-image {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.shop-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.rarity-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--font-retro);
    font-size: 0.6rem;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.rarity-comum {
    background: #888;
    color: white;
}

.rarity-raro {
    background: var(--primary-color);
    color: #000;
}

.rarity-épico {
    background: var(--secondary-color);
    color: white;
}

.shop-item-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-item-category {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    display: block;
}

.shop-item-title {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 15px;
    line-height: 1.2;
}

.shop-item-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.shop-item-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

.price-value {
    font-family: var(--font-retro);
    font-size: 1.1rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.btn-view-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    transition: var(--transition);
    pointer-events: none;
    /* Prevents blocking card click */
}

.shop-item-card:hover .btn-view-item-icon {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px var(--primary-color);
}

@media (max-width: 768px) {
    .shop-view .shop-container {
        padding-top: 100px !important;
        padding-bottom: 80px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .shop-view .shop-header {
        margin-bottom: 30px;
    }

    .shop-view .shop-header h1 {
        font-size: 1.8rem;
    }

    .shop-view .filter-glass {
        padding: 15px;
        gap: 10px;
        margin-bottom: 25px;
    }

    .shop-view .filter-group {
        min-width: 140px;
        flex: 1 1 140px;
    }

    .shop-view .filter-group[style*="flex: 0.5"] {
        flex: 1 1 100px !important;
        min-width: 100px !important;
    }

    .shop-view .btn-filter {
        width: 100%;
        margin-top: 10px;
    }

    .shop-view .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
        padding: 10px 0;
    }

    .shop-view .shop-item-image {
        height: 160px;
    }

    .shop-view .shop-item-content {
        padding: 12px;
    }

    .shop-view .shop-item-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .shop-view .shop-item-category {
        font-size: 0.65rem;
        margin-bottom: 5px;
    }

    .shop-view .price-value {
        font-size: 0.9rem;
    }

    .shop-view .shop-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        display: grid !important;
        gap: 10px !important;
    }

    .shop-view .shop-item-card {
        min-width: 0 !important;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 20000 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #0f0f0f;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.2);
    animation: slideUp 0.4s ease;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-main-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.modal-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.modal-thumbs img:hover,
.modal-thumbs img.active {
    border-color: var(--primary-color);
}

.modal-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal-owner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 25px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.modal-owner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-owner img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
}

.modal-owner span {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-white);
}

.modal-details {
    margin-bottom: 20px;
}

.modal-details p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-gray);
}

.modal-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.modal-price-box {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.modal-price-box .price-value {
    font-size: 1.8rem;
    color: #ffd700;
}

/* Strict Side-by-Side Layout */
.modal-message-box {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
}

.input-futuristic-wrapper {
    flex: 1 !important;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    height: 50px;
    display: flex;
    align-items: center;
}

.modal-message-box textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0 15px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    resize: none;
    height: 30px;
    line-height: 30px;
    outline: none;
    overflow: hidden;
    display: block;
}

.btn-send-futuristic {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0 !important;
    transition: var(--transition);
}

.btn-send-futuristic:hover {
    background: #ff00ff;
    box-shadow: 0 0 20px var(--secondary-color);
    transform: scale(1.05);
}

.btn-send-futuristic i {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px #fff);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .modal-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .modal-info h2 {
        font-size: 1.4rem;
    }

    .modal-price-box {
        padding: 15px;
        margin-bottom: 20px;
    }

    .modal-price-box .price-value {
        font-size: 1.5rem;
    }

    .modal-message-box {
        flex-direction: row !important;
        gap: 10px !important;
    }

    .input-futuristic-wrapper {
        height: 45px;
    }

    .btn-send-futuristic {
        width: 45px;
        height: 45px;
    }
}

/* --- PROFILE VIEW STYLES --- */
/* Mobile-specific styles for profile page */
@media (max-width: 768px) {
    .profile-hero {
        padding: 30px 20px !important;
    }

    .avatar-large-wrapper img {
        width: 120px !important;
        height: 120px !important;
        border-width: 3px !important;
    }

    .avatar-large-wrapper .level-badge {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }

    .profile-hero h1 {
        font-size: 1.5rem !important;
    }

    .profile-hero p {
        font-size: 0.85rem !important;
        letter-spacing: 2px !important;
    }

    .profile-bio-dedicated {
        padding: 15px !important;
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }

    .profile-stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        margin-top: 25px !important;
    }

    .profile-stats-grid .stat-item {
        padding: 10px 5px !important;
    }

    .profile-stats-grid .stat-item strong {
        font-size: 1.2rem !important;
    }

    .profile-stats-grid .stat-item span {
        font-size: 0.6rem !important;
    }
}


/* --- AUTH VIEW STYLES (Merged from auth.css) --- */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background:
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)),
        #050505;
    background-size: 100% 2px, 3px 100%, 100% 100%;
    position: relative;
    padding: 40px 20px;
    overflow-y: auto;
}

.auth-page::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.1) 0px,
            rgba(0, 0, 0, 0.1) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
    z-index: 10;
}

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

.auth-card {
    background: rgba(10, 10, 10, 0.95);
    border: 4px solid var(--primary-color);
    padding: 25px 35px;
    border-radius: 4px;
    box-shadow: 8px 8px 0px rgba(0, 243, 255, 0.2);
    position: relative;
    z-index: 20;
}

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

.auth-logo {
    height: 60px;
    margin-bottom: 20px;
}

.auth-header h1 {
    font-family: var(--font-retro);
    font-size: 1.2rem;
    /* Pixel fonts are large */
    line-height: 1.5;
    color: var(--secondary-color);
    text-shadow: 3px 3px 0px rgba(255, 0, 255, 0.3);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.auth-header p {
    font-family: var(--font-mono);
    color: var(--primary-color);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-retro);
    font-size: 0.7rem;
    color: var(--text-white);
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: #111;
    border: 2px solid #333;
    border-radius: 0;
    color: #0f0;
    /* Classic terminal green */
    font-family: var(--font-mono);
    font-size: 1.2rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    background: #000;
}

.form-group input.is-invalid {
    border-color: #ff4d4d;
}

.error {
    color: #ff4d4d;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    font-family: var(--font-retro);
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 0;
    border: 4px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: 4px 4px 0px rgba(0, 243, 255, 0.2);
    transition: var(--transition);
}

.btn-block:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: none;
    transform: translate(2px, 2px);
}

.auth-switch {
    text-align: center;
    margin-top: 25px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.auth-switch a:hover {
    text-decoration: underline;
}


/* --- GROUPS INDEX STYLES --- */
.groups-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.group-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}

.group-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

.group-banner {
    height: 120px;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(0, 243, 255, 0.1));
    position: relative;
    overflow: hidden;
}

.group-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.group-info {
    padding: 20px;
}

.group-category {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-family: var(--font-mono);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.group-name {
    font-family: var(--font-retro);
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
    display: block;
}

.group-desc {
    font-size: 0.75rem;
    color: var(--text-gray);
    line-height: 1.5;
    height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 20px;
}

.group-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.member-count {
    font-size: 0.7rem;
    color: var(--text-gray);
    font-family: var(--font-mono);
}

.level-restriction-box {
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid #ff0055;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #ff0055;
}

.level-badge {
    background: #ff0055;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    margin: 0 5px;
}

/* --- GROUPS CREATE STYLES --- */
.create-form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.cost-notice {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.cost-notice h4 {
    color: #ffd700;
    font-family: var(--font-retro);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cost-notice p {
    font-size: 0.75rem;
    color: #fff;
    font-family: var(--font-mono);
}

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

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-mono);
    outline: none;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.btn-create {
    width: 100%;
    padding: 15px;
    font-family: var(--font-retro);
    letter-spacing: 2px;
    margin-top: 20px;
}

.privacy-options {
    display: flex;
    gap: 15px;
}

.privacy-option {
    flex: 1;
    cursor: pointer;
}

.privacy-option input {
    display: none;
}

.privacy-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.privacy-option input:checked+.privacy-box {
    border-color: var(--primary-color);
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.privacy-box i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-gray);
}

.privacy-option input:checked+.privacy-box i {
    color: var(--primary-color);
}

.privacy-label {
    display: block;
    font-size: 0.7rem;
    font-family: var(--font-retro);
}

/* Live Preview Widget */
.preview-widget {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.preview-hero {
    height: 140px;
    position: relative;
    background: #000;
}

.preview-hero img.banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.preview-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    align-items: center;
    gap: 15px;
}

.preview-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

/* --- GROUPS MANAGE STYLES --- */
.manage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.manage-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
}

.manage-section h3 {
    font-family: var(--font-retro);
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.count-badge {
    background: rgba(0, 243, 255, 0.2);
    color: var(--primary-color);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-family: var(--font-mono);
}

.member-action-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.action-group {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.settings-form-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
}

.preview-widget-mini {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.preview-hero-mini {
    height: 120px;
    position: relative;
    background: #000;
}

.preview-hero-mini img.banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.preview-content-mini {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    align-items: center;
    gap: 15px;
}

.preview-icon-mini {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    object-fit: cover;
}

/* --- GROUPS SHOW STYLES --- */
.group-header-card {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
}

.group-hero {
    height: 250px;
    position: relative;
    background: #000;
}

/* --- SHOP BUY COINS STYLES --- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.package-card {
    background: rgba(15, 15, 15, 0.8);
    border: 2px solid rgba(0, 243, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: default;
}

.package-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
}

.package-card.highlight {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(40, 40, 0, 0.2) 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.package-card.highlight:hover {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
}

.coin-icon-large {
    font-size: 3.5rem;
    color: #ffd700;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.package-name {
    font-family: var(--font-retro);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.coin-amount {
    font-family: var(--font-mono);
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 30px;
    display: block;
}

.package-price {
    font-size: 2.2rem;
    color: #fff;
    font-family: var(--font-retro);
    margin-bottom: 30px;
    margin-top: auto;
}

.package-price small {
    font-size: 1rem;
    opacity: 0.6;
}

.btn-buy {
    width: 100%;
    padding: 15px;
    font-family: var(--font-retro);
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
    border-radius: 8px;
    text-transform: uppercase;
}

.hot-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-family: var(--font-retro);
    font-size: 0.6rem;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

/* --- UPGRADE INDEX STYLES --- */
.upgrade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.upgrade-card {
    background: rgba(15, 15, 15, 0.8);
    border: 2px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.upgrade-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.upgrade-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

.upgrade-card h2 {
    font-family: var(--font-retro);
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.upgrade-card p {
    color: var(--text-gray);
    font-family: var(--font-mono);
    line-height: 1.6;
    margin-bottom: 20px;
}

.upgrade-price {
    font-size: 1.5rem;
    color: #ffd700;
    font-family: var(--font-retro);
    margin-bottom: 25px;
    display: block;
}

.btn-upgrade {
    width: 100%;
    padding: 15px;
    font-weight: bold;
    font-size: 1rem;
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.locked-tag {
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-family: var(--font-retro);
    font-size: 0.8rem;
    margin-top: 10px;
}

.group-hero img.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.group-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    align-items: center;
    gap: 25px;
}

.group-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    object-fit: cover;
}

.group-title-box {
    flex: 1;
}

.group-title-box h1 {
    font-family: var(--font-retro);
    color: #fff;
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.group-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
}

.group-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.member-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.member-role {
    font-size: 0.6rem;
    font-family: var(--font-mono);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
}

.role-admin {
    background: rgba(255, 0, 85, 0.2);
    color: #ff0055;
    border: 1px solid #ff0055;
}

.role-member {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
}

.about-card {
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
}

.about-card h3 {
    font-family: var(--font-retro);
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Post Creator & Feed */
.post-creator-mini {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.post-creator-mini textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    resize: none;
    outline: none;
    margin-bottom: 15px;
}

.post-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.post-author {
    font-size: 0.85rem;
    color: #fff;
    font-family: var(--font-retro);
}

.post-date {
    font-size: 0.65rem;
    color: var(--text-gray);
    font-family: var(--font-mono);
}

.post-image {
    width: 100%;
    border-radius: 12px;
    margin: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-section-mini {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-item-mini {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.comment-content-mini {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    border-radius: 12px;
    flex: 1;
}

.comment-content-mini strong {
    font-size: 0.75rem;
    color: var(--primary-color);
}

.comment-content-mini p {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 5px;
}

.comment-form-mini {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.comment-form-mini input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: #fff;
    font-size: 0.75rem;
    outline: none;
}

#imagePreview {
    display: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--primary-color);
}

/* --- FRIEND INDEX STYLES --- */
.social-hub-container {
    padding-top: 100px;
    padding-bottom: 100px;
    max-width: 800px;
    margin: 0 auto;
}

.social-card {
    background: rgba(13, 13, 13, 0.8);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    padding-bottom: 12px;
}

.section-header i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.section-header h2 {
    font-size: 0.9rem;
    margin: 0;
    letter-spacing: 1px;
}

.user-list {
    display: grid;
    gap: 15px;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    text-decoration: none;
}

.user-item:hover {
    background: rgba(0, 243, 255, 0.05);
    border-color: rgba(0, 243, 255, 0.3);
}

.user-avatar-hub {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.user-info-hub {
    flex: 1;
}

.user-info-hub h4 {
    color: #fff;
    margin: 0;
    font-size: 0.9rem;
    text-transform: none;
    font-family: var(--font-mono);
}

.user-info-hub p {
    color: var(--secondary-color);
    font-size: 0.7rem;
    margin: 2px 0 0;
    font-family: var(--font-mono);
}

.btn-hub {
    padding: 8px 15px;
    font-size: 0.7rem;
    border-radius: 8px;
    font-family: var(--font-retro);
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
}

.btn-hub-primary {
    background: var(--primary-color);
    color: #000;
}

.btn-hub-secondary {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.social-horizontal-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.social-horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.horizontal-user-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
    text-decoration: none;
    gap: 8px;
}

.horizontal-user-item img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    padding: 2px;
}

.horizontal-user-item span {
    font-size: 0.65rem;
    color: #fff;
    font-family: var(--font-mono);
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .social-hub-container {
        padding-top: 100px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* --- MESSAGES STYLES --- */
.messages-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    height: calc(100vh - 120px);
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.contacts-list {
    background: rgba(5, 5, 5, 0.9);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    overflow-y: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(0, 243, 255, 0.05);
}

.contact-item.active {
    background: rgba(0, 243, 255, 0.1);
    border-left: 3px solid var(--primary-color);
}

.contact-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.contact-name {
    color: #fff;
    font-family: var(--font-retro);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.last-message {
    color: var(--text-gray);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.7;
}

.unread-badge {
    background: var(--secondary-color);
    color: #fff;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

/* Chat Area & Messages */
.chat-window,
.chat-area {
    display: flex;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.9);
}

.chat-header {
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
}

.chat-messages {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
}

.message-bubble {
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 15px;
    font-size: 0.9rem;
    position: relative;
    line-height: 1.4;
}

.message-sent {
    align-self: flex-end;
    background: var(--primary-color);
    color: #000;
    border-bottom-right-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.message-received {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 2px;
}

.message-time {
    font-size: 0.65rem;
    opacity: 0.5;
    margin-top: 5px;
    display: block;
    text-align: right;
}

.chat-input-area {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 15px;
}

#messageForm {
    flex: 1;
    display: flex;
    gap: 10px;
}

#messageInput {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-family: var(--font-mono);
    outline: none;
    transition: var(--transition);
}

.empty-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-gray);
    opacity: 0.5;
    text-align: center;
    padding: 20px;
}

.empty-chat i {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Item Context */
.item-context-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 243, 0, 0.05);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 243, 0, 0.2);
    width: 100%;
}

.item-context-img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
}

/* Tablet Layout */
@media (max-width: 1024px) {
    .messages-container {
        grid-template-columns: 280px 1fr;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    main.container {
        padding-top: 80px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .messages-container {
        grid-template-columns: 1fr;
        height: calc(100vh - 150px);
        border-radius: 0;
        border: none;
    }

    /* On messages list view: show contacts, hide chat window */
    body.messages-list-view .messages-container .chat-window {
        display: none;
    }

    /* On chat view: hide contacts list, show chat area */
    body.messages-chat-view .messages-container .contacts-list {
        display: none;
    }

    .chat-header {
        position: sticky;
        top: 0;
        z-index: 5;
    }

    .chat-input-area {
        position: sticky;
        bottom: 0;
        z-index: 5;
        background: #0a0a0a;
    }

    .message-bubble {
        max-width: 85%;
    }
}

/* --- PAGES 404 STYLES --- */
.error-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a0033 0%, #050505 100%);
    overflow: hidden;
    position: relative;
}

.error-container {
    z-index: 10;
}

.error-code {
    font-family: 'Press Start 2P', cursive;
    font-size: 8rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--secondary-color);
    margin-bottom: 20px;
    animation: glitch 1s linear infinite;
}

.error-msg {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.error-desc {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 500px;
    line-height: 1.6;
}

.btn-neon-exit {
    padding: 15px 40px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    background: transparent;
    border: 3px solid var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.3);
    text-transform: uppercase;
}

.btn-neon-exit:hover {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 40px var(--secondary-color);
    transform: scale(1.05);
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-5px, 5px);
    }

    40% {
        transform: translate(-5px, -5px);
    }

    60% {
        transform: translate(5px, 5px);
    }

    80% {
        transform: translate(5px, -5px);
    }

    100% {
        transform: translate(0);
    }
}

.grid-bg {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-50%);
    top: 0;
    z-index: 1;
    animation: moveGrid 5s linear infinite;
}

@keyframes moveGrid {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(-50%);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(-40%);
    }
}

/* --- PAGES TERMS STYLES --- */
.terms-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.1);
    backdrop-filter: blur(10px);
}

.terms-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.terms-header h1 {
    font-family: var(--font-retro);
    color: var(--primary-color);
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.legal-content {
    font-family: var(--font-mono);
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.9rem;
}

.legal-content h2 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.legal-content p {
    margin-bottom: 20px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

.back-btn {
    display: inline-block;
    margin-top: 40px;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-retro);
    font-size: 0.8rem;
    transition: 0.3s;
}

.back-btn:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}

@media (max-width: 768px) {
    .chat-area {
        display: flex;
        flex-direction: column;
        height: 100%;
        position: relative;
    }

    .chat-header {
        padding: 10px 12px;
        flex-shrink: 0;
        min-height: auto;
    }

    .chat-header h4 {
        font-size: 0.8rem !important;
    }

    .chat-header span {
        font-size: 0.6rem !important;
    }

    .chat-messages {
        flex: 1;
        padding: 10px;
        min-height: 0;
        max-height: calc(100vh - 200px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .message-bubble {
        max-width: 80%;
        font-size: 0.9rem;
        padding: 10px 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .message-sent {
        align-self: flex-end;
        margin-left: auto;
    }

    .message-received {
        align-self: flex-start;
        margin-right: auto;
    }

    .chat-input-area {
        padding: 10px 12px;
        gap: 8px;
        flex-shrink: 0;
        background: rgba(0, 0, 0, 0.95);
        border-top: 2px solid rgba(0, 243, 255, 0.2);
        position: fixed;
        bottom: 60px;
        /* Acima da navbar inferior */
        left: 0;
        right: 0;
        z-index: 100;
    }

    .chat-messages {
        padding-bottom: 80px;
        /* Espaço para a barra de input fixa */
    }

    #messageForm {
        gap: 8px;
    }

    #messageInput {
        font-size: 16px;
        padding: 10px 12px;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 6px;
    }

    #messageForm button {
        padding: 10px 18px !important;
        flex-shrink: 0;
    }

    .contact-avatar {
        width: 32px;
        height: 32px;
    }

    .item-context-banner {
        flex-wrap: wrap;
        padding: 8px 12px;
    }

    .item-context-img {
        width: 35px;
        height: 35px;
    }

    .item-context-info h5 {
        font-size: 0.75rem !important;
    }

    .item-context-info p {
        font-size: 0.65rem !important;
        max-width: 180px;
    }
}


/* Extra small phones */
@media (max-width: 375px) {
    .chat-messages {
        padding: 8px;
        gap: 10px;
    }

    .message-bubble {
        max-width: 85%;
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .chat-input-area {
        padding: 8px 10px;
    }

    #messageInput {
        padding: 8px 10px;
        font-size: 16px;
    }

}

/* --- RESPONSIVE UTILITIES --- */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* --- HOME PAGE STYLES --- */
.home-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(18, 16, 16, 0.9), rgba(5, 5, 5, 0.95)),
        linear-gradient(90deg, rgba(255, 0, 255, 0.03) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    z-index: 1;
    perspective: 500px;
    transform-style: preserve-3d;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }

    100% {
        background-position: 0 0, 0 40px, 0 40px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.hero-logo-img {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.5));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-logo-text h1 {
    font-size: 3.5rem;
    line-height: 1;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
}

.beta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-cta-buttons {
    display: flex;
    gap: 20px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #000;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-retro);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    transition: 0.3s;
    border: 2px solid var(--primary-color);
}

.btn-cta-primary:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.6);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--secondary-color);
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-retro);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--secondary-color);
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.1);
}

.btn-cta-secondary:hover {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
}

.hero-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
}

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

.feature-content p {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Testers Section */
.testers-section {
    padding: 80px 20px;
    background: #080808;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testers-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.testers-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testers-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-gray);
}

.testers-form-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.testers-form {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
}

.testers-benefits {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-content: start;
}

.testers-benefits h3 {
    grid-column: 1 / -1;
    margin-bottom: 20px;
    width: 100%;
}

.benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid rgba(255, 0, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #fff;
}

.benefit-text p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.home-footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #020202;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: 0.3s;
}

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

.home-footer p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

/* RESPONSIVE HOME */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        padding-top: 40px;
        gap: 60px;
    }

    .hero-left {
        text-align: center;
        max-width: 100%;
    }

    .hero-logo-section {
        justify-content: center;
    }

    .hero-cta-buttons {
        justify-content: center;
    }

    .hero-description {
        margin: 0 auto 40px;
    }

    .testers-form-container {
        flex-direction: column;
        gap: 30px;
    }

    .testers-section {
        padding: 40px 20px;
        margin-top: 40px;
    }

    .testers-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .home-hero {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .hero-logo-text h1 {
        font-size: 2.2rem;
    }

    .hero-right {
        grid-template-columns: 1fr;
    }

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

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

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .testers-section {
        padding-top: 10px !important;
    }

    .testers-header h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .testers-form {
        padding: 20px;
    }

    .testers-benefits {
        grid-template-columns: 1fr !important;
    }
}

/* --- AUTH PAGE STYLES --- */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background:
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)),
        #050505;
    background-size: 100% 2px, 3px 100%, 100% 100%;
    position: relative;
    padding: 20px;
    overflow: auto;
}

.auth-page::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.1) 0px,
            rgba(0, 0, 0, 0.1) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
    z-index: 10;
}

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

.auth-card {
    background: rgba(10, 10, 10, 0.95);
    border: 4px solid var(--primary-color);
    padding: 25px 35px;
    border-radius: 4px;
    box-shadow: 8px 8px 0px rgba(0, 243, 255, 0.2);
    position: relative;
    z-index: 20;
}

/* --- COLLECTION PAGE STYLES --- */
.collection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.item-card {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.item-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 243, 255, 0.1);
}

.item-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #000;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-category {
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
    margin-bottom: 5px;
}

.item-info h4 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.item-market-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.item-price {
    color: var(--primary-color);
    font-family: var(--font-retro);
    font-size: 0.9rem;
}

/* Rarity Styles */
.rarity-Common {
    border-bottom: 4px solid #666;
}

.rarity-Rare {
    border-bottom: 4px solid #007bff;
    box-shadow: inset 0 0 20px rgba(0, 123, 255, 0.1);
}

.rarity-Epic {
    border-bottom: 4px solid #a335ee;
    box-shadow: inset 0 0 20px rgba(163, 53, 238, 0.1);
}

.rarity-Legendary {
    border-bottom: 4px solid #ff8000;
    box-shadow: inset 0 0 30px rgba(255, 128, 0, 0.15);
}

.item-rarity-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-family: var(--font-retro);
    text-transform: uppercase;
    color: #fff;
}

.rarity-Common .item-rarity-badge {
    background: #666;
}

.rarity-Rare .item-rarity-badge {
    background: #007bff;
}

.rarity-Epic .item-rarity-badge {
    background: #a335ee;
}

.rarity-Legendary .item-rarity-badge {
    background: #ff8000;
    box-shadow: 0 0 15px #ff8000;
}

/* Responsive Collection */
@media (max-width: 768px) {
    .collection-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    .collection-header button {
        width: 100%;
    }

    .item-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .item-info {
        padding: 12px;
    }

    .item-info h4 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .item-grid {
        grid-template-columns: 1fr;
    }
}

/* --- COLLECTION VIEW STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 15px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #080808;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    width: 100%;
    max-width: 650px;
    padding: 25px;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 243, 255, 0.4);
    max-height: 90vh;
    overflow-y: auto;
    color: #fff;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.5rem;
    color: var(--text-gray);
    cursor: pointer;
    z-index: 100;
}

.item-card {
    background: rgba(15, 15, 15, 0.9) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
    transition: transform 0.2s ease;
}

.item-card:active {
    transform: scale(0.98);
}

.detail-modal-card {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 30px;
}

.detail-main-img-wrapper {
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    margin-bottom: 15px;
}

.detail-main-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Detail Modal Specific Styles */
.detail-gallery-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-header-info h2 {
    font-family: var(--font-retro);
    font-size: 1.8rem;
    color: var(--text-white);
    margin: 10px 0;
}

.detail-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.detail-badge {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-family: var(--font-retro);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-description-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    color: var(--text-gray);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    min-height: 100px;
}

.detail-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
}

.detail-thumb {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.6;
}

.detail-thumb:hover {
    border-color: var(--primary-color);
    opacity: 1;
}

.detail-thumb.active {
    border-color: var(--secondary-color);
    opacity: 1;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

.detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.star-rating {
    display: flex;
    gap: 5px;
}

.star-rating i {
    color: rgba(255, 215, 0, 0.3);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}

.star-rating.readonly i {
    cursor: default;
}

.star-rating i.active {
    color: #ffd700;
}

/* Hover chain effect */
.star-rating:not(.readonly):hover i {
    color: #ffd700;
    opacity: 0.8;
}

.star-rating:not(.readonly) i:hover~i {
    color: rgba(255, 215, 0, 0.3) !important;
    opacity: 1;
}

.star-rating:not(.readonly) i:hover {
    transform: scale(1.2);
    color: #ffd700 !important;
    opacity: 1;
}

/* Mobile Responsive for Detail Modal */
@media (max-width: 768px) {
    .detail-modal-card {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-height: 85vh;
        overflow-y: auto;
    }

    .detail-header-info h2 {
        font-size: 1.4rem;
    }

    .detail-thumbs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}



/* Mobile Specific Overrides */
@media (max-width: 768px) {
    main.container {
        padding: 0 15px !important;
        padding-top: 140px !important;
        margin-top: 0 !important;
    }

    .collection-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 30px !important;
    }

    .collection-header h1 {
        font-size: 1.8rem !important;
        margin: 0 !important;
        width: 100%;
    }

    .collection-header .btn-neon-pink {
        width: 100% !important;
        display: block !important;
        margin-top: 15px !important;
        padding: 15px !important;
        font-size: 0.85rem !important;
        background: #ff00ff !important;
        color: #fff !important;
        border: none !important;
        box-shadow: 0 0 20px rgba(255, 0, 255, 0.6) !important;
        text-align: center;
        border-radius: 8px;
        font-family: var(--font-retro);
        text-transform: uppercase;
    }

    .item-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .glass-card {
        padding: 30px 15px !important;
    }
}

/* Modal Cropper Fixes */
#itemPreviewModal {
    width: 100%;
    aspect-ratio: 1;
    max-width: 320px;
    margin: 0 auto 15px auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

#itemPreviewModal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cropper-container-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 15px auto;
    aspect-ratio: 1;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    display: none;
}

.crop-controls {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    max-width: 320px;
    margin: 0 auto 20px auto;
}

.photo-slots-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 10px auto 20px auto;
}

.photo-slot {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    transition: 0.2s;
}

@media (max-width: 768px) {

    #itemPreviewModal,
    .cropper-container-wrapper,
    .crop-controls {
        max-width: 100%;
    }

    .photo-slot {
        width: 45px;
        height: 45px;
    }
}

.photo-slot.active {
    border-color: var(--primary-color);
    background: rgba(0, 243, 255, 0.05);
}

.photo-slot.filled {
    border-color: var(--secondary-color);
}

.photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.photo-slot-delete {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.photo-slot.filled .photo-slot-delete {
    display: flex;
}

.photo-slot.filled i.fa-plus {
    display: none;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-family: var(--font-retro);
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-mono);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

/* --- FRIENDS / SOCIAL HUB PAGE STYLES --- */
.social-hub-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 40px 20px;
}

.social-card {
    background: rgba(15, 15, 15, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(0, 243, 255, 0.2);
}

.section-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.section-header h2 {
    font-family: var(--font-retro);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 1px;
}

.user-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
}

.user-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.user-avatar-hub {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    flex-shrink: 0;
}

.user-info-hub {
    flex: 1;
    min-width: 0;
}

.user-info-hub h4 {
    font-family: var(--font-retro);
    font-size: 1rem;
    color: var(--text-white);
    margin: 0 0 5px 0;
}

.user-info-hub p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-gray);
    margin: 0;
}

.btn-hub {
    padding: 8px 20px;
    border-radius: 6px;
    font-family: var(--font-retro);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-hub-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.btn-hub-primary:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    transform: scale(1.05);
}

.btn-hub-secondary {
    background: rgba(255, 0, 255, 0.2);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.btn-hub-secondary:hover {
    background: var(--secondary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

.social-horizontal-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.1);
}

.social-horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}

.social-horizontal-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.social-horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.horizontal-user-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 100px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.horizontal-user-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.horizontal-user-item img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.horizontal-user-item span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-white);
    text-align: center;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Mobile Responsive for Friends Page */
@media (max-width: 768px) {
    .social-hub-container {
        padding: 80px 15px 20px 15px;
    }

    .social-card {
        padding: 20px 15px;
    }

    .section-header h2 {
        font-size: 0.9rem;
    }

    .user-avatar-hub {
        width: 50px;
        height: 50px;
    }

    .user-info-hub h4 {
        font-size: 0.9rem;
    }

    .user-info-hub p {
        font-size: 0.7rem;
    }

    .btn-hub {
        padding: 6px 15px;
        font-size: 0.65rem;
    }

    .horizontal-user-item {
        min-width: 80px;
        padding: 10px;
    }

    .horizontal-user-item img {
        width: 60px;
        height: 60px;
    }
}

/* Admin & Profile Standardized Styles */
.admin-container {
    padding-top: 80px;
    padding-bottom: 40px;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.admin-section-header h2 {
    font-family: var(--font-retro);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: rgba(13, 13, 13, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.1);
}

.stat-card i {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.stat-value {
    display: block;
    font-family: var(--font-retro);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

@media (max-width: 992px) {
    .dashboard-row {
        grid-template-columns: 1fr;
    }
}

.analytics-card {
    background: rgba(13, 13, 13, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
}

.admin-nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.nav-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-retro);
    font-size: 0.7rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-card:hover {
    background: rgba(0, 243, 255, 0.05);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.nav-card i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.nav-card:hover i {
    transform: translateY(-5px);
}

.nav-card.pink:hover {
    background: rgba(255, 0, 255, 0.05);
    border-color: var(--secondary-color);
}

.admin-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-family: var(--font-mono);
    z-index: 10;
}

.admin-badge.cyan {
    background: var(--primary-color);
    color: #000;
}

.search-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

/* Users Table Standard */
.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary-color);
    padding: 12px;
    color: #fff;
    border-radius: 8px;
    font-family: var(--font-mono);
    outline: none;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    font-size: 0.85rem;
}

.users-table th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid rgba(0, 243, 255, 0.2);
    font-family: var(--font-retro);
    color: var(--primary-color);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.users-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.action-btns {
    display: flex;
    gap: 8px;
    align-items: center;
}

.adjust-form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.adjust-form input {
    width: 60px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 4px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: var(--font-mono);
}

.user-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: bold;
}

.status-active {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid #00ff88;
}

.status-blocked {
    background: rgba(255, 0, 85, 0.1);
    color: #ff0055;
    border: 1px solid #ff0055;
}

/* Profile Edit Specifics */
.settings-container {
    max-width: 700px;
    margin: 0 auto;
}

.settings-dedicated-card {
    background: rgba(13, 13, 13, 0.9);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.1);
}

.settings-title {
    font-family: var(--font-retro);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .settings-dedicated-card {
        padding: 30px 20px !important;
    }

    .settings-title {
        font-size: 1.4rem !important;
        margin-bottom: 30px !important;
    }

    .edit-avatar-container {
        margin-bottom: 30px !important;
    }

    .avatar-preview-img {
        width: 130px !important;
        height: 130px !important;
    }

    .form-actions {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .form-actions a,
    .form-actions button {
        width: 100% !important;
        min-width: 0 !important;
    }
}

.edit-avatar-container {
    text-align: center;
    margin-bottom: 40px;
}

.avatar-preview-wrapper {
    position: relative;
    display: inline-block;
}

.avatar-preview-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.avatar-upload-label {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--primary-color);
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid #000;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.form-label-retro {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-retro);
    font-size: 0.8rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-input-retro {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-white);
    font-family: var(--font-mono);
    outline: none;
    transition: var(--transition);
    font-size: 1rem;
}

.form-input-retro:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.form-input-retro.error {
    border-color: var(--secondary-color);
}

.form-textarea-retro {
    width: 100%;
    min-height: 180px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-white);
    font-family: var(--font-mono);
    line-height: 1.8;
    resize: vertical;
    outline: none;
    transition: var(--transition);
    font-size: 1rem;
}

.form-textarea-retro:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.checkbox-group {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.checkbox-retro {
    width: 20px;
    height: 20px;
    accent-color: var(--secondary-color);
    cursor: pointer;
}

.checkbox-label {
    color: var(--text-gray);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
}