/* kurumahub.site — Signature visual effects */

@keyframes ats-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes ats-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}
@keyframes ats-particle-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    33% { transform: translate(12px, -18px) scale(1.1); opacity: 0.7; }
    66% { transform: translate(-8px, -32px) scale(0.9); opacity: 0.5; }
}
@keyframes ats-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes ats-stamp-spin {
    from { transform: rotate(-12deg); }
    to { transform: rotate(-8deg); }
}

/* Animated gradient headline */
.ats-text-glow {
    background: linear-gradient(120deg, #fff 0%, var(--ats-sky) 40%, #fff 80%, var(--ats-sky) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ats-gradient-shift 4s ease infinite;
}

/* Hero particles */
.ats-hero__particles {
    position: absolute; inset: 0; z-index: 2;
    pointer-events: none; overflow: hidden;
}
.ats-hero__particles span {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--ats-sky);
    box-shadow: 0 0 8px var(--ats-sky);
    animation: ats-particle-float 6s ease-in-out infinite;
}
.ats-hero__particles span:nth-child(1) { top: 18%; left: 12%; animation-delay: 0s; }
.ats-hero__particles span:nth-child(2) { top: 35%; left: 78%; animation-delay: 1.2s; width: 6px; height: 6px; }
.ats-hero__particles span:nth-child(3) { top: 62%; left: 25%; animation-delay: 2.4s; }
.ats-hero__particles span:nth-child(4) { top: 72%; left: 65%; animation-delay: 0.8s; width: 3px; height: 3px; }
.ats-hero__particles span:nth-child(5) { top: 45%; left: 45%; animation-delay: 3.6s; }
.ats-hero__particles span:nth-child(6) { top: 85%; left: 88%; animation-delay: 1.8s; width: 5px; height: 5px; }

/* Ticket-style eyebrow */
.ats-tag-ticket {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.45rem 1rem 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    border: 1px dashed rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ats-sky);
    position: relative;
}
.ats-tag-ticket::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ats-sky);
    box-shadow: 0 0 10px var(--ats-sky);
    animation: ats-float 2.5s ease-in-out infinite;
}

/* Shimmer button */
.ats-btn--shimmer {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--ats-teal), #00a8a8);
    border: none; color: var(--ats-white);
}
.ats-btn--shimmer::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
    transform: translateX(-100%);
    animation: ats-shimmer 3s ease infinite;
}

/* Wave section divider */
.ats-wave {
    display: block; width: 100%; height: 48px;
    line-height: 0; margin-top: -1px;
}
.ats-wave--teal { color: var(--ats-teal); }
.ats-wave--beige { color: var(--ats-beige); }
.ats-wave--white { color: var(--ats-surface); }
.ats-wave--aurora { color: #004d4d; }

/* Trust marquee strip */
.ats-trust-strip {
    padding: 1.25rem 0;
    background: linear-gradient(90deg, var(--ats-teal), #006666, var(--ats-teal));
    background-size: 200% auto;
    animation: ats-gradient-shift 8s ease infinite;
    overflow: hidden;
    border-top: 1px solid rgba(135, 206, 235, 0.2);
    border-bottom: 1px solid rgba(135, 206, 235, 0.2);
}
.ats-trust-strip__track {
    display: flex; width: max-content;
    animation: ats-marquee 28s linear infinite;
}
.ats-trust-strip__track:hover { animation-play-state: paused; }
.ats-trust-strip__item {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0 2rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.06em;
}
.ats-trust-strip__item strong {
    font-family: var(--ats-font-display);
    font-size: 1.15rem; color: var(--ats-sky);
}
.ats-trust-strip__dot {
    color: rgba(135, 206, 235, 0.5);
    font-size: 0.6rem;
}

/* Filmstrip horizontal showcase */
.ats-filmstrip-wrap {
    position: relative;
    margin: 0 -1.5rem;
    padding: 0 1.5rem;
}
.ats-filmstrip-wrap::before,
.ats-filmstrip-wrap::after {
    content: '';
    position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
    pointer-events: none;
}
.ats-filmstrip-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--ats-beige), transparent);
}
.ats-filmstrip-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--ats-beige), transparent);
}
.ats-filmstrip {
    display: flex; gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 1.5rem;
    padding: 0.5rem 0 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--ats-teal) transparent;
}
.ats-filmstrip::-webkit-scrollbar { height: 4px; }
.ats-filmstrip::-webkit-scrollbar-thumb {
    background: var(--ats-teal); border-radius: 4px;
}
.ats-film-card {
    flex: 0 0 min(340px, 82vw);
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--ats-radius-lg);
    overflow: hidden;
    background: var(--ats-surface);
    border: 1px solid var(--ats-border);
    box-shadow: var(--ats-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}
