/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lexend:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out;
}

/* Grain overlay on entire page */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
}

/* Red text selection highlight */
::selection {
    background-color: #ff0000;
    color: white;
}

::-moz-selection {
    background-color: #ff0000;
    color: white;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Page entrance animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
.nav {
    background: #e8e0d0;
    border-bottom: 1px solid #d4c8b0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5em;
    letter-spacing: 0.08em;
    font-weight: 400;
    color: #1a1008;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: #dc2626;
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #dc2626;
    transform: translateY(-2px);
}

.nav-links a.active {
    color: #1a1008;
    font-weight: 700;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    background: #0a0a0a;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 120px 120px;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5em;
    letter-spacing: 0.06em;
    margin-bottom: 15px;
    font-weight: 400;
    background: linear-gradient(135deg, #ffffff 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2em;
    color: #999;
}

/* Main Section */
.section {
    max-width: 100%;
    margin: 0;
    padding: 60px 20px;
    background: #3b0a0a;
    position: relative;
}

.section > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* IP Grid */
.ip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* IP Cards - CONSISTENT HEIGHT */
.ip-card {
    background: #1a0505;
    border: 1px solid #5a1010;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 450px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 4px 24px rgba(0,0,0,0.5);
}

.ip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    opacity: 0;
    transition: opacity 0.3s;
}

.ip-card.active:hover::before {
    opacity: 1;
}

.ip-card.active:hover {
    border-color: #dc2626;
    background: #dc2626;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
}

.ip-card.active:hover > p:not(.click-hint) {
    color: rgba(255,255,255,0.9);
}

.ip-card.active:hover .stat-tag {
    background: rgba(0,0,0,0.2);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.ip-card.active:hover .soundtrack-btn {
    background: #000;
    color: #fff;
    border-color: #000;
}

.ip-card.active:hover .click-hint {
    color: #fff;
    opacity: 1;
}

.ip-card.coming-soon {
    opacity: 0.5;
    cursor: not-allowed;
}

.ip-card.coming-soon:hover {
    transform: none;
    border-color: #333;
    box-shadow: none;
}

/* Coming soon titles - CONSISTENT HEIGHT */
.ip-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2em;
    letter-spacing: 0.05em;
    font-weight: 400;
    margin-bottom: 15px;
    color: #fff;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ip-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 20px auto;
}

/* Make description area flexible */
.ip-card > p:not(.click-hint) {
    color: #999;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: center;
}

/* Status Badges - CENTERED AND FIRST */
.status-badge {
    display: block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-align: center;
    margin: 0 auto 15px auto;
    width: fit-content;
}

.badge-available {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
    border: 1px solid rgba(220, 38, 38, 0.5);
}

.badge-coming {
    background: rgba(255, 255, 255, 0.05);
    color: #666;
    border: 1px solid #333;
}

/* Project Stats - CENTERED */
.project-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.85em;
    justify-content: center;
}

.stat-tag {
    background: rgba(220, 38, 38, 0.12);
    color: #f87171;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(220, 38, 38, 0.25);
    font-weight: 600;
}

.ip-card.coming-soon .stat-tag {
    background: rgba(153, 153, 153, 0.1);
    color: #666;
    border-color: rgba(153, 153, 153, 0.3);
}

/* Soundtrack Button - CENTERED */
.soundtrack-btn {
    display: block;
    background: #1a1a1a;
    color: #dc2626;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    border: 1px solid #dc2626;
    margin: 10px auto;
    transition: all 0.3s;
    cursor: pointer;
    width: fit-content;
    text-align: center;
}

.soundtrack-btn:hover {
    background: #dc2626;
    color: #fff;
    transform: translateY(-2px);
}

/* Click Hint */
.click-hint {
    color: #dc2626;
    font-size: 0.9em;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: center;
    margin-top: auto;
}

/* Music Section */
.music-player {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.music-player:hover {
    border-color: #dc2626;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.2);
}

.music-player h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.music-player audio {
    width: 100%;
    height: 40px;
    border-radius: 4px;
}

/* Music Modal */
.music-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    animation: fadeIn 0.3s;
}

.music-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-modal-content {
    width: 90%;
    max-width: 700px;
    background: #111;
    border-radius: 12px;
    border: 2px solid #dc2626;
    padding: 40px;
    animation: slideUp 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.music-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.music-modal-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #dc2626;
    font-size: 2em;
    margin: 0;
}

