/* Font Face */
@font-face {
    font-family: 'Volter';
    src: url('../assets/Volter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Variáveis de cor e estilo globais */
:root {
    --primary-blue: #1e88e5;
    --primary-blue-dark: #1565c0;
    --primary-blue-light: #42a5f5;
    --accent-purple: #7e57c2;
    --accent-orange: #ff9800;
    --accent-green: #26a69a;
    --bg-light: #e3f2fd;
    --bg-gradient-start: #1a237e;
    --bg-gradient-end: #0d47a1;
    --text-dark: #263238;
    --text-light: #546e7a;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.15);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    min-height: 100vh;
    image-rendering: pixelated;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="30" height="30" fill="rgba(255,255,255,0.15)"/><rect x="30" y="30" width="30" height="30" fill="rgba(255,255,255,0.15)"/></svg>');
    pointer-events: none;
    z-index: 0;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

body > * {
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animation="fade-in"] {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

.room-btn {
    transition: all 0.3s ease;
}

.room-btn:hover {
    transform: scale(1.05);
}

.room-image img {
    transition: transform 0.3s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-badge {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Top Bar */
.top-bar {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 3px solid var(--primary-blue);
    font-size: 14px;
    box-shadow: 0 2px 8px var(--shadow);
}

.social-links a {
    color: var(--primary-blue);
    margin-right: 15px;
    font-size: 18px;
    transition: color 0.2s;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--accent-purple);
    transform: scale(1.1);
}

.date-time {
    color: var(--text-light);
    font-weight: 500;
}

/* Navbar */
.navbar {
    background: var(--habbo-blue) !important;
    padding: 15px 0;
    box-shadow: 2px 2px 0 0 #006bb3;
    border-bottom: 3px solid #222;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    margin: 0;
}

.navbar-nav .nav-link {
    color: #fff !important;
    margin: 0 5px;
    padding: 8px 15px;
    border-radius: 0;
    transition: all 0.2s;
    font-weight: bold;
    background: transparent;
    border: 2px solid transparent;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--habbo-green);
    border: 2px solid #8eda55;
    color: #fff !important;
}

.navbar-nav .nav-link i {
    margin-right: 5px;
}

.navbar-toggler {
    border: 2px solid #fff;
    border-radius: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #42a5f5 0%, #64b5f6 50%, #90caf9 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="30" height="30" fill="rgba(255,255,255,0.03)"/><rect x="30" y="30" width="30" height="30" fill="rgba(255,255,255,0.03)"/></svg>');
    pointer-events: none;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

/* Rankings Section */
.rankings-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    padding: 60px 0;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-top: 4px solid #222;
}

.ranking-card {
    background: white;
    border: 3px solid #222;
    border-radius: 0;
    padding: 0;
    box-shadow: 4px 4px 0 0 rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.ranking-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 0 rgba(0,0,0,0.3);
}

.ranking-header {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-bottom: 3px solid #222;
    padding: 15px;
    text-align: center;
}

.ranking-header i {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
    display: block;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.ranking-header img {
    width: 48px;
    height: 48px;
    margin-bottom: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    image-rendering: pixelated;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.3));
}

.ranking-header h4 {
    font-family: 'Volter', Arial, sans-serif;
    font-size: 1rem;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.ranking-list {
    padding: 15px;
}

.ranking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 10px;
    border: 2px solid #222;
    border-radius: 0;
    background: #f5f5f5;
    transition: all 0.2s ease;
}

.ranking-item:last-child {
    margin-bottom: 0;
}

.ranking-item:hover {
    transform: translateX(5px);
    box-shadow: 3px 3px 0 0 rgba(0,0,0,0.2);
}

.ranking-item.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-color: #B8860B;
}

.ranking-item.silver {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    border-color: #808080;
}

.ranking-item.bronze {
    background: linear-gradient(135deg, #CD7F32, #B8722C);
    border-color: #8B4513;
}

.ranking-item .rank {
    font-family: 'Volter', Arial, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
    min-width: 35px;
}

.ranking-item .rank img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.3));
}

