:root {
    --gta-yellow: #f4c400; /* Classic GTA IV Logo Yellow */
    --gta-dark: #111111;
    --gta-darker: #080808;
    --gta-grey: #2a2a2a;
    --gta-light-grey: #888888;
    --text-main: #f0f0f0;
    --gta-blue: #3b5998; /* Police blue accent */
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--gta-darker);
    color: var(--text-main);
    overflow-x: hidden;
}

/* CRT Scanline Effect & Vignette */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    z-index: 999;
    pointer-events: none;
    opacity: 0.4;
}

.vignette {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero {
    /* Fallback dark gray if image doesn't load, mimicking GTA 4 loading screens */
    background-color: var(--gta-dark);
    background-image: linear-gradient(to bottom, rgba(17,17,17,0.7), rgba(8,8,8,1)), url('../assets/images/homepage_image_1.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    border-bottom: 5px solid var(--gta-yellow);
}

.hero-content {
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    animation: fadeInScale 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.wanted-stars {
    color: var(--gta-dark);
    text-shadow: 0 0 2px var(--gta-yellow), 0 0 5px var(--gta-yellow); /* Glow to make it look active */
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.wanted-stars .active {
    color: var(--gta-yellow);
    text-shadow: none;
}

.hero h1 {
    font-family: 'Changa One', sans-serif;
    font-size: 5.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 10px;
    color: #ffffff;
    /* Heavy black outline typical of GTA titles */
    -webkit-text-stroke: 2px #000;
    text-shadow: 4px 4px 0px #000, 8px 8px 15px rgba(0,0,0,0.8);
    transform: skewX(-5deg);
}

.hero p {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--gta-yellow);
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #000;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* GTA Pause Menu Style Buttons */
.btn {
    padding: 15px 35px;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.1s;
    letter-spacing: 2px;
    border: 3px solid #000;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.8);
}

.hero-buttons .btn-primary {
    display: inline-flex;
    width: auto;
}

.btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px rgba(0,0,0,0.8);
}

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

.btn-primary:hover {
    background: #fff;
    color: #000;
}

.btn-outline {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
    border-color: #000;
}

/* Server & Launcher Section */
.server-launcher-section {
    padding: 100px 20px;
    background: var(--gta-darker);
    background-image: radial-gradient(circle at 50% 0%, var(--gta-grey) 0%, var(--gta-darker) 70%);
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Changa One', sans-serif;
    font-size: 3rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 2px 0px #000;
    position: relative;
    display: inline-block;
    transform: skewX(-5deg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    background: rgba(20, 20, 20, 0.9);
    padding: 30px;
    border: 3px solid #000;
    position: relative;
    text-align: left;
    box-shadow: 6px 6px 0px rgba(0,0,0,1);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -3px; left: -3px; right: -3px;
    height: 6px;
    background: var(--gta-yellow);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gta-grey);
}

.card-main-icon {
    font-size: 2.5rem;
    color: var(--gta-yellow);
    text-shadow: 2px 2px 0px #000;
}

.info-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 2px 2px 0px #000;
}

/* Server Details specifics */
.server-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.5);
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid var(--gta-grey);
}

.detail-label {
    color: var(--gta-light-grey);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-label i {
    color: var(--text-main);
    width: 20px;
    text-align: center;
}

.detail-value {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.ip-address {
    color: var(--gta-yellow);
    font-family: monospace;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--gta-light-grey);
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.2s;
    padding: 5px;
}

.copy-btn:hover {
    color: var(--gta-yellow);
    transform: scale(1.1);
}

.status-online {
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    box-shadow: 0 0 10px #4CAF50;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Launcher specifics */
.launcher-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.launcher-details p {
    color: #ccc;
    line-height: 1.6;
    font-size: 1.05rem;
}

.launcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    padding: 12px 20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    background: var(--gta-blue);
    color: #fff;
    border: 2px solid #000;
    transition: all 0.2s;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.8);
}

.launcher-btn:hover {
    background: #476ab8;
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.8);
}

.launcher-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px rgba(0,0,0,0.8);
}

footer {
    background: #000;
    padding: 50px 20px 30px;
    text-align: center;
    border-top: 2px solid var(--gta-grey);
    color: #666;
    position: relative;
    z-index: 2;
}

.footer-socials {
    margin-bottom: 30px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gta-grey);
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: 0.2s;
    text-decoration: none;
    border: 2px solid #000;
    transform: skewX(-10deg);
}

.footer-socials a i {
    transform: skewX(10deg); /* un-skew the icon */
}

.footer-socials a:hover {
    background: var(--gta-yellow);
    color: #000;
    transform: skewX(-10deg) translateY(-5px);
}

footer p {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; -webkit-text-stroke: 1px #000; }
    .hero p { font-size: 1.5rem; }
    .btn { width: 100%; justify-content: center; font-size: 1.3rem; }
    .feature-card { padding: 30px 20px; }
    .section-title { font-size: 2.5rem; }
}