.music-close-btn {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.music-close-btn:hover {
    background: #b91c1c;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 12px 15px;
    color: #fff;
    font-family: inherit;
    font-size: 1em;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success h3 {
    color: #22c55e;
    font-size: 2em;
    margin-bottom: 15px;
}

.form-success p {
    color: #999;
    font-size: 1.1em;
}

/* Footer */
.footer {
    background: #0a0a0a;
    border-top: 2px solid #3b0a0a;
    padding: 40px 20px 80px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8em;
    letter-spacing: 0.08em;
    font-weight: 400;
    color: #dc2626;
    margin-bottom: 20px;
}

.social-links a {
    background: #1a1a1a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #333;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
    transform: translateY(-2px);
}

.footer-note {
    color: #555;
    font-size: 0.9em;
    margin-top: 20px;
}

/* PDF Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    width: 90%;
    height: 90%;
    max-width: 1400px;
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    animation: slideUp 0.3s;
    display: flex;
    flex-direction: column;
}

.modal-header {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    flex-shrink: 0;
}

.modal-title {
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
}

.close-btn {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.close-btn:hover {
    background: #b91c1c;
}

.download-btn {
    background: #333;
    color: #fff;
    border: 1px solid #dc2626;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    margin-right: 10px;
}

.download-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.pdf-viewer {
    width: 100%;
    flex: 1;
    border: none;
}

/* Mobile PDF Message */
.mobile-pdf-message {
    display: none;
}

/* iOS Device Specific Styles */
.ios-device .pdf-viewer {
    display: none !important;
}

.ios-device .mobile-pdf-message {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    flex: 1;
    background: #1a1a1a;
}

.ios-device .mobile-pdf-message h3 {
    color: #dc2626;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.ios-device .mobile-pdf-message p {
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 500px;
}

.ios-device .open-pdf-btn {
    background: #dc2626;
    color: #fff;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.ios-device .open-pdf-btn:hover {
    background: #b91c1c;
}

/* About Page Specific */
.about {
    background: #111;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #333;
}

.about p {
    font-size: 1.1em;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ── Home Page ── */
.home-hero {
    background: #0a0a0a;
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 120px 120px;
}

.home-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.home-hero-tag {
    font-family: 'Lexend', sans-serif;
    font-size: 0.78em;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #dc2626;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.home-hero-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4em, 12vw, 9em);
    letter-spacing: 0.06em;
    font-weight: 400;
    line-height: 0.95;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-hero-rule {
    width: 60px;
    height: 2px;
    background: #dc2626;
    margin: 0 auto 28px;
}

.home-hero-line {
    font-size: 1.15em;
    color: #999;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.home-hero-cta {
    display: inline-block;
    color: #dc2626;
    font-weight: 600;
    font-size: 1em;
    text-decoration: none;
    letter-spacing: 0.03em;
    padding: 12px 28px;
    border: 1px solid #dc2626;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.home-hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.home-hero-cta:hover {
    background: #dc2626;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.home-hero-cta-secondary {
    border-color: #555;
    color: #aaa;
}

.home-hero-cta-secondary:hover {
    background: #fff;
    color: #0a0a0a;
    border-color: #fff;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

/* Featured Work Section */
.home-featured {
    background: #3b0a0a;
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.home-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('cscscs-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.4;
    pointer-events: none;
}

.home-featured::after {
    content: none;
}

.home-featured-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.home-section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2em;
    letter-spacing: 0.08em;
    font-weight: 400;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.home-section-heading::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #dc2626;
}

/* Primary Feature Card (Moyroid) */
.home-feature-card {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.home-feature-primary {
    display: flex;
    background: #1a0505;
    border: 1px solid #5a1010;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.home-feature-primary:hover {
    border-color: #dc2626;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.25);
}

.home-feature-visual {
    flex: 0 0 45%;
    background: #110303;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    gap: 20px;
}

.home-feature-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
}

.home-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.home-feature-text {
    flex: 1;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-feature-text h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2em;
    letter-spacing: 0.05em;
    font-weight: 400;
    color: #fff;
    margin: 0 0 6px 0;
    min-height: auto;
    display: block;
    text-align: left;
}

.home-feature-type {
    font-size: 0.82em;
    color: #dc2626;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 16px;
}

.home-feature-text p {
    color: #aaa;
    line-height: 1.7;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.home-feature-link {
    color: #f87171;
    font-weight: 600;
    font-size: 0.9em;
    transition: color 0.3s;
}

.home-feature-primary:hover .home-feature-link {
    color: #fff;
}

/* Secondary Feature Cards */
.home-feature-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.home-feature-secondary {
    background: #1a0505;
    border: 1px solid #5a1010;
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.home-feature-secondary:hover {
    border-color: #dc2626;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.home-feature-secondary h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5em;
    letter-spacing: 0.04em;
    font-weight: 400;
    color: #fff;
    margin: 0 0 6px 0;
    min-height: auto;
    display: block;
    text-align: left;
}

.home-feature-secondary .home-feature-type {
    margin-bottom: 12px;
}

.home-feature-secondary p {
    color: #888;
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 16px;
}

.home-feature-secondary:hover .home-feature-link {
    color: #fff;
}

/* Additions Preview Section */
.home-additions-preview {
    background: #0a0a0a;
    padding: 70px 20px;
    border-top: 1px solid #1a0505;
}

.home-additions-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.home-additions-sub {
    color: #888;
    font-size: 0.95em;
    margin-bottom: 28px;
    margin-top: -20px;
}

.home-additions-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.home-additions-card {
    background: #1a0505;
    border: 1px solid #5a1010;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    display: block;
}

.home-additions-card:hover {
    border-color: #dc2626;
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.25);
}

.home-additions-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #110303;
}

.home-additions-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
}

.home-additions-card:hover .home-additions-img img {
    transform: scale(1.04);
}

.home-additions-info {
    padding: 14px 16px;
}

.home-additions-info h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2em;
    letter-spacing: 0.04em;
    font-weight: 400;
    color: #fff;
    margin: 0 0 4px 0;
    min-height: auto;
    display: block;
    text-align: left;
}

.home-additions-cta {
    display: inline-block;
    color: #dc2626;
    font-weight: 600;
    font-size: 0.95em;
    text-decoration: none;
    padding: 10px 24px;
    border: 1px solid #dc2626;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.home-additions-cta:hover {
    background: #dc2626;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

/* About Blurb Section */
.home-about {
    background: #0a0a0a;
    padding: 70px 20px;
    border-top: 1px solid #1a0505;
}

.home-about-inner {
    max-width: 800px;
    margin: 0 auto;
}

.home-about-text p {
    color: #bbb;
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 16px;
}

.home-about-link {
    display: inline-block;
    margin-top: 12px;
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95em;
    transition: all 0.3s;
}

.home-about-link:hover {
    color: #f87171;
    transform: translateX(4px);
}

/* ── Additions Page ── */
.additions-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    background: transparent;
    color: #888;
    border: 1px solid #5a1010;
    padding: 8px 20px;
    border-radius: 6px;
    font-family: 'Lexend', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: #fff;
    border-color: #dc2626;
}

.filter-btn.active {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

.additions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.addition-card {
    background: #1a0505;
    border: 1px solid #5a1010;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    opacity: 1;
}

.addition-card:hover {
    border-color: #dc2626;
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.25);
}

.addition-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #110303;
}

.addition-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
}

.addition-card:hover .addition-img-wrap img {
    transform: scale(1.04);
}

/* Placeholder for cards without images yet */
.addition-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a0505 0%, #2a0808 50%, #1a0505 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.addition-placeholder::after {
    content: 'Image Coming Soon';
    color: #5a1010;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Process Badge */
.process-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10, 10, 10, 0.85);
    color: #f87171;
    font-size: 0.78em;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(220, 38, 38, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
}

