/* ===================================
   DINO RUN 2 - PLACEHOLDER SITE
   Updated: 3-button layout + social icons + hover FX
   =================================== */

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

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: monospace;
    display: flex;
    flex-direction: column;
    background-color: #563017; /* Earth brown background */
}

/* ===================================
   BROWN HEADER BAR
   =================================== */

.brown-header {
    background-color: #563017;
    border-bottom: 3px solid #351a09;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

/* DR2 LOGO (no longer a link) */
.logo-dr2 {
    display: block;
}

.logo-dr2 img {
    height: 66px;
    width: auto;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* RIGHT-SIDE HEADER GROUP (Contact + Social Icons) */
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.contact-btn {
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);
}

.contact-btn img {
    height: 50px;
    width: auto;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* SOCIAL ICONS (Discord, Twitter/X) */
.social-btn {
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);
}

.social-btn img {
    height: 48px;
    width: auto;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* ===================================
   HERO IMAGE SECTION
   =================================== */

.hero-section {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 3px solid #351a09;
}

/* BACKGROUND IMAGE */
.hero-background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-image: url('../images/DinoRun2_site_Hero_4_3840x2160.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    z-index: 1;
}

/* Make sure hero fills available space */
@media (min-aspect-ratio: 16/9) {
    .hero-background {
        background-size: cover;
    }
}

/* BUTTONS OVER HERO */
.hero-buttons {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1600px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding: 0 48px 30px;
}

.hero-btn {
    display: block;
    flex: 0 1 auto; /* keep size on large screens, shrink to fit on smaller */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-5px);
    filter: brightness(1.08);
}

.hero-btn img {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* Side buttons (Kickstarter + Steam) */
.kickstarter-btn,
.steam-btn {
    width: 360px;
}

/* Center Patreon button - larger, stands out */
.patreon-btn {
    width: 420px;
}

/* ===================================
   BROWN FOOTER BAR
   =================================== */

.brown-footer {
    background-color: #563017;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}

.pixeljam-logo {
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.pixeljam-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.pixeljam-logo img {
    height: 40px;
    width: auto;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* TABLET */
@media (max-width: 1024px) {
    .brown-header {
        padding: 12px 30px;
    }
    
    .logo-dr2 img {
        height: 58px;
    }
    
    .header-right {
        gap: 18px;
    }
    
    .contact-btn img {
        height: 44px;
    }
    
    .social-btn img {
        height: 42px;
    }
    
    .hero-buttons {
        gap: 18px;
        padding: 0 30px 26px;
    }
    
    .kickstarter-btn,
    .steam-btn {
        width: 280px;
    }
    
    .patreon-btn {
        width: 320px;
    }
    
    .brown-footer {
        padding: 20px;
    }
    
    .pixeljam-logo img {
        height: 35px;
    }
}

/* MOBILE LANDSCAPE */
@media (max-width: 768px) and (orientation: landscape) {
    .brown-header {
        padding: 10px 20px;
    }
    
    .logo-dr2 img {
        height: 44px;
    }
    
    .header-right {
        gap: 14px;
    }
    
    .contact-btn img {
        height: 38px;
    }
    
    .social-btn img {
        height: 38px;
    }
    
    .hero-section {
        min-height: 360px;
    }
    
    .hero-buttons {
        gap: 12px;
        padding: 0 20px 18px;
    }
    
    .kickstarter-btn,
    .steam-btn {
        width: 210px;
    }
    
    .patreon-btn {
        width: 240px;
    }
    
    .brown-footer {
        padding: 15px;
    }
    
    .pixeljam-logo img {
        height: 30px;
    }
}

/* MOBILE PORTRAIT */
@media (max-width: 768px) and (orientation: portrait) {
    .brown-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 14px;
    }
    
    .logo-dr2 img {
        height: 70px; /* Fill more of the width on mobile */
    }
    
    .header-right {
        gap: 22px;
    }
    
    .contact-btn img {
        height: 46px;
    }
    
    .social-btn img {
        height: 44px;
    }
    
    .hero-section {
        min-height: 460px;
    }
    
    /* Stack the three buttons vertically, centered */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
        padding: 0 20px 25px;
    }
    
    .kickstarter-btn,
    .steam-btn {
        width: 300px;
    }
    
    .patreon-btn {
        width: 320px;
    }
    
    .brown-footer {
        padding: 20px;
    }
    
    .pixeljam-logo img {
        height: 32px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .brown-header {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .logo-dr2 img {
        height: 60px;
    }
    
    .header-right {
        gap: 16px;
    }
    
    .contact-btn img {
        height: 42px;
    }
    
    .social-btn img {
        height: 40px;
    }
    
    .hero-section {
        min-height: 400px;
    }
    
    .hero-buttons {
        gap: 14px;
        padding: 0 15px 20px;
    }
    
    .kickstarter-btn,
    .steam-btn {
        width: 260px;
    }
    
    .patreon-btn {
        width: 280px;
    }
    
    .brown-footer {
        padding: 18px;
    }
    
    .pixeljam-logo img {
        height: 28px;
    }
}

/* VERY SMALL MOBILE */
@media (max-width: 375px) {
    .brown-header {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .logo-dr2 img {
        height: 52px;
    }
    
    .header-right {
        gap: 12px;
    }
    
    .contact-btn img {
        height: 38px;
    }
    
    .social-btn img {
        height: 36px;
    }
    
    .hero-section {
        min-height: 360px;
    }
    
    .hero-buttons {
        gap: 12px;
        padding: 0 12px 18px;
    }
    
    .kickstarter-btn,
    .steam-btn {
        width: 230px;
    }
    
    .patreon-btn {
        width: 250px;
    }
    
    .brown-footer {
        padding: 15px;
    }
    
    .pixeljam-logo img {
        height: 24px;
    }
}

/* EXTRA WIDE SCREENS */
@media (min-width: 1920px) {
    /* Button row is capped at max-width 1600px and centered, so it stays tidy */
}