.ranking-item .player {
    flex: 1;
    padding: 0 10px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

.ranking-item .points {
    font-family: 'Volter', Arial, sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    color: #fff;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: floatParticles 15s ease-in-out infinite;
}

.hero-particles::before {
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.hero-particles::after {
    bottom: -150px;
    right: -150px;
    animation-delay: 7s;
}

@keyframes floatParticles {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-text {
    position: relative;
    z-index: 2;
}

[data-aos="fade-right"],
[data-aos="fade-up"],
[data-aos="zoom-in"] {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

[data-aos="fade-right"] {
    animation-delay: 0s;
}

[data-aos="fade-up"][data-aos-delay="100"] {
    animation-delay: 0.1s;
}

[data-aos="fade-up"][data-aos-delay="200"] {
    animation-delay: 0.2s;
}

[data-aos="fade-up"][data-aos-delay="300"] {
    animation-delay: 0.3s;
}

[data-aos="zoom-in"][data-aos-delay="400"] {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #FFD700;
    padding: 8px 20px;
    margin-bottom: 25px;
    color: #FFD700;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6); }
}

.hero-badge i {
    font-size: 1.2rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
    font-family: 'Volter', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.highlight-text {
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn.primary {
    background: var(--accent-purple);
    color: white;
    border: 3px solid #222;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.hero-btn.primary:hover {
    background: #9575cd;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.hero-btn.secondary {
    background: white;
    color: #1a1a2e;
}

.hero-btn:hover {
    transform: translate(2px, 2px) scale(1.05);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    line-height: 1;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.hero-stats .stat-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 5px;
}

.hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
}

.hero-logo-img {
    max-width: 500px;
    height: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    animation: floatLogo 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(-25px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-2deg); }
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 140, 255, 0.4) 0%, transparent 70%);
    animation: breathe 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #1a1a2e;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--habbo-blue);
}

.card-1 {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    left: 0%;
    animation-delay: 1s;
}

.card-3 {
    top: 55%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border: 3px solid #222;
    border-radius: 0;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.hero-btn.primary {
    background: var(--accent-purple);
    color: white;
}

.hero-btn.secondary {
    background: white;
    color: #1a1a2e;
}

.hero-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.hero-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: bold;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

/* Info Box */
.info-box {
    font-size: 12px;
    color: #555;
}

/* Main Content */
.main-content {
    padding: 60px 0;
    min-height: 60vh;
    background: transparent;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-top: 4px solid #222;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0d47a1;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-family: 'Volter', Arial, sans-serif;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.8);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--primary-blue);
    border: 2px solid #0d47a1;
    border-radius: 0;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #1565c0;
    margin-top: 25px;
    font-weight: 600;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

.container {
    max-width: 1400px;
    position: relative;
    z-index: 1;
}

/* Barra de Filtros */
.filter-bar {
    background: #fff;
    padding: 20px;
    border: 3px solid #222;
    box-shadow: 3px 3px 0 0 #aaa;
    margin-bottom: 30px;
}

.filter-bar h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #222;
    text-align: left;
}

.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--habbo-bg);
    border: 2px solid #222;
    color: #222;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--habbo-blue);
    color: white;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0 0 #222;
}

/* Título da Seção */
.section-title {
    font-size: 24px;
    color: #222;
    margin-bottom: 25px;
    padding: 15px;
    background: #fff;
    border: 3px solid #222;
    box-shadow: 3px 3px 0 0 #aaa;
    text-align: center;
}

/* Info Box */
.info-box {
    background: #fff9e6;
    border: 3px solid #ffa502;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 3px 3px 0 0 #ff8800;
}

.info-box p {
    margin-bottom: 10px;
    color: #222;
}

.info-box ol {
    margin: 10px 0 0 20px;
    color: #222;
}

.info-box li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.info-box code {
    background: #222;
    color: #2ed573;
    padding: 2px 8px;
    font-family: 'Courier New', monospace;
    border: 1px solid #000;
}

.info-box strong {
    color: #ff8800;
}

/* Grade de Quartos */
.room-grid {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

/* Card de Quarto */
.room-card {
    background: var(--white);
    border: 3px solid #222;
    border-radius: 0;
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.room-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 0 var(--primary-blue);
}

/* Imagem do Quarto */
.room-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    border-bottom: 3px solid #222;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    transition: transform 0.3s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

/* Badge do Quarto */
.room-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 8px 16px;
    border: 3px solid #222;
    border-radius: 0;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: badgePulse 2s ease-in-out infinite;
    font-family: 'Volter', Arial, sans-serif;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.room-badge:has(text "NOVO") {
    background: var(--accent-green);
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.5);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.6);
    }
}

.room-badge.vip {
    background: #ffa502;
}

.room-badge.new {
    background: #2ed573;
}

.room-badge.popular {
    background: #5f27cd;
}

/* Informações do Quarto */
.room-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.room-info h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
    font-family: 'Volter', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.room-owner {
    font-size: 14px;
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-weight: 600;
}

.room-owner i {
    margin-right: 6px;
    color: var(--accent-purple);
}

/* Room Description */
.room-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 12px 0;
    line-height: 1.6;
    flex: 1;
}

/* Room Tags */
.room-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.tag {
    display: inline-block;
    background: var(--habbo-bg);
    color: #333;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid #222;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

/* Estatísticas do Quarto */
.room-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px 0;
    border-top: 2px dashed #ccc;
    border-bottom: 2px dashed #ccc;
}

.room-stats span {
    font-size: 12px;
    font-weight: bold;
    color: #555;
}

.room-stats span i {
    color: var(--habbo-blue);
    margin-right: 3px;
}

/* Botão do Quarto */
.room-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary-blue);
    color: white;
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--primary-blue-dark);
    border-radius: 0;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 0.2);
}

.room-btn:hover {
    background: var(--primary-blue-dark);
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.3);
    color: white;
}