.ats-film-card:hover {
    box-shadow: var(--ats-shadow-lg), 0 0 0 1px rgba(135, 206, 235, 0.35);
}
.ats-film-card__num {
    position: absolute; top: 1rem; left: 1rem; z-index: 3;
    font-family: var(--ats-font-display);
    font-size: 2.5rem; font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
}
.ats-film-card__img {
    position: relative; aspect-ratio: 3/4; overflow: hidden;
}
.ats-film-card__img img {
    width: 100%; height: 100%;
    transition: transform 0.7s ease;
}
.ats-film-card:hover .ats-film-card__img img { transform: scale(1.08); }
.ats-film-card__img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,46,46,0.85) 0%, transparent 55%);
}
.ats-film-card__price {
    position: absolute; bottom: 1rem; right: 1rem; z-index: 2;
    padding: 0.4rem 0.9rem;
    background: var(--ats-sky);
    color: var(--ats-ink);
    font-weight: 700; font-size: 0.82rem;
    border-radius: 999px;
}
.ats-film-card__body {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    padding: 1.25rem 1.35rem 1.35rem;
    color: var(--ats-white);
}
.ats-film-card__body h3 {
    font-family: var(--ats-font-display);
    font-size: 1.2rem; margin-bottom: 0.35rem;
}
.ats-film-card__body p {
    font-size: 0.78rem; opacity: 0.85;
    margin-bottom: 0.85rem;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.ats-filmstrip-hint {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.72rem; color: var(--ats-muted);
    letter-spacing: 0.1em;
}

/* Passport stamp decoration */
.ats-stamp {
    position: absolute;
    width: 90px; height: 90px;
    border: 3px double var(--ats-teal);
    border-radius: 50%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    font-size: 0.55rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ats-teal);
    opacity: 0.55;
    transform: rotate(-12deg);
    animation: ats-stamp-spin 4s ease-in-out infinite alternate;
    pointer-events: none;
}
.ats-stamp strong {
    font-family: var(--ats-font-display);
    font-size: 1.1rem; line-height: 1.1;
}
.ats-editorial__visual .ats-stamp {
    bottom: -1rem; left: -1.5rem;
    background: rgba(245, 245, 220, 0.9);
}
[data-theme="dark"] .ats-editorial__visual .ats-stamp {
    background: rgba(26, 46, 46, 0.92);
    color: var(--ats-text);
}

