/* 
  Mad-Dam Landing Page - Components
  Updated: Complete component library (Navigation, Hero, Buttons, Cards, Forms, Footer)
  Changes: 
  - Updated nav layout: Logo left, menu center, language toggle + waitlist CTA right
  - Header and footer: Pure black (#000) backgrounds
  - Replaced animated hero board with sophisticated checkered pattern
  - Updated button styles: Yellow bg with transparent hover state and border, pill-shaped with chevrons
  - Board: Cartoon glossy style with gray/green color scheme and 3D piece effects
  - Added visual cues for sliding mechanism: handles, track indicators, and subtle backgrounds
  - Added success card component with animated checkmark, message, and next steps list
  - Origin section: Two stacked overlapping images + 4 clipping thumbnails with lightbox expansion
  - Simplified footer: Centered logo, tagline, and copyright
  - Optimized for performance and visual elegance
*/

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #000000;
    backdrop-filter: blur(10px);
    transition: transform var(--anim-normal) ease;
}

.nav--scrolled {
    box-shadow: var(--shadow-lg);
}

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav__logo-image {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav__logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: 0.05em;
}

.nav__menu {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Hide CTA in desktop menu (only show in mobile) */
.nav__menu .nav__link--cta {
    display: none;
}

.nav__link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--anim-fast) ease;
    position: relative;
}

.nav__link:hover {
    color: var(--text-primary);
}

.nav__link--cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background-color: #F7B801;
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border: 2px solid transparent;
    border-radius: 360px;
    transition: all var(--anim-fast) ease;
}

.nav__link--cta::after {
    content: '';
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.5 18L15.5 12L9.5 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--anim-fast) ease;
}

.nav__link--cta:hover {
    background-color: transparent;
    border-color: #F7B801;
    color: #F7B801;
    transform: translateY(-2px);
}

.nav__link--cta:hover::after {
    transform: translateX(4px);
    background-image: url("data:image/svg+xml,%3Csvg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.5 18L15.5 12L9.5 6' stroke='%23F7B801' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.nav__actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    margin-left: auto;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
}

.lang-toggle__option {
    cursor: pointer;
    transition: color var(--anim-fast) ease;
}

.lang-toggle__option:hover {
    color: var(--text-primary);
}

.lang-toggle__option--active {
    color: var(--color-accent-orange);
}

.lang-toggle__separator {
    color: var(--text-muted);
}

/* Hamburger Menu */
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 24px;
}

.nav__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--anim-fast) ease;
}

.nav__hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 120px;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero__checkerboard {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-board-light);
    background-image: 
        linear-gradient(45deg, var(--color-board-dark) 25%, transparent 25%),
        linear-gradient(-45deg, var(--color-board-dark) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--color-board-dark) 75%),
        linear-gradient(-45deg, transparent 75%, var(--color-board-dark) 75%);
    background-size: 160px 160px;
    background-position: 0 0, 0 80px, 80px -80px, -80px 0px;
    transform: perspective(1000px) rotateX(5deg) scale(1.1);
    transform-origin: center center;
    /* Fix aliasing */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: background-position;
}

/* Add subtle texture overlay for vintage feel */
.hero__checkerboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    pointer-events: none;
}

.hero__gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.8) 0%,
        rgba(10, 10, 10, 0.9) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero__overtitle {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-orange);
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.hero__title {
    font-size: var(--text-6xl);
    margin-bottom: var(--space-lg);
    line-height: var(--leading-tight);
}

.hero__subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: var(--leading-relaxed);
}

.hero__cta {
    margin-bottom: var(--space-3xl);
}

.hero__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: var(--text-sm);
    animation: bounce 2s infinite;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
    border-radius: 360px;
    transition: all var(--anim-fast) ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--primary {
    background-color: #F7B801;
    color: var(--color-white);
}

.btn--primary::after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.5 18L15.5 12L9.5 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform var(--anim-fast) ease;
}

.btn--primary:hover {
    background-color: transparent;
    border-color: #F7B801;
    color: #F7B801;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--primary:hover::after {
    transform: translateX(4px);
    background-image: url("data:image/svg+xml,%3Csvg width='25' height='24' viewBox='0 0 25 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.5 18L15.5 12L9.5 6' stroke='%23F7B801' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

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

.btn--secondary:hover {
    background-color: var(--text-primary);
    color: var(--color-black);
}

.btn--full {
    width: 100%;
}

.btn--loading {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Origin Section Components */
.origin__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.origin__text {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

.origin__meta {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--text-muted);
}

.origin__awards {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.origin__award {
    font-size: var(--text-sm);
    letter-spacing: 0.05em;
    color: var(--color-accent-orange);
    font-weight: 600;
    position: relative;
    padding-left: var(--space-lg);
}

.origin__award::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent-orange);
    font-weight: bold;
}

.origin__visuals {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

/* Stacked overlapping images */
.origin__stacked-images {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: var(--space-xl);
}

.origin__image-wrapper {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform var(--anim-normal) ease;
}

.origin__image-wrapper--back {
    width: 70%;
    top: 0;
    left: 0;
    z-index: 1;
    transform: rotate(-3deg);
}

.origin__image-wrapper--front {
    width: 70%;
    bottom: 0;
    right: 0;
    z-index: 2;
    transform: rotate(2deg);
}

.origin__image-wrapper:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 3;
}

.origin__image {
    width: 100%;
    height: auto;
    display: block;
}

.origin__image-vintage-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 8px solid rgba(247, 184, 1, 0.2);
    pointer-events: none;
}

/* Journal clippings - Click to expand grid */
.origin__clippings {
    margin-top: var(--space-xl);
    display:none;
}

.clippings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: 800px;
    margin: 0 auto;
}