/* Responsividade dos Cards */
@media (max-width: 1200px) {
    .room-grid .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 992px) {
    .room-grid .col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 768px) {
    .room-grid .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .filter-bar h3 {
        font-size: 18px;
    }
    
    .filter-options {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .room-grid .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .room-image {
        height: 220px;
    }
}

/* Pagination */
.pagination-nav {
    margin: 30px 0;
}

.pagination .page-link {
    background: #fff;
    border: 2px solid #222;
    color: #222;
    margin: 0 3px;
    border-radius: 0;
    font-weight: bold;
    padding: 8px 12px;
}

.pagination .page-link:hover {
    background: var(--habbo-blue);
    border-color: #222;
    color: white;
}

.pagination .page-item.active .page-link {
    background: var(--habbo-blue);
    border-color: #222;
    color: white;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf6 100%);
    padding: 20px 0;
    margin-top: 0;
    border-top: 3px solid var(--primary-blue);
    box-shadow: 0 -4px 16px var(--shadow);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="30" height="30" fill="rgba(30,136,229,0.03)"/><rect x="30" y="30" width="30" height="30" fill="rgba(30,136,229,0.03)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.footer-title {
    color: var(--primary-blue);
    font-weight: bold;
    font-family: 'Volter', Arial, sans-serif;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.footer-title i {
    color: var(--accent-orange);
    margin-right: 5px;
}

.footer-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-copyright {
    color: var(--primary-blue-dark);
    font-weight: bold;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.footer-copyright i {
    font-size: 0.85rem;
}

.footer-rights {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 2px;
    position: relative;
    z-index: 1;
}

.social-footer {
    display: inline-flex;
    gap: 12px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.social-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid #222;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 2px 2px 0 var(--shadow);
}

.social-footer a:hover {
    background: var(--primary-blue);
    color: white;
    border-color: #222;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: Arial, sans-serif;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-main-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        margin-top: 40px;
        min-height: 300px;
    }

    .hero-logo-img {
        max-width: 250px;
    }

    .floating-card {
        display: none;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stats .stat-number {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }

    .hero-badges {
        gap: 10px;
    }

    .hero-badge {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .news-image {
        height: 150px;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Scrollbar pixelado */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #fff;
    border: 2px solid #222;
}

::-webkit-scrollbar-thumb {
    background: var(--habbo-blue);
    border: 2px solid #222;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--habbo-green);
}

/* ===== ESTILOS CUSTOMIZADOS ADICIONAIS ===== */

/* Scroll Suave */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Top Bar */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar .nav-link {
    color: rgba(0, 140, 255, 0.4);
    font-weight: bold;
    padding: 8px 12px;
    margin: 0 3px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.top-bar .nav-link:hover {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    transform: translateY(-2px);
}

/* Player Clickable */
.player-clickable {
    cursor: pointer;
    transition: all 0.3s;
}

.player-clickable:hover {
    color: #ffd700 !important;
    transform: scale(1.05);
}

/* Hot Looks Section */
.hotlooks-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hotlook-card {
    background: white;
    border: 3px solid #222;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 4px 4px 0 0 rgba(0,0,0,0.2);
}

.hotlook-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 0 rgba(0,0,0,0.3);
}

.hotlook-card img {
    border: 3px solid #222;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Login Dropdown */
.login-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: linear-gradient(180deg, rgba(26, 77, 122, 0.4) 0%, rgba(13, 40, 71, 0.5) 100%);
    border: 3px solid #000;
    border-radius: 10px;
    padding: 12px;
    width: 320px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
    backdrop-filter: blur(10px);
}

.login-dropdown.active {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: dropdownFadeIn 0.3s ease;
}

.login-dropdown::before {
    content: '';
    position: absolute;
    top: -9px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #000;
}

.login-dropdown-avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
}

.login-dropdown-avatar img {
    width: 64px;
    height: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
}

.login-dropdown-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-dropdown-input {
    width: 100%;
    padding: 6px 8px;
    border: 2px solid #000;
    border-radius: 5px;
    background: rgba(255,255,255,0.95);
    color: #222;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.login-dropdown-input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(76,175,80,0.3);
}

.login-dropdown-btn {
    width: 100%;
    padding: 6px;
    border: 2px solid #000;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.login-dropdown-btn.code {
    background: #34495e;
    color: #fff;
}

.login-dropdown-btn.code:hover {
    background: #2c3e50;
    transform: translateY(-2px);
}

.login-dropdown-btn.submit {
    background: linear-gradient(180deg, #5cb85c 0%, #449d44 100%);
    color: #fff;
}

.login-dropdown-btn.submit:hover {
    background: linear-gradient(180deg, #449d44 0%, #398439 100%);
    transform: translateY(-2px);
}

.login-dropdown-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 4px 0;
    color: #fff;
    font-size: 0.75rem;
}

.login-dropdown-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.login-dropdown-buttons {
    display: flex;
    gap: 6px;
}

.login-dropdown-btn.half {
    flex: 1;
}

/* Tooltip System */
.tooltip-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1a4d7a 0%, #0d2847 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    border: 3px solid #000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 10001;
    min-width: 280px;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
    display: none;
}

.tooltip-notification.show {
    display: block;
}

.tooltip-notification.success {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.tooltip-notification.error {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.tooltip-notification.warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.tooltip-notification.hiding {
    animation: slideOutRight 0.3s ease forwards;
}

/* Tooltip Bubble Style */
[data-title] {
    position: relative;
}

.login-dropdown-input[data-title]:hover::after,
.login-dropdown-btn[data-title]:hover::after,
.login-dropdown-checkbox[data-title]:hover::after {
    content: attr(data-title);
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #222;
    padding: 16px 12px;
    border: 2px solid #000;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: normal;
    width: 140px;
    min-height: 80px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    text-align: center;
    line-height: 1.4;
    animation: tooltipFadeIn 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-dropdown-input[data-title]:hover::before,
.login-dropdown-btn[data-title]:hover::before,
.login-dropdown-checkbox[data-title]:hover::before {
    content: '';
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #000;
    z-index: 10001;
    animation: tooltipFadeIn 0.3s ease;
}

.login-dropdown-checkbox[data-title]:hover::after {
    max-width: 200px;
    font-size: 0.75rem;
}

.login-dropdown-btn.code[data-title]:hover::after {
    max-width: 280px;
}

/* Animações */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Player Modal - Estilo Habbo */
.player-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.player-modal-content {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    border: 4px solid #222;
    border-radius: 0;
    max-width: 420px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 
        0 8px 0 0 #1a4566,
        0 8px 30px rgba(0, 0, 0, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    animation: dropdownFadeIn 0.3s ease;
    position: relative;
}

.player-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    border-radius: 0;
    pointer-events: none;
}

.player-modal-header {
    padding: 18px 22px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-bottom: 3px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.player-modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 900;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Volter', Arial, sans-serif;
}

.player-modal-header h3 i {
    color: #ffd700;
    margin-right: 8px;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.3));
}

.player-modal-close,
.close-modal {
    background: linear-gradient(180deg, #ff6b6b 0%, #ee5a52 100%);
    border: 3px solid #222;
    color: #fff;
    font-size: 1.4rem;
    width: 35px;
    height: 35px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: bold;
    box-shadow: 0 3px 0 0 rgba(0,0,0,0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.player-modal-close:hover,
.close-modal:hover {
    background: linear-gradient(180deg, #ff8787 0%, #ff6b6b 100%);
    transform: translateY(2px);
    box-shadow: 0 1px 0 0 rgba(0,0,0,0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.player-modal-close:active,
.close-modal:active {
    transform: translateY(3px);
    box-shadow: 0 0 0 0 rgba(0,0,0,0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.player-modal-body {
    padding: 25px;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
    background: linear-gradient(180deg, #f9f9f9 0%, #ececec 100%);
}

.player-modal-body::-webkit-scrollbar {
    width: 10px;
}

.player-modal-body::-webkit-scrollbar-track {
    background: #d0d0d0;
    border-radius: 0;
    border: 2px solid #222;
}

.player-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFD700 0%, #FFA500 100%);
    border-radius: 0;
    border: 2px solid #222;
}

.player-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFA500 0%, #FFD700 100%);
}

.player-modal-avatar,
.player-avatar {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 0;
    border: 3px solid #222;
    box-shadow: 0 4px 0 0 rgba(0,0,0,0.2), inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.player-modal-avatar::before,
.player-avatar::before {
    display: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.player-modal-avatar img,
.player-avatar img {
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
    max-width: 150px;
    height: auto;
}

.player-modal-avatar img:hover,
.player-avatar img:hover {
    transform: scale(1.05);
}

.player-modal-info,
.player-info-box {
    color: #333;
    background: #fff;
    padding: 0;
    border-radius: 0;
    border: 3px solid #222;
    box-shadow: 0 4px 0 0 rgba(0,0,0,0.2), inset 0 2px 0 rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.player-modal-info p,
.player-info-box p {
    margin: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
    padding: 15px 18px;
    background: #fff;
    border-radius: 0;
    border-left: none;
    border-bottom: 2px solid #e0e0e0;
    transition: all 0.2s ease;
    flex-wrap: wrap;
}

.player-modal-info p:last-child,
.player-info-box p:last-child {
    border-bottom: none;
}

.player-modal-info p:hover,
.player-info-box p:hover {
    background: #f0f8ff;
}

.player-modal-info strong,
.player-info-box strong {
    color: #222;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.player-modal-info strong i,
.player-info-box strong i {
    color: #FFA500;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.player-modal-info span,
.player-info-box span {
    color: #555;
    font-size: 0.92rem;
    flex: 1;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .player-modal {
        padding: 15px;
    }
    
    .player-modal-content {
        max-width: 100%;
        max-height: 90vh;
    }
    
    .player-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .player-modal-body {
        padding: 20px;
    }
    
    .player-modal-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .player-modal-header {
        padding: 12px 15px;
    }
    
    .player-modal-header h3 {
        font-size: 1rem;
    }
    
    .player-modal-close {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .player-modal-body {
        padding: 15px;
    }
    
    .player-modal-info {
        padding: 12px;
    }
    
    .player-modal-info p {
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .player-modal-avatar img {
        max-width: 100%;
        height: auto;
    }
}

/* Admin Panel */
.admin-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.admin-panel-content {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 4px solid #222;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 8px 0 0 rgba(0,0,0,0.3), 0 8px 30px rgba(0, 0, 0, 0.6);
}

.admin-panel-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    border-bottom: 4px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-panel-header h2 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    font-family: 'Volter', Arial, sans-serif;
}

.admin-panel-header h2 i {
    margin-right: 10px;
}

.admin-close-btn {
    background: linear-gradient(180deg, #ff6b6b 0%, #ee5a52 100%);
    border: 3px solid #222;
    color: #fff;
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: bold;
    box-shadow: 0 3px 0 0 rgba(0,0,0,0.3);
}

.admin-close-btn:hover {
    background: linear-gradient(180deg, #ff8787 0%, #ff6b6b 100%);
    transform: translateY(2px);
    box-shadow: 0 1px 0 0 rgba(0,0,0,0.3);
}

.admin-panel-body {
    padding: 25px;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
    background: #f5f5f5;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 3px solid #222;
    padding-bottom: 10px;
}

.admin-tab {
    background: #fff;
    border: 3px solid #222;
    padding: 12px 20px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.2);
    font-family: 'Volter', Arial, sans-serif;
}

.admin-tab:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 0 rgba(0,0,0,0.2);
}

.admin-tab.active {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.admin-tab i {
    margin-right: 8px;
}

.admin-tab-content {
    display: none;
    background: #fff;
    padding: 25px;
    border: 3px solid #222;
    box-shadow: 4px 4px 0 0 rgba(0,0,0,0.2);
}

.admin-tab-content.active {
    display: block;
}

.admin-tab-content h3 {
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    color: #333;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Volter', Arial, sans-serif;
}

.admin-users-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.admin-user-card {
    background: #f9f9f9;
    border: 3px solid #222;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.2);
}

.admin-user-card img {
    width: 50px;
    height: 50px;
    border: 2px solid #222;
    image-rendering: pixelated;
}

.admin-user-info {
    flex: 1;
}

.admin-user-info strong {
    display: block;
    font-size: 1rem;
    color: #333;
    font-weight: 800;
}

.admin-user-info small {
    color: #666;
    font-size: 0.8rem;
}

.admin-ztsdk-container {
    width: 100%;
    height: 600px;
}

.admin-ztsdk-frame {
    width: 100%;
    height: 100%;
    border: 3px solid #222;
    box-shadow: 4px 4px 0 0 rgba(0,0,0,0.2);
}

.admin-room-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-input {
    flex: 1;
    padding: 12px 15px;
    border: 3px solid #222;
    font-size: 1rem;
    font-family: Arial, sans-serif;
}

.admin-input:focus {
    outline: none;
    border-color: #FFA500;
}

.admin-btn {
    padding: 12px 20px;
    border: 3px solid #222;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
    font-family: 'Volter', Arial, sans-serif;
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.3);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 0 rgba(0,0,0,0.3);
}

.admin-btn.add {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.admin-btn.remove {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.admin-rooms-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.admin-room-card {
    background: #f9f9f9;
    border: 3px solid #222;
    padding: 15px;
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.2);
}

.admin-room-card h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 800;
}

.admin-room-card p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #666;
}

.admin-room-card button {
    margin-top: 10px;
}

/* Admin Users Tab */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.admin-stat-card {
    background: #fff;
    border: 3px solid #222;
    padding: 20px;
    text-align: center;
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.2);
}

.admin-stat-card h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 900;
    color: #4caf50;
}

.admin-stat-card p {
    margin: 5px 0 0 0;
    color: #666;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.admin-search-box {
    background: #fff;
    border: 3px solid #222;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.2);
}

.admin-search-input {
    width: 100%;
    padding: 12px;
    border: 3px solid #222;
    font-size: 1rem;
}

.admin-users-table {
    background: #fff;
    border: 3px solid #222;
    box-shadow: 4px 4px 0 0 rgba(0,0,0,0.2);
    overflow: auto;
    max-height: 500px;
}

.admin-users-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-users-table thead {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-users-table th {
    padding: 15px;
    text-align: left;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.admin-users-table td {
    padding: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.admin-users-table tr:hover td {
    background: #f5f5f5;
}

.admin-user-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-user-avatar img {
    width: 48px;
    height: 48px;
    border: 2px solid #222;
}

.admin-user-name {
    font-weight: 700;
    color: #333;
}

.admin-user-link {
    display: inline-block;
    padding: 8px 16px;
    background: #1e88e5;
    color: white !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    border: 3px solid #222;
    box-shadow: 3px 3px 0 0 rgba(0,0,0,0.2);
    transition: all 0.2s;
    text-transform: uppercase;
}

.admin-user-link:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 0 rgba(0,0,0,0.3);
    text-decoration: none;
}

.admin-protected-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    border: 3px solid #222;
    box-shadow: 3px 3px 0 0 rgba(156, 39, 176, 0.3);
    text-transform: uppercase;
    border-radius: 4px;
}

/* Admin Rooms Grid */
.admin-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.admin-room-image-preview {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border: 3px solid #222;
    margin-bottom: 10px;
}

.admin-room-description {
    font-size: 0.85rem;
    color: #888;
    margin: 10px 0;
    font-style: italic;
}

.admin-textarea {
    width: 100%;
    padding: 12px;
    border: 3px solid #222;
    font-size: 1rem;
    margin-bottom: 10px;
    min-height: 100px;
    resize: vertical;
    font-family: Arial, sans-serif;
}

/* Admin Edit Modal */
.admin-edit-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}

.admin-edit-modal.active {
    display: flex;
}

.admin-modal-content {
    background: #fff;
    border: 3px solid #222;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 4px 4px 0 0 rgba(0,0,0,0.3);
}

.admin-modal-content h3 {
    margin: 0 0 20px 0;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-modal-close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.admin-modal-close:hover {
    color: #000;
}

.admin-image-preview {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border: 3px solid #222;
    margin: 10px 0;
}

/* Admin Rankings Grid */
.admin-rankings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.admin-ranking-card {
    background: #fff;
    border: 3px solid #222;
    padding: 20px;
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.2);
}

.admin-ranking-card h3 {
    margin: 0 0 15px 0;
    font-weight: 900;
    color: #1e88e5;
    padding-bottom: 10px;
    border-bottom: 2px solid #222;
    font-size: 1.1rem;
}

.admin-ranking-preview {
    text-align: center;
    margin-bottom: 15px;
}

.admin-ranking-preview img {
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
    border: 2px solid #222;
}

.admin-ranking-label {
    font-weight: 700;
    color: #222;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

.admin-ranking-message {
    display: none;
    margin-top: 10px;
    padding: 10px;
    border: 3px solid #222;
    font-weight: 700;
    text-align: center;
}

.admin-ranking-message.success {
    background: #4caf50;
    color: white;
}

.admin-ranking-message.error {
    background: #f44336;
    color: white;
}

/* ========================================
   SISTEMA DE COMENTÁRIOS NOS RANKINGS
   ======================================== */

.ranking-comments-section {
    margin-top: 15px;
    border-top: 3px solid #222;
    padding-top: 10px;
}

.ranking-comments-toggle {
    width: 100%;
    padding: 10px;
    background: #ff9800;
    color: white;
    border: 3px solid #222;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 3px 3px 0 0 rgba(0,0,0,0.2);
}

.ranking-comments-toggle:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 0 rgba(0,0,0,0.3);
}

.ranking-comments-toggle i {
    margin-right: 5px;
}

.ranking-comments-container {
    margin-top: 10px;
    background: white;
    border: 3px solid #222;
    padding: 15px;
    box-shadow: 3px 3px 0 0 rgba(0,0,0,0.2);
}

.ranking-comments-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.ranking-comments-form textarea {
    width: 100%;
    padding: 10px;
    border: 3px solid #222;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
}

.ranking-comments-form button {
    align-self: flex-end;
    padding: 8px 20px;
    background: #4caf50;
    color: white;
    border: 3px solid #222;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 3px 3px 0 0 rgba(0,0,0,0.2);
}

.ranking-comments-form button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 0 rgba(0,0,0,0.3);
}

.ranking-comments-list {
    max-height: 400px;
    overflow-y: auto;
}

.ranking-comment-item {
    background: #f5f5f5;
    border: 2px solid #222;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.1);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    position: relative;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border: 2px solid #222;
    border-radius: 50%;
    image-rendering: pixelated;
}

.comment-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.comment-author {
    font-weight: 700;
    color: #1e88e5;
    cursor: pointer;
    font-size: 0.9rem;
}

.comment-author:hover {
    text-decoration: underline;
}

.comment-date {
    font-size: 0.75rem;
    color: #666;
}

.comment-delete-btn {
    padding: 4px 8px;
    background: #f44336;
    color: white;
    border: 2px solid #222;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.comment-delete-btn:hover {
    background: #d32f2f;
    transform: scale(1.05);
}

.comment-text {
    margin: 0;
    padding-left: 42px;
    font-size: 0.9rem;
    color: #333;
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* Scrollbar personalizada para lista de comentários */
.ranking-comments-list::-webkit-scrollbar {
    width: 8px;
}

.ranking-comments-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border: 2px solid #222;
}

.ranking-comments-list::-webkit-scrollbar-thumb {
    background: #ff9800;
    border: 2px solid #222;
}

.ranking-comments-list::-webkit-scrollbar-thumb:hover {
    background: #f57c00;
}

/* ===== SISTEMA DE NOTÍCIAS ===== */

/* Seção de Notícias */
.news-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    padding: 60px 20px;
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="30" height="30" fill="rgba(255,255,255,0.15)"/><rect x="30" y="30" width="30" height="30" fill="rgba(255,255,255,0.15)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.news-section h2 {
    text-align: center;
    color: #222;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.news-section h2 i {
    color: #1e88e5;
    margin-right: 15px;
}

/* Container de Notícias */
#newsContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    min-height: 200px;
    align-items: center;
}

/* Quando há notícias, volta para grid */
#newsContainer:has(.news-card) {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
}

/* Card de Notícia */
.news-card {
    background: #fff;
    border: 3px solid #222;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.4);
}

/* Imagem da Notícia */
.news-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid #222;
}

/* Conteúdo da Notícia */
.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-subtitle {
    font-size: 1rem;
    color: #666;
    font-style: italic;
    margin: -10px 0 15px 0;
    line-height: 1.4;
}

.news-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* Meta informações */
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    border-top: 2px solid #eee;
    font-size: 0.9rem;
}

.news-author {
    color: #2196f3;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.news-author:hover {
    color: #1976d2;
    text-decoration: underline;
}

.news-author i,
.news-date i {
    margin-right: 5px;
}

.news-date {
    color: #999;
}

/* Preview truncado da notícia no card */
.news-preview {
    max-height: 100px;
    overflow: hidden;
    position: relative;
}

.news-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, transparent, white);
}

/* ===== MODAL DE NOTÍCIA ===== */

.news-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.news-modal-content {
    background: #fff;
    margin: 3% auto;
    border: 4px solid #222;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
    width: 92%;
    max-width: 980px;
    max-height: 92vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease;
}

.news-modal-hero {
    position: relative;
    min-height: 220px;
    border-bottom: 4px solid #222;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 55%, #90caf9 100%);
}

.news-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 65%, rgba(0,0,0,0.55) 100%),
        url('data:image/svg+xml,<svg width="56" height="56" xmlns="http://www.w3.org/2000/svg"><rect width="28" height="28" fill="rgba(255,255,255,0.10)"/><rect x="28" y="28" width="28" height="28" fill="rgba(255,255,255,0.10)"/></svg>');
    pointer-events: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.news-modal-close {
    color: #fff;
    background: #f44336;
    border: 3px solid #222;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
    z-index: 3;
}

.news-modal-close:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

.news-modal-header {
    position: relative;
    z-index: 2;
    padding: 26px 26px 20px 26px;
    text-align: left;
}

.news-modal-header h2 {
    color: #fff;
    font-size: 2.05rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Volter', Arial, sans-serif;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
}

.news-modal-body {
    padding: 22px 26px 26px;
    overflow-y: auto;
    background: #ffffff;
    flex: 1;
}

.news-modal-subtitle {
    color: rgba(255,255,255,0.95);
    font-size: 1.05rem;
    margin: 10px 0 14px 0;
    font-style: italic;
    font-weight: 600;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.28);
}

.news-modal-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.news-modal-meta .news-author,
.news-modal-meta .news-date {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 3px solid #222;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.25);
    color: #222;
    font-weight: 900;
    font-size: 0.9rem;
    cursor: default;
}

.news-modal-meta .news-author {
    cursor: pointer;
}

.news-modal-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.1) contrast(1.05);
    z-index: 0;
}

.news-modal-text {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
}

/* Preservar alinhamentos do editor Quill */
.news-modal-text .ql-align-left {
    text-align: left;
}

.news-modal-text .ql-align-center {
    text-align: center;
}

.news-modal-text .ql-align-right {
    text-align: right;
}

.news-modal-text .ql-align-justify {
    text-align: justify;
}

/* Estilos para imagens no conteúdo */
.news-modal-text img {
    max-width: 100%;
    height: auto;
    cursor: move;
}

/* Imagens com float (texto ao lado) */
.news-modal-text img[style*="float: left"],
.news-modal-text img[style*="float:left"] {
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
}

.news-modal-text img[style*="float: right"],
.news-modal-text img[style*="float:right"] {
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Imagens centralizadas */
.news-modal-text img[style*="display: block"],
.news-modal-text img[style*="display:block"] {
    display: block;
    margin: 20px auto;
}

/* Imagens com posição absoluta (sobre o texto) */
.news-modal-text img[style*="position: absolute"],
.news-modal-text img[style*="position:absolute"] {
    position: absolute;
    z-index: 10;
}

/* Suporte para editores Quill - imagens livres */
.ql-editor img {
    max-width: 100%;
    height: auto;
    cursor: move;
}

/* Permitir posicionamento livre no editor */
.ql-editor {
    position: relative;
}

.ql-editor img[style*="position: absolute"],
.ql-editor img[style*="position:absolute"] {
    position: absolute;
    z-index: 10;
}

/* Limpar floats */
.news-modal-text::after {
    content: "";
    display: table;
    clear: both;
}

/* Subtítulo dentro do conteúdo */
.news-content-subtitle {
    color: #666;
    font-size: 1.3rem;
    font-style: italic;
    text-align: center;
    margin: 0 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.news-modal-text h1,
.news-modal-text h2,
.news-modal-text h3 {
    color: #222;
    margin-top: 20px;
    margin-bottom: 15px;
}

.news-modal-text img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.news-modal-text a {
    color: #2196f3;
    text-decoration: none;
    font-weight: 600;
}

.news-modal-text a:hover {
    text-decoration: underline;
}

/* Scrollbar do modal */
.news-modal-body::-webkit-scrollbar {
    width: 10px;
}

.news-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border: 2px solid #222;
}

.news-modal-body::-webkit-scrollbar-thumb {
    background: #2196f3;
    border: 2px solid #222;
}

.news-modal-body::-webkit-scrollbar-thumb:hover {
    background: #1976d2;
}

/* ===== SEÇÃO DE COMENTÁRIOS DA NOTÍCIA ===== */

.news-comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 4px solid #222;
}

.news-comments-title {
    color: #222;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-comment-form {
    background: #f5f5f5;
    border: 3px solid #222;
    padding: 20px;
    margin-bottom: 30px;
}

.news-comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 3px solid #222;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    margin-bottom: 15px;
}

.news-comment-form textarea:focus {
    outline: none;
    border-color: #2196f3;
}

.news-comment-submit {
    background: #2196f3;
    color: #fff;
    border: 3px solid #222;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-comment-submit:hover {
    background: #1976d2;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.news-comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-comment {
    background: #fff;
    border: 3px solid #222;
    padding: 15px;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
    position: relative;
}

.news-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.news-comment-author {
    color: #2196f3;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-comment-author:hover {
    text-decoration: underline;
}

.news-comment-date {
    color: #999;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-comment-text {
    color: #333;
    line-height: 1.6;
    word-wrap: break-word;
}

.news-comment-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f44336;
    color: #fff;
    border: 2px solid #222;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.news-comment-delete:hover {
    background: #d32f2f;
    transform: scale(1.05);
}

