/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Custom Properties ───────────────────────────────── */
:root {
    --plum-700: #6B3A7D;
    --plum-800: #4E2959;
    --plum-900: #351D3C;
    --amber-400: #FFC23D;
    --amber-500: #F5A623;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--plum-700);
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(107, 58, 125, 0.3);
}
.btn-primary:hover {
    background: var(--plum-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 58, 125, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--plum-700);
    padding: 0.875rem 1.75rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--plum-200, #E8D5F0);
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}
.btn-secondary:hover {
    background: var(--plum-50, #F9F5FC);
    border-color: var(--plum-400, #BE8FD3);
    transform: translateY(-2px);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-700);
    color: #fff;
    padding: 0.6rem 1.35rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(107, 58, 125, 0.25);
}
.btn-nav:hover {
    background: var(--plum-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(107, 58, 125, 0.35);
}

.btn-arcade {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--amber-400);
    color: var(--plum-900);
    padding: 0.875rem 1.75rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(255, 194, 61, 0.35);
}
.btn-arcade:hover {
    background: #FFD066;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 194, 61, 0.5);
}

.btn-visit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--amber-400);
    color: var(--plum-900);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(255, 194, 61, 0.3);
}
.btn-visit:hover {
    background: #FFD066;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 194, 61, 0.45);
}

/* ── Inputs ──────────────────────────────────────────── */
.input-field {
    border: 1.5px solid #E5D8EE;
    border-radius: 14px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--plum-900);
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    width: 100%;
}
.input-field::placeholder { color: #B8A0C4; }
.input-field:focus {
    border-color: var(--plum-400, #BE8FD3);
    box-shadow: 0 0 0 3px rgba(174, 106, 184, 0.15);
}

/* ── Nav Links ───────────────────────────────────────── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-400);
    border-radius: 2px;
    transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

.mobile-nav-link {
    position: relative;
    padding-left: 0;
}
.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--amber-400);
    border-radius: 3px;
    transition: height 0.3s;
}
.mobile-nav-link:hover::before { height: 60%; }

/* ── Floating Card Animations ────────────────────────── */
@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}
.floating-card-1 { animation: float1 4s ease-in-out infinite; }
.floating-card-2 { animation: float2 5s ease-in-out infinite 0.5s; }
.floating-card-3 { animation: float3 4.5s ease-in-out infinite 1s; }

/* ── Scroll Reveal ───────────────────────────────────── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal[data-reveal-state="hidden"] {
    opacity: 0;
    transform: translateY(30px);
}

/* ── Mobile Menu ─────────────────────────────────────── */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* ── Responsive tweaks ───────────────────────────────── */
@media (max-width: 767px) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        animation: none;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin-bottom: 0.75rem;
        width: 100% !important;
    }
}