.clipping-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: transform var(--anim-fast) ease, box-shadow var(--anim-fast) ease;
    box-shadow: var(--shadow-md);
}

.clipping-thumbnail:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.clipping-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.3);
    display: block;
}

/* Lightbox modal */
.clipping-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    padding: var(--space-2xl);
    align-items: center;
    justify-content: center;
}

.clipping-lightbox.active {
    display: flex;
}

.lightbox__close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 3rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--anim-fast) ease;
    line-height: 1;
}

.lightbox__close:hover {
    color: var(--color-accent-orange);
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: sepia(0.3);
    box-shadow: var(--shadow-xl);
    border-radius: 8px;
}

/* Mechanic Section */
.mechanic__demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.mechanic__board {
    max-width: 600px;
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid var(--text-muted);
    border-radius: 8px;
    overflow: hidden;
}

.mechanic__rules {
    max-width: 900px;
    margin: 0 auto var(--space-3xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* Rule Cards */
.rule-card {
    background-color: var(--bg-secondary);
    padding: var(--space-xl);
    border-radius: 12px;
    border: 1px solid var(--text-muted);
    transition: transform var(--anim-fast) ease, box-shadow var(--anim-fast) ease;
}

.rule-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.rule-card--golden {
    border: 2px solid var(--color-accent-orange);
    background: linear-gradient(135deg, rgba(247, 184, 1, 0.05), rgba(247, 184, 1, 0.1));
}

.rule-card--golden:hover {
    box-shadow: 0 8px 24px rgba(247, 184, 1, 0.2);
}

.rule-card__title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-md);
}

.rule-card--golden .rule-card__title {
    color: var(--color-accent-orange);
}

/* Card Content */
.rule-card__desc {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.rule-card__desc--large {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: 0;
}

.rule-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md) 0;
}

.rule-card__list li {
    position: relative;
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
}

.rule-card__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent-orange);
    font-weight: bold;
    font-size: var(--text-lg);
}

.rule-card__note {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    font-style: italic;
    padding: var(--space-md);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border-left: 3px solid var(--color-accent-orange);
}

/* Turn Sequence Steps */
.rule-card__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.rule-step {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.rule-step__number {
    width: 36px;
    height: 36px;
    background-color: var(--color-accent-orange);
    color: var(--color-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-lg);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(247, 184, 1, 0.3);
}

.rule-step__content {
    flex: 1;
}

.rule-step__content p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* Features */
.feature {
    text-align: center;
    padding: var(--space-xl);
}

.feature__icon {
    margin: 0 auto var(--space-md);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-orange);
}

.feature__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.feature__desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* Product Cards */
.product-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--anim-normal) ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background-color: var(--color-accent-orange);
    color: var(--color-black);
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card__content {
    padding: var(--space-xl);
}

.product-card__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.product-card__desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-lg);
}

.product-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.product-card__features li {
    position: relative;
    padding-left: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.product-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-orange);
    font-weight: bold;
}

/* Waitlist Form */
.waitlist__wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.waitlist-form {
    background-color: var(--bg-secondary);
    padding: var(--space-2xl);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    background-color: var(--bg-primary);
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: var(--text-base);
    transition: border-color var(--anim-fast) ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent-orange);
}

.form-radio-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-radio {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: 4px;
    transition: background-color var(--anim-fast) ease;
}

.form-radio:hover {
    background-color: rgba(247, 184, 1, 0.1);
}

.form-radio:active,
.form-radio:focus-within {
    background-color: rgba(247, 184, 1, 0.1);
    border-color: #F7B801;
}

.form-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #F7B801;
}

.form-privacy {
    margin-top: var(--space-md);
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-align: center;
}

.form-message {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: 4px;
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    font-weight: 600;
}

.form-message--success {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.form-message--error {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--color-error);
    border: 1px solid var(--color-error);
}

/* Success Card */
.waitlist-success-card {
    background: linear-gradient(135deg, rgba(247, 184, 1, 0.05), rgba(247, 184, 1, 0.1));
    border: 2px solid rgba(247, 184, 1, 0.3);
    border-radius: 16px;
    padding: var(--space-2xl);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease;
}