/* Responsividade do modal */
@media (max-width: 768px) {
    .news-modal-content {
        width: 95%;
        margin: 4% auto;
    }
    
    .news-modal-header h2 {
        font-size: 1.4rem;
    }
    
    .news-modal-hero {
        min-height: 190px;
    }
    
    .news-modal-body {
        padding: 18px;
    }

    .news-modal-header {
        padding: 18px 18px 16px 18px;
        text-align: center;
    }

    .news-modal-meta {
        justify-content: center;
    }
}

/* ===== PAINEL ADMIN - NOTÍCIAS ===== */

/* Form de Adicionar Notícia */
.admin-news-form {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border: 3px solid #222;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
}

.admin-news-form h3 {
    color: #222;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.admin-news-form h3 i {
    color: #4caf50;
    margin-right: 10px;
}

/* Estilos para Quill Editor */
.ql-toolbar.ql-snow {
    border: 3px solid #222 !important;
    border-bottom: none !important;
    background: #f5f5f5;
}

.ql-container.ql-snow {
    border: 3px solid #222 !important;
    border-top: none !important;
    font-size: 1rem;
    font-family: Arial, sans-serif;
}

.ql-editor {
    min-height: 200px;
}

/* Botão customizado de evento no Quill */
.ql-event-button {
    width: 28px !important;
}