.addition-info {
    padding: 16px 18px;
}

.addition-info h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3em;
    letter-spacing: 0.04em;
    font-weight: 400;
    color: #fff;
    margin: 0 0 4px 0;
    min-height: auto;
    display: block;
    text-align: left;
}

.addition-origin {
    font-size: 0.82em;
    color: #dc2626;
    font-weight: 600;
}

/* Addition Detail Modal */
.addition-modal-content {
    width: 92%;
    max-width: 1200px;
    max-height: 90vh;
    background: #111;
    border-radius: 0;
    border: 2px solid #dc2626;
    overflow: hidden;
    animation: slideUp 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Browser-style top bar */
.addition-modal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0a0a0a;
    border-bottom: 1px solid #2a0808;
    padding: 0 4px 0 16px;
    flex-shrink: 0;
    min-height: 38px;
}

.addition-modal-topbar-title {
    font-family: 'Lexend', sans-serif;
    font-size: 0.75em;
    color: #666;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.addition-modal-close {
    background: transparent;
    color: #888;
    border: none;
    width: 38px;
    height: 38px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.addition-modal-close:hover {
    background: #dc2626;
    color: #fff;
}

/* Scroll cue — sits between image and process note */
.addition-modal-scroll-cue {
    text-align: center;
    padding: 12px 0;
    color: #dc2626;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9em;
    letter-spacing: 0.15em;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Modal body — stacked layout for both types */
.addition-modal-body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
}

.addition-modal-body.has-process {
    flex-direction: column;
}

.addition-modal-body.image-only {
    flex-direction: column;
    align-items: center;
}

.addition-modal-img {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.has-process .addition-modal-img {
    width: 100%;
}

.image-only .addition-modal-img {
    width: 100%;
}

.addition-modal-img img {
    width: 100%;
    height: auto;
    display: block;
}

.addition-modal-text {
    padding: 24px 36px 28px;
}

.addition-modal-text h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2em;
    letter-spacing: 0.04em;
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
}

.addition-modal-origin {
    font-size: 0.88em;
    color: #dc2626;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
}

.addition-modal-text p {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.05em;
    margin-bottom: 14px;
}

.addition-modal-cta {
    display: inline-block;
    margin-top: 20px;
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95em;
}

.addition-modal-cta:hover {
    color: #f87171;
    transform: translateX(4px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5em;
    }

    .hero p {
        font-size: 1em;
    }
    
    .nav-links {
        gap: 12px;
        font-size: 0.78em;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-logo {
        font-size: 1em;
        white-space: nowrap;
    }

    .section {
        padding: 40px 20px;
    }

    .ip-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ip-card {
        padding: 25px;
        min-height: 400px;
    }

    .ip-card h3 {
        font-size: 1.4em;
        min-height: 60px;
    }

    .project-stats {
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .project-stats::-webkit-scrollbar {
        display: none;
    }

    .stat-tag {
        font-size: 0.8em;
        padding: 3px 8px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Mobile PDF viewing */
    .modal-content {
        width: 95%;
        height: 95%;
    }

    .pdf-viewer {
        display: none;
    }

    .mobile-pdf-message {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        text-align: center;
        flex: 1;
        background: #1a1a1a;
    }

    .mobile-pdf-message h3 {
        color: #dc2626;
        font-size: 1.3em;
        margin-bottom: 15px;
    }

    .mobile-pdf-message p {
        color: #ccc;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .open-pdf-btn {
        background: #dc2626;
        color: #fff;
        padding: 15px 30px;
        border-radius: 8px;
        font-size: 1.1em;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        transition: background 0.3s;
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    }

    .open-pdf-btn:hover {
        background: #b91c1c;
    }

    /* Music modal adjustments */
    .music-modal-content {
        width: 95%;
        padding: 25px;
    }

    .music-modal-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .music-modal-header h2 {
        font-size: 1.3em;
    }

    .music-close-btn {
        width: 100%;
    }

    .music-player {
        padding: 15px;
    }

    .music-player h3 {
        font-size: 1em;
    }

    /* Footer adjustments */
    .footer {
        padding: 30px 20px;
    }

    .footer h3 {
        font-size: 1.3em;
    }

    .social-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .social-links a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .about {
        padding: 25px;
    }

    .about p {
        font-size: 1em;
    }
    
    /* Contact form mobile adjustments */
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    .submit-btn {
        width: 100%;
    }

    /* Additions responsive */
    .additions-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.82em;
    }

    .additions-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }

    .addition-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .addition-modal-text {
        padding: 24px 20px;
    }

    .addition-modal-text h2 {
        font-size: 1.5em;
    }

    /* Home page responsive */
    .home-hero {
        padding: 60px 20px 50px;
    }

    .home-hero-name {
        font-size: clamp(3em, 10vw, 5em);
    }

    .home-hero-line {
        font-size: 1em;
    }

    .home-feature-primary {
        flex-direction: column;
    }

    .home-feature-visual {
        flex: none;
        padding: 30px 20px;
    }

    .home-feature-text {
        padding: 24px 20px;
    }

    .home-feature-text h3 {
        font-size: 1.6em;
    }

    .home-feature-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-featured {
        padding: 50px 20px;
    }

    .home-about {
        padding: 50px 20px;
    }

    .home-additions-preview {
        padding: 50px 20px;
    }

    .home-additions-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Very Small Phones */
@media (max-width: 480px) {
    .nav-logo {
        font-size: 0.95em;
    }

    .nav-links {
        gap: 10px;
        font-size: 0.72em;
    }
    .modal-header {
        padding: 12px 15px;
    }

    .modal-header > div {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .modal-title {
        font-size: 1em;
    }

    .download-btn, .close-btn {
        width: 100%;
        padding: 10px;
        font-size: 0.9em;
    }

    .ip-card h3 {
        font-size: 1.2em;
        min-height: 50px;
    }

    .soundtrack-btn {
        width: 90%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .nav-logo {
        font-size: 1em;
    }

    .about p {
        font-size: 0.95em;
    }

    /* Additions small phone */
    .additions-grid {
        grid-template-columns: 1fr;
    }

    .addition-info h3 {
        font-size: 1.1em;
    }

    /* Home small phone */
    .home-hero-tag {
        font-size: 0.68em;
    }

    .home-section-heading {
        font-size: 1.8em;
    }

    .home-feature-secondary h3 {
        font-size: 1.3em;
    }
}
