:root {
    --bg-color: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent-color: #bb2222;
    /* Blood red for Shinigami */
    --accent-hover: #dd3333;
    --border-color: #333;
    --font-jp-heading: 'Reggae One', system-ui, sans-serif;
    --font-jp-body: 'Noto Sans JP', system-ui, sans-serif;
    --font-en: 'Oswald', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-jp-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-jp-heading);
    letter-spacing: 0.05em;
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent-color);
}

.uppercase {
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
    font-family: var(--font-en);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    font-family: var(--font-jp-heading);
}

.section-title span {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    font-family: var(--font-en);
    font-weight: bold;
    margin-top: 0.5rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/images/shinigami_hell.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Darken for text readability */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

h1.glitch-text {
    font-size: 5rem;
    font-weight: 700;
    font-family: var(--font-en);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-main);
    text-shadow: 2px 2px 0px var(--accent-color);
    margin-bottom: 1rem;
}

/* Mobile responsive for hero title */
@media (max-width: 768px) {
    h1.glitch-text {
        font-size: 3rem;
    }
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.about-image img {
    border-radius: 4px;
    box-shadow: 10px 10px 0px var(--accent-color);
    filter: grayscale(20%) contrast(120%);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

/* Custom Section */
#custom {
    background-color: var(--bg-secondary);
}

.strong-feature {
    text-align: center;
    margin: 3rem auto;
    padding: 2rem;
    border: 2px solid var(--accent-color);
    background: rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

.strong-feature h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
    font-family: var(--font-jp-heading);
}

.feature-text {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 2;
}

.highlight {
    color: var(--accent-color);
    font-size: 1.4rem;
    text-shadow: 0 0 5px rgba(187, 34, 34, 0.5);
}

.special-showcase {
    background: linear-gradient(145deg, #222, #111);
    border: 1px solid #333;
    padding: 3rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.special-showcase .badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--accent-color);
    color: #fff;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-weight: bold;
    font-family: var(--font-en);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.special-showcase h3 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(187, 34, 34, 0.5);
}

.showcase-image {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border: 1px solid #444;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.showcase-note {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 1rem;
}

.custom-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    border: 1px solid #444;
    transition: transform 0.3s ease;
    overflow: hidden;
    /* Ensure images stay within borders */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item.text-only {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

/* Services Section */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #666;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.service-tag {
    display: inline-block;
    background: #333;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Partner Section */
#partner {
    background: #000;
    padding: 4rem 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.partner-box {
    border: 1px solid #444;
    padding: 2rem;
    text-align: center;
}

.partner-box h3 {
    color: #888;
    font-size: 1rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.partner-link {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-top: 1rem;
    border-bottom: 1px solid transparent;
}

.partner-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Footer & Nav */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    nav {
        display: none;
    }

    /* Simplified for now, should do hamburger later if needed */
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    font-family: var(--font-jp-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

footer {
    background: #000;
    padding: 20px 0;
    font-size: 0.8rem;
    color: #666;
}

.address-small {
    font-size: 0.7rem;
    color: #333;
    margin-bottom: 5px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    h1.glitch-text {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .strong-feature {
        padding: 1.5rem;
        margin: 2rem auto;
    }

    .strong-feature h3 {
        font-size: 1.5rem;
    }

    .feature-text {
        font-size: 1rem;
    }

    .highlight {
        font-size: 1.2rem;
    }

    .special-showcase {
        padding: 1.5rem;
    }

    .special-showcase h3 {
        font-size: 1.8rem;
    }

    .custom-gallery {
        grid-template-columns: 1fr;
        /* Single column for gallery on mobile */
    }

    .service-card {
        padding: 1.5rem;
    }

    .partner-link {
        font-size: 1.2rem;
    }

    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        display: block;
        /* Show nav for now, stack under logo */
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 0.9rem;
    }
}