.ql-event-button::before {
    content: 'EV';
    font-size: 12px;
    font-weight: 700;
}

.ql-toolbar button.ql-event-button {
    background: #fff;
    border: 2px solid #222;
    margin: 2px;
    padding: 3px 5px;
}

.ql-toolbar button.ql-event-button:hover {
    background: #4caf50;
    color: #fff;
}

.ql-editor.ql-blank::before {
    color: #999;
    font-style: normal;
}

/* Grid de Notícias do Admin */
.admin-news-grid {
    display: grid;
    gap: 20px;
}

/* Card de Notícia no Admin */
.admin-news-card {
    background: #fff;
    border: 3px solid #222;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}

.admin-news-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 2px solid #222;
}

.admin-news-info {
    flex: 1;
}

.admin-news-info h4 {
    color: #222;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.admin-news-subtitle {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.5;
}

.admin-news-info p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.admin-news-info small {
    color: #999;
    font-size: 0.85rem;
}

.admin-news-info small i {
    margin-right: 5px;
}

.admin-news-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Responsividade para Notícias */
@media (max-width: 1400px) {
    #newsContainer:has(.news-card) {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    #newsContainer:has(.news-card) {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #newsContainer {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    #newsContainer:has(.news-card) {
        grid-template-columns: 1fr;
    }
    
    .news-section {
        padding: 40px 10px;
    }
    
    .news-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .news-card {
        box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
    }
    
    .news-image {
        height: 180px;
    }
    
    .admin-news-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .admin-news-image {
        width: 100%;
        height: 200px;
        margin: 0 auto;
    }
    
    .admin-news-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .news-section h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .news-image {
        height: 150px;
    }
}

