:root {
    --gold: #d4af37;
    --gold-bright: #f9d71c;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-main: #f0f0f0;
    --text-sub: #a0a0a0;
    --accent-red: #ff4500;
    --line-green: #06c755;
    --dmm-red: #c00;
}

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

body {
    background-color: #000;
    background-image: url('img/bg_body.png');
    background-repeat: repeat;
    color: var(--text-main);
    font-family: 'M PLUS Rounded 1c', 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 1.0) url('img/bg_info2.png') repeat;
    border-bottom: 2px solid var(--gold);
    padding: 10px 0 90px 0;
}

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

.logo {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: var(--gold-bright);
    margin: 0;
    line-height: 1;
}

.logo img {
    height: 190px;
    width: auto;
}

.logo a {
    color: var(--gold-bright);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    font-weight: normal;
    color: #e6ba22;
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

nav ul li a i {
    font-size: 1.1rem;
    color: #e6ba22;
}

nav ul li a:hover {
    color: var(--gold-bright);
}

/* Hero Section */
.hero {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 20px;
    margin-top: 0;
}

.hero-img {
    max-width: 90%;
    width: 1200px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.hero-btn {
    display: inline-block;
    background-color: var(--line-green);
    color: white;
    padding: 20px 40px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Ticker */
.ticker-wrap {
    background: rgba(34, 34, 34, 0.8);
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    width: 100%;
}

.ticker {
    display: inline-block;
    animation: ticker-animation 30s linear infinite;
}

.ticker span {
    display: inline-block;
    color: var(--gold-bright);
    font-weight: bold;
    margin-right: 50px;
}

@keyframes ticker-animation {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Sections */
section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-banner {
    background: linear-gradient(90deg, #333, #555, #333);
    color: #fff;
    padding: 10px 40px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: fit-content;
    margin: 0 auto 30px;
}

.section-banner i {
    color: var(--gold-bright);
}

/* Archive & Game Banner Link */
.archive-link-banner {
    display: inline-block;
    width: 100%;
    max-width: 380px;
    padding: 12px 20px;
    margin: 30px auto;
    background: linear-gradient(135deg, #d4af37 0%, #f9f295 45%, #e6be8a 70%, #b8860b 100%);
    color: #1a1a1a !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.archive-link-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    filter: brightness(1.1);
}

.archive-link-banner i {
    margin-right: 10px;
}

/* Grid for Courses & Salon */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.course-card {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.course-card img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    background: #000;
    border-bottom: 1px solid #333;
    display: block;
}

.course-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.course-info h3 {
    margin-bottom: 15px;
    color: var(--gold-bright);
    font-size: 1.3rem;
}

.btn-course {
    background: var(--gold);
    color: #000;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
    margin-top: auto;
}

.btn-course:hover {
    background: var(--gold-bright);
    transform: scale(1.05);
}

/* Free Area Banner */
.free-banner {
    background: linear-gradient(90deg, #b8860b, var(--gold), #b8860b);
    color: #000;
    padding: 15px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

/* Free Content Box */
.free-inner-box {
    background: rgba(40, 40, 50, 0.95);
    border: 2px solid var(--gold);
    border-top: none;
    padding: 20px 40px 40px;
    border-radius: 0 0 10px 10px;
}

.free-stats {
    color: #ffcc00;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-bottom: 3px solid var(--gold);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.free-stats i {
    color: var(--accent-red);
    font-size: 1.8rem;
    animation: flicker 1s infinite alternate;
}

.free-stats span {
    display: inline-block;
    animation: rotateChar 3s infinite linear;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes rotateChar {

    0%,
    80% {
        transform: rotateY(0deg);
    }

    90% {
        transform: rotateY(360deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes flicker {
    from {
        opacity: 0.8;
        transform: scale(1);
    }

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

.free-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
}

.free-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    width: 100%;
}

.qr-box img,
.note-box img {
    width: 200px;
    height: auto;
    border: 5px solid #fff;
    border-radius: 10px;
    background: #fff;
}

.mail-form-container input[type="email"] {
    padding: 12px;
    width: 280px;
    border-radius: 5px;
    border: 1px solid var(--gold);
    background: #fff !important;
    color: #000 !important;
}

.mail-form-container {
    text-align: center;
    width: 100%;
    margin-top: 20px;
}

/* Disqus Area */
.disqus-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    color: #000;
    max-height: 600px;
    overflow-y: auto;
}

.disqus-container::-webkit-scrollbar {
    width: 8px;
}

.disqus-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.disqus-container::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

/* Footer */
footer {
    background: #000 url('img/bg_footer.png') repeat center top;
    padding: 30px 20px;
    border-top: 1px solid var(--gold);
    text-align: center;
    color: #666;
    position: relative;
    z-index: 10;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.caution {
    font-size: 0.75rem;
    max-width: 800px;
    margin: 0 auto 10px;
}

.copyright {
    font-size: 0.8rem;
}

.footer-nav a:hover {
    color: var(--gold-bright);
    text-shadow: 0 0 5px rgba(249, 215, 28, 0.4);
}

.footer-nav a i {
    margin-right: 6px;
    color: inherit;
}

.caution {
    font-size: 0.75rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.5;
    text-shadow: 1px 1px 1px #000;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 5px 0;
    }

    .header-container {
        flex-direction: column;
        padding: 5px 10px;
    }

    .logo {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    nav ul {
        gap: 8px;
    }

    nav ul li a {
        font-size: 0.7rem;
        gap: 3px;
    }

    nav ul li a i {
        font-size: 0.8rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .section-banner {
        font-size: 1.1rem;
        padding: 8px 25px;
    }

    .free-stats {
        font-size: 1.2rem;
    }

    .free-flex {
        gap: 20px;
    }

    .qr-box img,
    .note-box img {
        width: 140px;
    }

    .mail-form-container input[type="email"] {
        width: 90%;
    }
}