/* Ticket-style service cards */
.ats-ticket-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.ats-ticket-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    background: var(--ats-surface);
    border-radius: var(--ats-radius);
    overflow: hidden;
    border: 1px solid var(--ats-border);
    box-shadow: var(--ats-shadow);
    transition: transform var(--ats-transition), box-shadow var(--ats-transition);
    transform-style: preserve-3d;
    position: relative;
}
.ats-ticket-card::before {
    content: '';
    position: absolute;
    left: 132px; top: 12px; bottom: 12px;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        var(--ats-border) 0, var(--ats-border) 4px,
        transparent 4px, transparent 8px
    );
    z-index: 2;
}
.ats-ticket-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ats-shadow-lg);
}
.ats-ticket-card__stub {
    position: relative;
    background: linear-gradient(180deg, var(--ats-teal), #006666);
    color: var(--ats-white);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 1rem 0.75rem;
    text-align: center;
    gap: 0.35rem;
}
.ats-ticket-card__stub img {
    width: 100%; height: 70px;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.85;
}
.ats-ticket-card__stub-label {
    font-size: 0.58rem; font-weight: 700;
    letter-spacing: 0.14em; opacity: 0.75;
}
.ats-ticket-card__stub-price {
    font-family: var(--ats-font-display);
    font-size: 0.95rem; font-weight: 700;
    color: var(--ats-sky);
}
.ats-ticket-card__body {
    padding: 1.35rem 1.5rem;
    display: flex; flex-direction: column;
}
.ats-ticket-card__body h3 {
    font-family: var(--ats-font-display);
    font-size: 1.05rem; color: var(--ats-teal);
    margin-bottom: 0.45rem;
}
.ats-ticket-card__body p {
    font-size: 0.85rem; color: var(--ats-muted);
    flex: 1; margin-bottom: 1rem;
}

/* Page hero watermark */
.ats-page-hero__watermark {
    position: absolute;
    top: 50%; right: 5%;
    transform: translateY(-50%);
    font-family: var(--ats-font-display);
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.06);
    letter-spacing: 0.08em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

/* Section index label */
.ats-section-index {
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ats-muted);
}
.ats-section-index span {
    font-family: var(--ats-font-display);
    font-size: 1.5rem; color: var(--ats-teal);
    line-height: 1;
}
.ats-section-index::after {
    content: '';
    flex: 1; max-width: 60px; height: 1px;
    background: linear-gradient(90deg, var(--ats-teal), transparent);
}

/* Mesh background on beige sections */
.ats-section--mesh {
    position: relative;
}
.ats-section--mesh::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(circle at 10% 20%, rgba(135, 206, 235, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 128, 128, 0.08) 0%, transparent 40%);
}

/* Header CTA pill */
.ats-nav-cta {
    display: inline-flex; align-items: center;
    padding: 0.5rem 1.1rem;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, var(--ats-teal), #00a0a0);
    color: var(--ats-white) !important;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0, 128, 128, 0.3);
    transition: transform var(--ats-transition), box-shadow var(--ats-transition);
    white-space: nowrap;
}
.ats-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 128, 128, 0.4);
    color: var(--ats-white) !important;
}
.ats-nav-cta::after { display: none !important; }

/* Blog magazine number */
.ats-magazine-num {
    font-family: var(--ats-font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--ats-teal);
    opacity: 0.12;
    line-height: 1;
    margin-bottom: -1.5rem;
}

/* Contact glass panel */
.ats-glass-panel {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid var(--ats-border);
    border-radius: var(--ats-radius-lg);
    box-shadow: var(--ats-shadow);
}
[data-theme="dark"] .ats-glass-panel {
    background: rgba(26, 46, 46, 0.88);
}

/* Tilt glow on hover */
[data-tilt].is-tilting {
    transition: transform 0.1s ease;
}

@media (max-width: 1023px) {
    .ats-ticket-grid { grid-template-columns: 1fr; }
    .ats-ticket-card { grid-template-columns: 110px 1fr; }
    .ats-ticket-card::before { left: 102px; }
    .ats-page-hero__watermark { display: none; }
}
@media (max-width: 767px) {
    .ats-nav-cta { display: none; }
    .ats-film-card { flex: 0 0 min(280px, 88vw); }
}
@media (prefers-reduced-motion: reduce) {
    .ats-text-glow,
    .ats-trust-strip,
    .ats-trust-strip__track,
    .ats-hero__particles span,
    .ats-stamp,
    .ats-btn--shimmer::after { animation: none; }
}