/* Responsividade do Painel Administrativo */
@media (max-width: 1024px) {
    .admin-panel-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .admin-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .admin-tab {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .admin-rankings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-panel-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border: none;
    }
    
    .admin-panel-header {
        padding: 15px 20px;
    }
    
    .admin-panel-header h2 {
        font-size: 1.2rem;
    }
    
    .admin-close-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .admin-panel-body {
        padding: 15px;
        max-height: calc(100vh - 80px);
    }
    
    .admin-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .admin-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .admin-rankings-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-news-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-users-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .admin-users-table table {
        min-width: 600px;
    }
    
    .admin-modal-content {
        width: 95%;
        max-width: 500px;
        padding: 20px;
    }
    
    .event-registrations-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 576px) {
    .admin-panel-header h2 {
        font-size: 1rem;
    }
    
    .admin-panel-body {
        padding: 10px;
    }
    
    .admin-tab {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .admin-stat-card h2 {
        font-size: 1.5rem;
    }
    
    .admin-stat-card p {
        font-size: 0.85rem;
    }
    
    .admin-input,
    .admin-textarea {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .admin-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .admin-ranking-card {
        padding: 15px;
    }
    
    .admin-room-card {
        padding: 15px;
    }
    
    .admin-news-card {
        padding: 15px;
    }
}

/* ===== ESTILOS DA ABA DE EVENTOS ===== */

.admin-event-form {
    background: #fff;
    border: 3px solid #222;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
}

.admin-event-form h4 {
    color: #222;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.admin-events-list {
    margin-top: 30px;
}

.admin-events-list h4 {
    color: #222;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.admin-event-card {
    background: #fff;
    border: 3px solid #222;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

.admin-event-card.event-inactive {
    background: #f5f5f5;
    opacity: 0.8;
}

.admin-event-header {
    position: relative;
}

.event-status {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid #222;
}

.status-active {
    background: #4caf50;
    color: #fff;
}

.status-inactive {
    background: #f44336;
    color: #fff;
}

.admin-event-header h5 {
    color: #222;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.2rem;
    padding-right: 120px;
}

.admin-event-header small {
    color: #666;
    font-size: 0.9rem;
}

.admin-event-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 15px;
    background: #f5f5f5;
    border: 2px solid #222;
}

.admin-event-stats span {
    color: #222;
    font-weight: 700;
    font-size: 1.1rem;
}

.event-actions {
    display: flex;
    gap: 10px;
}

.admin-event-registrations {
    margin-top: 20px;
}

.admin-event-registrations h6 {
    color: #222;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.event-registrations-table {
    width: 100%;
    border-collapse: collapse;
    border: 3px solid #222;
}

.event-registrations-table thead {
    background: #2196f3;
    color: #fff;
}

.event-registrations-table th,
.event-registrations-table td {
    padding: 12px;
    text-align: left;
    border: 2px solid #222;
}

.event-registrations-table th {
    font-weight: 700;
}

.event-registrations-table tbody tr:nth-child(even) {
    background: #f5f5f5;
}

.event-registrations-table tbody tr:hover {
    background: #e3f2fd;
}

/* Estilo para imagens de eventos clicáveis */
img[data-event-button="true"] {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

img[data-event-button="true"]:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

