/* General Styling */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000; /* Pure black */
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #ffffff;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 1. Top Navigation Bar */
.top-nav {
    background-color: #060505; /* Dark background */
    border-bottom: 2px solid ; /* Red line similar to the screenshot */
}

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

/* .rockstar-logo {
    color: #CC0000;
    font-size: 24px;
    font-weight: bold;
    padding-right: 20px;
} */

.main-links ul {
    display: flex;
}

.main-links ul li a {
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.main-links ul li a:hover {
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-launcher {
    background-color: #CA8C12;
    color: #000000;
    padding: 8px 15px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-launcher:hover {
    background-color: #990000;
}

.icon-link {
    font-size: 18px;
    opacity: 0.8;
}

/* 2. Main Hero Section */
.hero-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.hero-content-area {
    display: flex;
    gap: 20px;
}

/* Left Side: Poster */
.hero-poster {
    flex: 3; /* Takes up a larger portion, similar to the screenshot */
    min-height: 600px; /* Base height for the hero area */
    position: relative;
    overflow: hidden;
}

.poster-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom; /* To keep characters visible */
    border-radius: 5px;
}

.poster-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px 40px;
    text-align: left;
}

.gta-title {
    font-family: 'Impact', sans-serif; /* For the classic bold look */
    font-size: 6vw; /* Large and responsive */
    line-height: 0.8;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    margin: 0;
}
.gta-title-vi {
    font-family: 'Impact', sans-serif;
    font-size: 8vw; 
    line-height: 0.8;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    margin: 0;
}

.release-date {
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* Right Side: Ad Block */
.hero-ad-block {
    flex: 1; /* Takes up a smaller portion */
    background-color: #1a1a1a;
    border-radius: 5px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    position: relative;
}

.ad-small-text {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 5px;
}

.ad-title {
    font-size: 28px;
    color: #ffffff;
    margin-top: 0;
    line-height: 1.2;
}

.btn-learn-more {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.btn-learn-more:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.ad-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.dot {
    height: 8px;
    width: 8px;
    background-color: #555;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #ffffff;
}

.ad-logo {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

/* Footer (Simple) */
footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #555;
    margin-top: 40px;
}
/* --- Newswire Section Styling (for the 3-column layout) --- */

.newswire-section {
    padding: 60px 20px;
    background-color: #000000;
}

.newswire-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px; /* Space between the cards */
}

.news-card {
    flex: 1; /* Makes all three cards equal width */
    background-color: #000000;
    overflow: hidden;
    position: relative;
    transition: background-color 0.3s;
}

.news-card a {
    display: block; /* Make the whole card clickable */
    color: #ffffff;
    text-decoration: none;
}

.news-card:hover {
    background-color: #0a0a0a; /* Slight background change on hover */
}

/* Image Box Styling */
.card-image-box {
    position: relative;
    overflow: hidden;
    /* Aspect ratio is tall, similar to the screenshot */
}

.card-image-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.news-card:hover .card-image-box img {
    transform: scale(1.03); /* Subtle zoom effect on hover */
}

/* Content Area Styling */
.card-content {
    padding: 15px 0 20px 0;
    text-align: left;
}

.card-meta {
    margin-bottom: 8px;
    font-size: 13px;
    color: #888888;
    display: flex;
    justify-content: space-between;
}

.category {
    font-weight: bold;
    color: #CC0000; /* Rockstar Red for category */
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s;
}

.news-card:hover .card-title {
    color: #CC0000; /* Title turns red on hover */
}

/* Specific styling for the small red R* logo on the third card */
.ad-logo.small-red {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    opacity: 1;
    color: #CC0000;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px;
    line-height: 1;
}

/* Optional: Make text more legible in the card */
.card-content {
    border-top: 1px solid #1a1a1a;
    margin-top: -3px; /* Pull it slightly over the image for connection */
}
/* --- New CSS for the CircoLoco and GTA+ Overlays --- */

/* Positioning for the Top-Left Overlays (used on the CircoLoco Cards) */
.ad-logo.small-red.top-left {
    top: 20px;
    right: auto; /* Reset right position */
    left: 10px; /* Position to the top-left */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    background-color: transparent; /* Remove background on the wrapper */
    opacity: 1;
}

.circoloco-text {
    font-size: 14px;
    font-weight: bold;
    color: #CC0000;
    line-height: 1;
}

.records-text {
    font-size: 10px;
    color: #ffffff;
    line-height: 1;
}

.rockstar-r {
    position: absolute;
    top: 8px;
    right: -15px; /* Adjust position relative to the wrapper */
    font-size: 20px;
    color: #CC0000;
}

/* GTA+ Logo Styling (used on the third card) */
.gta-plus-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #000000;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    padding: 5px 10px;
    line-height: 1;
    border-radius: 5px;
    letter-spacing: 1px;
}

.gta-plus-logo .plus-symbol {
    color: #CC0000; /* Red color for the plus symbol */
    font-size: 40px;
    margin-left: 5px;
}

/* Ensure images fit the card image box and have dark background */
.card-image-box img {
    /* To show the background image in the placeholder better */
    background-color: #1a1a1a; 
}
/* --- Subscription Area Styling --- */
.subscription-area {
    background-color: #000000;
    padding: 80px 20px;
    text-align: center;
}

.pattern-overlay {
    /* Using a linear gradient to simulate the subtle background pattern */
    background: repeating-linear-gradient(
        45deg,
        #0a0a0a,
        #0a0a0a 10px,
        #000000 10px,
        #000000 20px
    );
    background-size: 15px 15px; /* Adjust size to make the pattern very faint/large */
    background-color: #000000; /* Fallback */
    padding: 60px 20px;
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.logo-top-r {
    color: #CC0000;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1;
}

.subscribe-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #ffffff;
}

.subscribe-content p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 30px;
}

