/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --black-dark: #050505;
    --gold: #FFD700;
    --gold-light: #FFE44D;
    --gold-dark: #B8960F;
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    --text: #e0e0e0;
    --text-muted: #888;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a1500 0%, #0a0a0a 70%);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 165, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-100px) scale(1); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 20px;
}

.logo-emblem {
    margin-bottom: 40px;
}

.emblem-circle {
    width: 140px;
    height: 140px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: emblemPulse 3s ease-in-out infinite;
    background: rgba(255, 215, 0, 0.05);
}

.emblem-circle::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: emblemSpin 20s linear infinite;
}

.emblem-circle::after {
    content: '';
    position: absolute;
    inset: -16px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    animation: emblemSpin 30s linear infinite reverse;
}

@keyframes emblemPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.5); }
}

@keyframes emblemSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.kanji {
    font-size: 48px;
    color: var(--gold);
    font-weight: bold;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-title {
    margin-bottom: 40px;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .gold-text {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1.1;
}

.hero-title .subtitle {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 10px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-button:hover {
    color: var(--black);
}

.cta-button:hover::before {
    transform: translateX(0);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gold);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 2s ease-in-out infinite;
}

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

@keyframes wheelScroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* === SECTION COMMON === */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    padding: 0 20px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-tag::before { right: 100%; }
.section-tag::after { left: 100%; }

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
}

/* === ABOUT SECTION === */
.about-section {
    background: var(--black-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-frame {
    position: relative;
    padding: 30px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.02);
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--gold), transparent, var(--gold));
    z-index: -1;
    opacity: 0.3;
}

.kata-animation {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.karate-svg {
    width: 100%;
    height: auto;
}

.karate-svg .head {
    animation: headBob 2s ease-in-out infinite;
}

.karate-svg .left-arm {
    animation: punchLeft 1.5s ease-in-out infinite;
    transform-origin: 150px 120px;
}

.karate-svg .right-arm {
    animation: punchRight 1.5s ease-in-out infinite 0.75s;
    transform-origin: 150px 120px;
}

.karate-svg .left-leg {
    animation: legMove 2s ease-in-out infinite;
    transform-origin: 150px 200px;
}

.karate-svg .right-leg {
    animation: legMove 2s ease-in-out infinite 1s;
    transform-origin: 150px 200px;
}

.karate-svg .energy-ring {
    animation: energyPulse 3s ease-in-out infinite;
    transform-origin: 150px 150px;
}

.karate-svg .energy-ring-2 {
    animation: energyPulse 3s ease-in-out infinite 1.5s;
    transform-origin: 150px 150px;
}

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

@keyframes punchLeft {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-15deg); }
}

@keyframes punchRight {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

@keyframes legMove {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

@keyframes energyPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

.belt-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.belt-color {
    width: 30px;
    height: 6px;
    background: #111;
    border: 1px solid #333;
}

.about-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.about-content p strong {
    color: var(--gold);
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid var(--gold);
    transition: var(--transition);
}

.credential:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(10px);
}

.credential-icon {
    font-size: 1.5rem;
}

.credential-text strong {
    display: block;
    color: white;
    font-size: 0.9rem;
}

.credential-text span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === SERVICES SECTION === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--black-light);
    border: 1px solid rgba(255, 215, 0, 0.1);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-10px);
}

.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gold);
    color: var(--black);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 40px;
    transform: rotate(45deg);
    letter-spacing: 0.1em;
}

.service-card.featured {
    border-color: rgba(255, 215, 0, 0.3);
}

.card-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.05);
}

.service-svg {
    width: 80px;
    height: 80px;
}

/* SVG анимации для карточек */
.bounce-element {
    animation: bounce 2s ease-in-out infinite;
}

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

.wave-left {
    animation: waveLeft 1.5s ease-in-out infinite;
    transform-origin: 40px 40px;
}

.wave-right {
    animation: waveRight 1.5s ease-in-out infinite 0.75s;
    transform-origin: 40px 40px;
}

@keyframes waveLeft {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-20deg); }
}

@keyframes waveRight {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(20deg); }
}

.sparkle {
    fill: var(--gold);
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle.delay-1 { animation-delay: 0.5s; }
.sparkle.delay-2 { animation-delay: 1s; }

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.punch-left {
    animation: punchAnim 1s ease-in-out infinite;
    transform-origin: 40px 35px;
}

.punch-right {
    animation: punchAnim 1s ease-in-out infinite 0.5s;
    transform-origin: 40px 35px;
}

@keyframes punchAnim {
    0%, 100% { transform: rotate(0deg) scaleX(1); }
    50% { transform: rotate(-10deg) scaleX(1.1); }
}

.pulse-line {
    animation: pulseAnim 1.5s ease-in-out infinite;
}

@keyframes pulseAnim {
    0%, 100% { stroke-dashoffset: 0; opacity: 0.5; }
    50% { stroke-dashoffset: 20; opacity: 1; }
}

.member-1 {
    animation: memberMove 2s ease-in-out infinite;
}

.member-2 {
    animation: memberMove 2s ease-in-out infinite 0.3s;
}

.member-3 {
    animation: memberMove 2s ease-in-out infinite 0.6s;
}

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

.card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.card-features {
    list-style: none;
    text-align: left;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding-top: 20px;
}

.card-features li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.card-features li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.6rem;
    top: 12px;
}

/* === PHILOSOPHY SECTION === */
.philosophy-section {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.03) 0%, transparent 50%),
        var(--black);
}

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

.philosophy-quote {
    margin-bottom: 60px;
    position: relative;
}

.quote-mark {
    opacity: 0.3;
    margin-bottom: 20px;
}

blockquote {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: white;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

cite {
    color: var(--gold);
    font-style: normal;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.philosophy-values {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.value-item {
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-kanji {
    display: block;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transition: var(--transition);
}

.value-item:hover .value-kanji {
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
}

.value-name {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* === SCHEDULE SECTION === */
.schedule-section {
    background: var(--black-light);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.schedule-card {
    background: var(--black);
    border: 1px solid rgba(255, 215, 0, 0.1);
    padding: 30px;
    transition: var(--transition);
}

.schedule-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
}

.schedule-card.weekend {
    border-color: rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.03);
}

.day-name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(255, 215, 0, 0.03);
    border-left: 2px solid var(--gold);
}

.slot-time {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.slot-type {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === CONTACT SECTION === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.03);
    border-left: 3px solid var(--gold);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 215, 0, 0.06);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-text strong {
    display: block;
    color: white;
    margin-bottom: 5px;
}

.contact-text span {
    color: var(--text-muted);
}

.contact-form-note {
    padding: 20px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    margin-top: 30px;
}

.contact-form-note p {
    color: var(--text);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 18px;
    background: rgba(255, 215, 0, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.06);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--black-light);
    padding: 0 10px;
    font-size: 0.8rem;
    color: var(--gold);
    opacity: 0;
    transition: var(--transition);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    opacity: 1;
}

.form-group select option {
    background: var(--black);
    color: white;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--gold);
    color: var(--black);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.submit-btn:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(5px);
}

/* === FOOTER === */
.footer {
    background: var(--black-dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-kanji {
    font-size: 2rem;
    color: var(--gold);
}

.footer-text {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: white;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === SCROLL ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .philosophy-values {
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 30px 20px;
    }
    
    .emblem-circle {
        width: 100px;
        height: 100px;
    }
    
    .kanji {
        font-size: 36px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
