/* ===== BASE ===== */
* {
    color: white;
    text-decoration: none;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
}

#bodydiv {
    background: url(./../images/Index-Background.png) no-repeat center fixed;
    background-size: cover;
    min-height: 100vh;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: calc(100vh - 7vh);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__content {
    text-align: center;
    padding: 2rem;
    animation: fadeUp 0.8s ease-out both;
}

.hero__name {
    font-size: clamp(4rem, 18vw, 14rem);
    font-weight: 700;
    line-height: 1;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.hero__sub {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    opacity: 0.8;
    margin: 0 0 2rem;
    min-height: 1.4em;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 0.75rem 2rem;
    background: #0088a9;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: #006d8a;
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 0.75rem 2rem;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: border-color 0.2s, transform 0.2s;
}

.btn-secondary:hover {
    border-color: white;
    transform: translateY(-2px);
}

.hero__scroll-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.4;
    animation: bounce 2s infinite;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    padding: 3rem 2rem;
}

.about-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    transition: background 0.2s, transform 0.2s;
}

.about-card:hover {
    background: rgba(0,136,169,0.15);
    transform: translateY(-4px);
}

.about-card__icon {
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.about-card h3 {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.85;
}

/* ===== TYPEWRITER CURSOR ===== */
.typewrite > .wrap {
    border-right: 0.08em solid #fff;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===== MOBILE ===== */
@media screen and (max-width: 750px) {
    #bodydiv {
        background-image: url(./../images/StarCitizenWallpap.jpeg);
    }

    .about-card {
        min-width: 140px;
        padding: 1rem 1.25rem;
    }
}
