:root {
    --bg-color: #0d0b14;
    --card-bg: rgba(25, 22, 35, 0.8);
    --accent-primary: #b388ff;
    /* Soft Purple */
    --accent-secondary: #7c4dff;
    /* Deep Purple */
    --text-main: #e0e0e0;
    --text-dim: #9e9e9e;
    --gold: #ffd700;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', 'Outfit', 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Decoration */
.bg-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 70% 20%, #1a1625 0%, #0d0b14 100%);
    overflow: hidden;
}

.bg-decor svg {
    position: absolute;
    opacity: 0.1;
    filter: blur(2px);
}

/* Age Verification Overlay */
#age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 11, 20, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(20px);
}

.gate-content {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(179, 136, 255, 0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 77, 255, 0.1);
    animation: fadeIn 0.8s ease-out;
}

.gate-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.gate-content h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-primary);
    letter-spacing: 2px;
}

.gate-content p {
    margin-bottom: 2.5rem;
    color: var(--text-dim);
}

.gate-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-dim);
    color: var(--text-dim);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

/* Main Layout */
header {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(13, 11, 20, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-primary);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent-primary);
}

/* Hero Section */
#hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    position: relative;
    text-align: center;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#hero p {
    font-size: 1.25rem;
    max-width: 700px;
    color: var(--text-dim);
    margin-bottom: 3rem;
}

/* Grid Layout for Content */
.section-title {
    padding: 4rem 10% 2rem;
    font-size: 2rem;
    color: var(--accent-primary);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 10% 5rem;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(179, 136, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card-img {
    height: 220px;
    background: #1a1625;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.card-img img,
.card-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card:hover .card-img video {
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .card {
        grid-column: span 1 !important;
    }

    #hero h1 {
        font-size: 2.5rem;
    }
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.video-container video {
    width: 100%;
    height: 100%;
}

.card-body {
    padding: 1.5rem;
}

.card-tag {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    background: rgba(179, 136, 255, 0.1);
    color: var(--accent-primary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Footer */
footer {
    padding: 4rem 10%;
    background: #08060a;
    border-top: 1px solid rgba(179, 136, 255, 0.1);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.copyright {
    color: var(--text-dim);
    font-size: 0.9rem;
}