.btn-subscribe {
    display: inline-block;
    background-color: #CC0000;
    color: #000000;
    padding: 12px 30px;
    border-radius: 3px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.btn-subscribe:hover {
    background-color: #990000;
    color: #ffffff;
}

/* --- Main Footer Styling --- */
.main-footer {
    background-color: #000000;
    border-top: 1px solid #1a1a1a;
    padding: 20px 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 15px;
}

.links-group a {
    color: #ffffff;
    font-size: 14px;
    margin-right: 25px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.links-group a:hover {
    opacity: 1;
}

.language-selector {
    color: #ffffff;
    font-size: 14px;
    opacity: 0.8;
}

/* Footer Bottom (Legal and Social) */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.legal-links a {
    color: #777777;
    font-size: 12px;
    margin-right: 15px;
    opacity: 0.8;
}

.legal-links a:hover {
    color: #CC0000;
}

.social-icons a {
    font-size: 14px;
    margin-left: 15px;
    color: #777777;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #CC0000;
}/* ========================================= */
/* 3. Media Queries for Responsiveness 📱💻 */
/* ========================================= */

@media (max-width: 1024px) {
    /* Adjustments for medium screens (laptops/large tablets) */

    .nav-container,
    .hero-main,
    .newswire-container,
    .footer-container {
        max-width: 960px; /* Constrain content slightly more */
    }

    .gta-title {
        font-size: 8vw; /* Increase the title size slightly on medium screens */
    }
    .gta-title-vi {
        font-size: 10vw;
    }

    .main-links ul li a {
        padding: 10px 10px; /* Less padding for navigation links */
    }
}

@media (max-width: 768px) {
    /* Adjustments for small screens (tablets and mobiles) */

    /* --- Navigation Bar Adjustments --- */
    .nav-container {
        flex-direction: column; /* Stack the main links below the logo/actions */
        padding: 10px 10px;
    }

    .nav-actions {
        order: -1; /* Move actions group to the top right */
        margin-left: auto;
        padding-bottom: 5px;
    }

    .main-links {
        width: 100%; /* Full width for the links wrapper */
        order: 1; /* Move links below the logo */
    }

    .main-links ul {
        justify-content: space-around; /* Spread links out */
    }

    .main-links ul li a {
        font-size: 13px;
        padding: 10px 5px;
    }

    /* --- Main Hero Section Adjustments --- */
    .hero-content-area {
        flex-direction: column; /* Stack the poster and ad block vertically */
    }

    .hero-poster {
        flex: auto;
        min-height: 400px; /* Reduce minimum height on small screens */
    }

    .gta-title {
        font-size: 12vw; /* Make the title larger when stacked */
    }
    .gta-title-vi {
        font-size: 15vw;
    }

    .poster-overlay-text {
        padding: 15px 20px;
    }
    
    .release-date {
        font-size: 14px;
    }

    .hero-ad-block {
        flex: auto;
        padding: 20px;
    }

    /* --- Newswire Section Adjustments --- */
    .newswire-container {
        flex-direction: column; /* Stack news cards vertically */
        gap: 20px; /* Reduce gap */
    }

    .news-card {
        flex: auto; /* Take full width */
    }
    
    /* Slightly adjust card content padding to fit better */
    .card-content {
        padding: 10px 0 15px 0;
    }
    
    .card-title {
        font-size: 18px;
    }

    /* --- Subscription Area Adjustments --- */
    .pattern-overlay {
        padding: 40px 10px; /* Reduce padding */
    }
    
    .subscribe-content h2 {
        font-size: 26px;
    }

    /* --- Footer Adjustments --- */
    .footer-links-top {
        flex-direction: column; /* Stack top footer links */
        align-items: flex-start;
    }
    
    .links-group {
        margin-bottom: 15px; /* Add space between stacked link groups */
    }

    .links-group a {
        margin-right: 15px;
        margin-bottom: 10px;
        display: inline-block; /* Helps with spacing on wrap */
    }

    .language-selector {
        margin-left: 0;
    }

    .footer-bottom {
        flex-direction: column; /* Stack legal links and social icons */
        align-items: flex-start;
    }

    .legal-links {
        margin-bottom: 10px;
    }

    .social-icons {
        margin-top: 5px;
    }

    .social-icons a:first-child {
        margin-left: 0; /* Remove left margin on the first social icon */
    }
}

@media (max-width: 480px) {
    /* Further adjustments for extra small screens (phones) */
    
    /* Hide some navigation links to save space */
    .main-links ul li:nth-child(n+4) { 
        display: none; /* Hide 4th link and beyond (e.g., CAREERS, SUPPORT) */
    }
    
    .rockstar-logo {
        padding-right: 10px;
    }

    .gta-title {
        font-size: 14vw;
    }
    .gta-title-vi {
        font-size: 18vw;
    }

    .poster-overlay-text {
        padding: 10px 15px;
    }
    
    .release-date {
        font-size: 12px;
    }
}