/* Global Styles */
:root {
    --primary-color: #003EF4;
    --bg-color: #000000;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(0, 62, 244, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Oscurecer video */
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.fade-in-title {
    max-width: 80%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* Sections General */
.section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title span {
    color: var(--primary-color);
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 7;
    /* 70% */
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.about-text h2 span {
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ccc;
}

.about-image {
    flex: 3;
    /* 30% */
    position: relative;
    overflow: hidden;
    /* Diagonal cut effect */
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
    /* Zoom effect */
}

/* Stats Section */
.stats-section {
    background: linear-gradient(to right, #000000, #0a0a0a);
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.stat-item p {
    color: #aaa;
    font-size: 1rem;
}

.stars i {
    font-size: 1.5rem;
    color: gold;
    /* Specific for stars */
    margin: 0 2px;
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 62, 244, 0.3);
    border-color: var(--primary-color);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.game-card:hover img {
    transform: scale(1.05);
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.game-info p {
    font-size: 0.95rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.btn-play {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-play:hover {
    background: #002db3;
}

/* Tech Section */
.tech-section {
    padding: 3rem 0;
    background: #ffffff;
}

.tech-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.tech-container img {
    height: 50px;
    /* Uniform height */
    object-fit: contain;
    filter: none;
    opacity: 0.7;
    transition: all 0.3s;
}

.tech-container img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Team Section */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.team-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    width: 300px;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.team-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-card .role {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.roles-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.roles-list span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #ccc;
}

/* Footer */
footer {
    background: #000;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid #111;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
    color: #ccc;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #111;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        background: rgba(0, 0, 0, 0.9);
    }

    .nav-links {
        display: none;
        /* Future: Add JS toggle for mobile menu */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero-content img {
        width: 80%;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-image {
        clip-path: none;
        border-radius: 10px;
    }

    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }

    .team-grid {
        gap: 2rem;
    }

    /* Keep footer horizontal-ish but wrap if needed, scale down */
    .footer-content {
        /* flex-direction: column; <--- Removed to keep row/wrap behavior */
        /* text-align: center; <--- Removed to keep left alignment or default */
        gap: 2rem;
        justify-content: space-between;
        /* Ensure spreading */
    }

    .footer-logo img {
        height: 30px;
        /* Scale down logo slightly */
    }

    /* Adjust font sizes for footer links if needed */
    .footer-links h3,
    .footer-social h3 {
        font-size: 1rem;
    }
}

/* News Section Styles */
.news-section {
    padding-top: 100px;
    /* Account for fixed navbar */
    min-height: 80vh;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
}

.news-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    padding-left: 10px;
}

.news-post {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    /* border-radius removed as requested */
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.name-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-name {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.verified-badge {
    width: 18px;
    height: 18px;
}

.post-date {
    font-size: 0.9rem;
    color: #71767b;
}

.post-content {
    margin-left: 60px;
    /* Align with text start of header */
    font-size: 1rem;
    line-height: 1.5;
    color: #e7e9ea;
}

.post-content p {
    margin-bottom: 10px;
}

.post-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 10px;
    color: #e7e9ea;
}

.post-link {
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
}

.post-link:hover {
    text-decoration: underline;
}

.post-separator {
    height: 1px;
    background-color: #2f3336;
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .news-container {
        border: none;
        padding: 15px;
    }

    .post-content {
        margin-left: 0;
        /* Stack on very small screens if needed, otherwise keep aligned */
    }
}