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

body {
    font-family: 'Arial', sans-serif;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.85) 0%, rgba(26, 47, 90, 0.85) 50%, rgba(15, 27, 53, 0.85) 100%), url('images/fundo_box.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    animation: stars 3s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes stars {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 22, 40, 0.8);
    border-bottom: 2px solid #2a5a8e;
    position: relative;
    z-index: 100;
}

.logo img {
    height: 80px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.main-nav a:hover {
    color: #5a9fd4;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    min-height: 400px;
    z-index: 10;
}

.hero-character {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-character img {
    height: 450px;
    filter: drop-shadow(0 0 20px rgba(90, 159, 212, 0.5));
}

.login-box {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(26, 58, 110, 0.9), rgba(42, 90, 142, 0.9));
    border: 2px solid #5a9fd4;
    border-radius: 10px;
    padding: 25px;
    width: 280px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 20;
}

.login-box h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px;
    color: #5a9fd4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.input-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: rgba(15, 27, 53, 0.8);
    border: 1px solid #2a5a8e;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
}

.input-field::placeholder {
    color: #7a9fc4;
}

.btn-login {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #2a5a8e, #1a3a6e);
    border: 1px solid #5a9fd4;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: linear-gradient(135deg, #3a6a9e, #2a4a7e);
    box-shadow: 0 0 15px rgba(90, 159, 212, 0.5);
}

.login-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.login-links a {
    color: #5a9fd4;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.login-links a:hover {
    color: #7ab4e4;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 250px 1fr 280px;
    gap: 20px;
    padding: 30px 50px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Sidebar Items */
.sidebar-item {
    background: linear-gradient(135deg, rgba(26, 58, 110, 0.8), rgba(42, 90, 142, 0.8));
    border: 2px solid #2a5a8e;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.sidebar-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(90, 159, 212, 0.3);
}

.sidebar-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #5a9fd4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.sidebar-item p {
    font-size: 13px;
    color: #ccc;
}

.download-box {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.8), rgba(75, 0, 130, 0.8));
    border-color: #9370db;
}

.register-box {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.8), rgba(75, 0, 130, 0.8));
    border-color: #9370db;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-btn {
    flex: 1;
    padding: 8px;
    background: rgba(26, 58, 110, 0.9);
    border: 1px solid #2a5a8e;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
}

.social-btn:hover {
    background: rgba(42, 90, 142, 0.9);
    box-shadow: 0 0 10px rgba(90, 159, 212, 0.5);
}

/* Center Content Sections */
.center-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.section-header h2 {
    font-size: 20px;
    color: #5a9fd4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.btn-expand {
    background: rgba(26, 58, 110, 0.8);
    border: 1px solid #2a5a8e;
    border-radius: 5px;
    color: #fff;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-expand:hover {
    background: rgba(42, 90, 142, 0.9);
    box-shadow: 0 0 10px rgba(90, 159, 212, 0.5);
}

/* News Section */
.news-section {
    background: linear-gradient(135deg, rgba(26, 58, 110, 0.8), rgba(42, 90, 142, 0.8));
    border: 2px solid #2a5a8e;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab {
    padding: 8px 20px;
    background: rgba(15, 27, 53, 0.8);
    border: 1px solid #2a5a8e;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
}

.tab:hover, .tab.active {
    background: rgba(42, 90, 142, 0.9);
    border-color: #5a9fd4;
    box-shadow: 0 0 10px rgba(90, 159, 212, 0.3);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.news-item {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(15, 27, 53, 0.6);
    border: 1px solid #2a5a8e;
    border-radius: 5px;
    transition: all 0.3s;
}

.news-item:hover {
    background: rgba(42, 90, 142, 0.4);
    border-color: #5a9fd4;
}

.news-icon {
    font-size: 18px;
}

.news-title {
    font-size: 14px;
    color: #ccc;
}

.news-date {
    font-size: 12px;
    color: #7a9fc4;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-btn {
    padding: 5px 15px;
    background: rgba(26, 58, 110, 0.8);
    border: 1px solid #2a5a8e;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover {
    background: rgba(42, 90, 142, 0.9);
    box-shadow: 0 0 10px rgba(90, 159, 212, 0.5);
}

/* Screenshots Section */
.screenshots-section {
    background: linear-gradient(135deg, rgba(26, 58, 110, 0.8), rgba(42, 90, 142, 0.8));
    border: 2px solid #2a5a8e;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.screenshots-grid img {
    width: 100%;
    border: 2px solid #2a5a8e;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.screenshots-grid img:hover {
    border-color: #5a9fd4;
    box-shadow: 0 0 15px rgba(90, 159, 212, 0.5);
    transform: scale(1.05);
}

/* Item Mall Section */
.item-mall-section {
    background: linear-gradient(135deg, rgba(26, 58, 110, 0.8), rgba(42, 90, 142, 0.8));
    border: 2px solid #2a5a8e;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.item-card {
    background: rgba(15, 27, 53, 0.8);
    border: 2px solid #2a5a8e;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.item-card:hover {
    border-color: #5a9fd4;
    box-shadow: 0 0 15px rgba(90, 159, 212, 0.5);
    transform: translateY(-5px);
}

.item-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.item-name {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 5px;
}

.item-price {
    font-size: 14px;
    color: #ffd700;
    font-weight: bold;
}

/* Right Sidebar */
.enquete-box, .video-highlight-box, .web-highlight-box {
    background: linear-gradient(135deg, rgba(26, 58, 110, 0.8), rgba(42, 90, 142, 0.8));
    border: 2px solid #2a5a8e;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.enquete-box h3, .video-highlight-box h3, .web-highlight-box h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #5a9fd4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.web-highlight-box img {
    width: 100%;
    border: 2px solid #2a5a8e;
    border-radius: 8px;
    margin: 10px 0;
}

.author {
    font-size: 12px;
    color: #7a9fc4;
    font-style: italic;
}

/* Footer */
footer {
    background: rgba(10, 22, 40, 0.9);
    border-top: 2px solid #2a5a8e;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-content p {
    font-size: 13px;
    color: #7a9fc4;
}

/* Responsive */
@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .left-sidebar, .right-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .hero-character {
        display: none;
    }
    
    .login-box {
        position: static;
        transform: none;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .screenshots-grid, .items-grid {
        grid-template-columns: 1fr;
    }
}

