@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --bg-color: #05070a;
    --midnight-blue: #0b0e14;
    --brand-red: #d90429;
    --brand-orange: #f77f00;
    --brand-yellow: #fcbf49;
    --sunset-gradient: linear-gradient(135deg, var(--brand-red), var(--brand-orange), var(--brand-yellow));
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --nav-hover: #f77f00;
    --card-bg: #11141b;
    --border-color: #1f242d;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: var(--font-family);
    line-height: 1.6;
    padding-bottom: 2rem;
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(217, 4, 41, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(247, 127, 0, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Links Readability Improvements */
a {
    color: var(--brand-orange);
    transition: all 0.3s ease;
}

a:visited {
    color: var(--brand-orange);
}

a:hover {
    color: var(--brand-yellow);
}

.inline-link {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

.inline-link:visited {
    color: var(--brand-orange);
}

.inline-link:hover {
    color: var(--brand-yellow);
    border-bottom-color: var(--brand-yellow);
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

nav a i {
    font-size: 1rem;
    color: var(--brand-orange);
}

nav a:hover, nav a.active {
    color: var(--text-white);
    opacity: 1;
    text-shadow: 0 0 10px rgba(247, 127, 0, 0.5);
}

nav a.active {
    border-bottom: 2px solid var(--brand-orange);
    padding-bottom: 4px;
}

/* Main Content */
main {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

h1, h2 {
    color: var(--brand-orange);
    background: var(--sunset-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 6rem;
    padding: 2rem 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(217, 4, 41, 0.1);
    color: var(--brand-red);
    border: 1px solid rgba(217, 4, 41, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-image {
    width: 100%;
    max-width: 850px;
    height: auto;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 30px rgba(217, 4, 41, 0.15);
    border: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: var(--sunset-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.cta-button, .cta-button:visited {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--sunset-gradient);
    color: var(--midnight-blue) !important;
    text-decoration: none;
    font-weight: 800;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(217, 4, 41, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(217, 4, 41, 0.5);
    color: #fff !important;
}

/* Services Overview */
.services-overview {
    padding: 6rem 3rem;
    background: var(--card-bg);
    border-radius: 32px;
    border: 1px solid var(--border-color);
    margin-bottom: 6rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    opacity: 0.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    border-color: var(--brand-orange);
    box-shadow: 0 10px 30px rgba(247, 127, 0, 0.1);
}

.expertise-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--sunset-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
    -webkit-text-fill-color: initial;
    background: none;
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.services-tagline {
    text-align: left;
}

.services-tagline p {
    font-weight: 800;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 2rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Game & Shop Grid */
.game-grid, .shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.game-card, .book-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.game-card:hover, .book-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-orange);
    box-shadow: 0 10px 30px rgba(217, 4, 41, 0.15);
}

.book-card {
    align-items: flex-start;
    text-align: left;
}

.book-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.game-card h3, .book-card h3 {
    color: var(--brand-orange);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.game-card p, .book-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-top: 4rem;
}

.contact-form h2 {
    margin-top: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-white);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
}

.submit-btn {
    background: var(--sunset-gradient);
    color: var(--midnight-blue) !important;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: 100%;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 4, 41, 0.3);
    color: #fff !important;
}

/* Footer */
footer {
    text-align: left;
    padding: 4rem 5%;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Image Gallery & Cinematic Effects */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.cinematic-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    background: #000;
}

.cinematic-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    /* "Color Grading": Warmer tones, boost contrast/saturate to match sunset theme */
    filter: brightness(0.9) contrast(1.1) saturate(1.1) sepia(0.1);
}

.cinematic-img-wrapper:hover .cinematic-img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.1) saturate(1.2) sepia(0);
}

.cinematic-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .logo {
        margin-right: 0;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 2.2rem; }

    .image-gallery {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr !important;
    }
}