.success-card__icon {
    margin: 0 auto var(--space-lg);
    width: 64px;
    height: 64px;
}

.success-card__icon svg {
    width: 100%;
    height: 100%;
    stroke: #F7B801;
    stroke-width: 2;
}

.success-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.success-card__message {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.success-card__steps {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: var(--space-lg);
    text-align: left;
}

.success-card__steps-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.success-card__steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-card__steps-list li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: var(--space-sm) 0;
    padding-left: var(--space-xl);
    position: relative;
    line-height: 1.6;
}

.success-card__steps-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #F7B801;
    font-weight: 700;
    font-size: var(--text-lg);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background-color: #000000;
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid var(--text-muted);
}

.footer__content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__brand {
    text-align: center;
    display:flex;
    align-items: center;
    justify-content:center;
    flex-direction: column;
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.footer__logo-image {
    height: 80px;
    width: auto;
    margin-bottom: var(--space-md);
    object-fit: contain;
}

.footer__tagline {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.footer__copyright {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Board SVG Styling - Cartoon Style */
.board-svg {
    width: 100%;
    height: 100%;
}

/* Cartoon-style squares */
.square {
    transition: fill var(--anim-fast) ease;
    stroke: rgba(0, 0, 0, 0.1);
    stroke-width: 1;
}

.square.light {
    fill: #E0E0E0;
}

.square.dark {
    fill: #769656;
}

/* Sliding row indicators */
.sliding-strip-bg {
    fill: rgba(0, 0, 0, 0.08);
    stroke: none;
}

.sliding-handle {
    fill: #3a3a3a;
    stroke: #1a1a1a;
    stroke-width: 2;
    rx: 4;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.sliding-handle-grip {
    fill: none;
    stroke: #555555;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.track-indicator {
    fill: none;
    stroke: rgba(0, 0, 0, 0.15);
    stroke-width: 1;
    stroke-dasharray: 4, 4;
}

/* Cartoon-style pieces with 3D effect */
.piece {
    transition: all var(--anim-slide-duration) var(--anim-slide-easing);
    cursor: pointer;
}

/* Black pieces - glossy 3D effect */
.piece.black {
    fill: url(#black-gradient);
    stroke: #1a1a1a;
    stroke-width: 2.5;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

/* White pieces - glossy 3D effect */
.piece.white {
    fill: url(#white-gradient);
    stroke: #d0d0d0;
    stroke-width: 2.5;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Highlight effect on pieces */
.piece-highlight {
    fill: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.row-separator {
    transition: opacity var(--anim-fast) ease;
    stroke: var(--color-accent-orange);
    stroke-width: 2;
    opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: var(--space-lg);
        transform: translateX(-100%);
        transition: transform var(--anim-normal) ease;
    }

    .nav__menu.active {
        transform: translateX(0);
    }

    .nav__hamburger {
        display: flex;
    }

    .nav__actions {
        gap: var(--space-sm);
    }

    /* Show CTA in mobile menu */
    .nav__actions .nav__link--cta {
        display: none;
    }
    
    .nav__menu .nav__link--cta {
        display: inline-flex !important;
        margin-top: var(--space-md);
        padding: var(--space-md) var(--space-lg);
        width: 100%;
        justify-content: center;
    }
    
    /* Hero section mobile adjustments */
    .hero {
        padding-top: 140px;
    }
    
    /* Fix checkerboard on mobile - simpler flat pattern with animation */
    .hero__checkerboard {
        transform: none !important;
        background-size: 80px 80px !important;
        background-color: var(--color-board-light) !important;
        animation: checkerboardDriftMobile 3s linear infinite !important;
    }
    
    .hero__checkerboard::before {
        display: none;
    }
    
    /* Waitlist form mobile adjustments */
    .waitlist-form {
        padding: var(--space-lg);
    }
    
    /* Success card mobile adjustments */
    .waitlist-success-card {
        padding: var(--space-lg);
    }
    
    .success-card__title {
        font-size: var(--text-2xl);
    }
    
    .success-card__message {
        font-size: var(--text-sm);
    }
    
    .success-card__steps {
        padding: var(--space-md);
    }
    
    .success-card__steps-title {
        font-size: var(--text-base);
    }
    
    .success-card__steps-list li {
        font-size: var(--text-xs);
        padding-left: var(--space-lg);
    }

    .footer__content {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    /* Origin section adjustments */
    .origin__stacked-images {
        height: 300px;
    }
    
    .origin__image-wrapper--back,
    .origin__image-wrapper--front {
        width: 85%;
    }
    
    .clippings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
        max-width: 100%;
    }
    
    .clipping-thumbnail {
        height: 160px;
    }
    
    .lightbox__image {
        max-width: 95%;
        max-height: 95%;
    }
}

@media (min-width: 769px) {
    .nav__container {
        position: relative;
    }
}
