/* Custom Fonts */
@font-face {
    font-family: 'MursGothic';
    src: url('../assets/fonts/MursGothic-WideDark.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Marcellus';
    src: url('../assets/fonts/Marcellus-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'WorkSans';
    src: url('../assets/fonts/WorkSans-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #d4af37;
    --accent-gold: #d4af37;
    --accent-gold-dark: #b8941f;
    --border-gold: #d4af37;
    --error: #ff4444;
    --recording: #ff0000;
}

body {
    font-family: 'WorkSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

.intro-logo {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}

.logo {
    font-family: 'MursGothic', sans-serif;
    font-size: 4rem;
    font-weight: normal;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.subtitle {
    font-family: 'Marcellus', serif;
    font-size: 1.5rem;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Layout Selection */
.layout-selection {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Top Section: 3 Columns with Text Taking More Space */
.layout-selection-top {
    display: grid;
    grid-template-columns: 2fr minmax(200px, 1fr) minmax(200px, 1fr);
    /* Text takes more space, images can resize but have min/max */
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
    justify-content: center;
    max-width: 1600px;
    width: 100%;
    padding: 0 40px;
}

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

.layout-column-text {
    align-items: center;
    justify-content: center;
    padding-right: 40px;
    text-align: center;
}

.layout-column-vertical,
.layout-column-square {
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.logo-container {
    margin-bottom: 20px;
}

.intro-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
}

.section-title {
    font-family: 'WorkSans', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #d0b97e;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: center;
}

.section-subtitle {
    font-family: 'WorkSans', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    line-height: 1.3;
    max-width: 600px;
}

/* Layout options removed - each layout is now in its own column */

.layout-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.layout-btn:hover {
    transform: scale(1.02);
}

.layout-btn:active {
    transform: scale(0.98);
}

.layout-preview {
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--border-gold);
}

/* Apply Filter Button inside preview */
.apply-filter-btn {
    position: absolute;
    bottom: 28%;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 24px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    /* Reduced to fit text better */
    text-transform: uppercase;
    color: #1a1518;
    background: linear-gradient(135deg, #e8d5a0 0%, #d4b876 50%, #c9a05f 100%);
    border: none;
    cursor: pointer;
    font-family: 'MursGothic', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    /* Less aggressive angles */
    pointer-events: none;
    z-index: 3;
    white-space: nowrap;
    max-width: 90%;
    /* More width available */
    min-width: fit-content;
}

/* Adjust button size for vertical preview (smaller frame) */
.layout-btn[data-layout="vertical"] .apply-filter-btn {
    font-size: 0.55rem;
    padding: 5px 16px;
    letter-spacing: 0.03em;
    bottom: 34%;
    /* Higher up for vertical - moved up a tiny bit */
    /* Minimal spacing to fit */
}

/* Adjust button size for square preview (larger frame) */
.layout-btn[data-layout="square"] .apply-filter-btn {
    font-size: 0.8rem;
    padding: 7px 30px;
    letter-spacing: 0.06em;
    bottom: 22%;
    /* Lower for square - moved down 4% */
    /* Slightly lower for square */
}

/* Both layouts share the same height that can scale */
.layout-preview {
    height: clamp(250px, 25vw, 350px);
    /* Responsive height between 250px and 350px */
}

/* Vertical layout - tall and narrow (portrait) */
.layout-btn[data-layout="vertical"] .layout-preview {
    width: 100%;
    max-width: min(200px, 15vw);
}

/* Square layout - square (width = height to maintain square aspect ratio) */
.layout-btn[data-layout="square"] .layout-preview {
    width: 100%;
    max-width: min(350px, 25vw);
    aspect-ratio: 1 / 1;
}

.layout-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from cover to contain to prevent cropping */
    display: block;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.layout-label-container {
    margin-top: 20px;
    padding: 0;
    border: none;
    background: transparent;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.layout-label {
    display: block;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'WorkSans', sans-serif;
    white-space: nowrap;
}

/* Bottom Section: Pre-order Button */
.layout-selection-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

/* Pre-order Button - Parallelogram/Trapezoid Shape */
.btn-preorder {
    position: relative;
    padding: 18px 80px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #1a1518;
    /* Dark brown/black text */
    text-decoration: none;
    display: inline-block;
    background: linear-gradient(135deg, #e8d5a0 0%, #d4b876 50%, #c9a05f 100%);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'WorkSans', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-width: 320px;
    /* Create parallelogram shape with slanted sides */
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}

.btn-preorder:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #f0e0b8 0%, #e8d5a0 50%, #d4b876 100%);
}

.btn-preorder:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Recording Section */
.recording-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-gold);
    overflow: hidden;
    border-radius: 0;
}

.video-container.vertical {
    aspect-ratio: 9 / 16;
    max-width: 400px;
}

.video-container.square {
    aspect-ratio: 1 / 1;
    max-width: 500px;
}

#videoPreview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop to fill frame */
    display: none;
    /* Hidden, used as source for canvas */
    position: absolute;
    top: 0;
    left: 0;
}

.overlay-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop to fill frame */
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
    display: none;
    /* Hidden, composited into canvas */
}

#filterCanvas {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.recording-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    /* Move to bottom */
    padding-bottom: 60px;
    /* Space from bottom */
    z-index: 10;
}

.flash-active {
    background-color: white !important;
    transition: none;
}

.countdown {
    font-family: 'WorkSans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.recording-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--recording);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: 'WorkSans', sans-serif;
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 25px;
}

.rec-dot {
    width: 14px;
    height: 14px;
    background: var(--recording);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* Controls */
.controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack vertically by default for mobile */
    width: 100%;
}

@media (min-width: 768px) {
    .controls {
        flex-direction: row; /* Row on desktop */
    }
}

/* Buttons */
.btn {
    padding: 16px 40px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    border-radius: 0;
    min-width: 180px;
    font-family: 'WorkSans', sans-serif;
}

/* Ensure controls buttons are same size */
.controls .btn {
    width: 280px;
    max-width: 100%;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-gold);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.btn-download {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.btn-download:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

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

.btn-share:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Preview Section */
.preview-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.preview-container {
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
    border: 2px solid var(--border-gold);
    border-radius: 0;
    overflow: hidden;
    background: var(--bg-secondary);
}

.preview-container.vertical {
    aspect-ratio: 9 / 16;
    max-width: 400px;
}

.preview-container.square {
    aspect-ratio: 1 / 1;
    max-width: 500px;
}

#recordedVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.error-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--error);
    color: var(--text-primary);
    padding: 15px 30px;
    border-radius: 4px;
    z-index: 1000;
    text-align: center;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: 'WorkSans', sans-serif;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(212, 175, 55, 0.3);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tablet Responsive - Large tablets */
@media (max-width: 1024px) and (min-width: 901px) {
    .app-container {
        padding: 40px 20px;
    }

    .layout-selection-top {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .intro-logo {
        max-width: 400px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 1.8rem;
    }
}

/* Medium screens - Text top, Images side by side, Button bottom */
@media (max-width: 900px) and (min-width: 701px) {
    .app-container {
        padding: 40px 20px;
    }

    /* Use flexbox with wrap to control layout order */
    .layout-selection-top {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        padding: 0 20px;
        justify-content: center;
    }

    /* Text column takes full width and appears first */
    .layout-column-text {
        align-items: center;
        text-align: center;
        padding-right: 0;
        order: 1;
        flex: 1 1 100%;
    }

    /* Image columns side by side - appear second */
    .layout-column-vertical {
        order: 2;
        flex: 0 0 auto;
        padding: 15px;
    }

    .layout-column-square {
        order: 3;
        flex: 0 0 auto;
        padding: 15px;
    }

    .intro-logo {
        max-width: 450px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 1.9rem;
    }

    /* Images side by side with same height */
    .layout-btn[data-layout="vertical"] .layout-preview {
        width: 180px;
        height: 300px;
        max-width: 180px;
    }

    .layout-btn[data-layout="square"] .layout-preview {
        width: 300px;
        height: 300px;
        max-width: 300px;
    }

    /* Medium-sized Apply Filter buttons for tablet */
    .apply-filter-btn {
        font-size: 0.6rem;
        padding: 6px 18px;
        letter-spacing: 0.03em;
    }

    .layout-btn[data-layout="vertical"] .apply-filter-btn {
        font-size: 0.55rem;
        padding: 5px 15px;
        letter-spacing: 0.02em;
        bottom: 32%;
        /* Higher up for vertical on tablet - moved up a tiny bit */
    }

    .layout-btn[data-layout="square"] .apply-filter-btn {
        font-size: 0.7rem;
        padding: 6px 22px;
        letter-spacing: 0.04em;
        bottom: 20%;
        /* Lower for square on tablet - moved down 4% */
        /* Slightly lower for square on tablet */
    }

    .layout-label {
        font-size: 0.9rem;
    }

    .layout-selection-bottom {
        order: 4;
        width: 100%;
    }

    .btn-preorder {
        min-width: 280px;
        padding: 16px 70px;
        font-size: 1rem;
    }

    /* Recording overlay adjustments for tablet */
    .recording-overlay {
        padding-bottom: 50px;
    }

    .countdown {
        font-size: 3rem;
    }

    .recording-indicator {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .app-container {
        padding: 30px 15px;
        /* On mobile, start content from the top and allow scrolling */
        align-items: stretch;
        justify-content: flex-start;
        min-height: 100dvh;
    }

    /* Use flexbox with wrap to control layout order */
    .layout-selection-top {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        padding: 0 15px;
        justify-content: center;
    }

    /* Text column takes full width and appears first */
    .layout-column-text {
        align-items: center;
        text-align: center;
        padding-right: 0;
        order: 1;
        flex: 1 1 100%;
    }

    /* Image columns side by side - appear second */
    .layout-column-vertical {
        order: 2;
        flex: 0 0 auto;
    }

    .layout-column-square {
        order: 3;
        flex: 0 0 auto;
    }

    .logo-container {
        margin-bottom: 15px;
        /* Pull FILTER closer to the logo on mobile */
    }

    .intro-logo {
        max-width: 350px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 1.6rem;
    }

    .layout-column-vertical,
    .layout-column-square {
        align-items: center;
        padding: 10px;
    }

    /* Smaller images for side-by-side display */
    .layout-btn[data-layout="vertical"] .layout-preview {
        width: 140px;
        height: 250px;
        max-width: 140px;
    }

    .layout-btn[data-layout="square"] .layout-preview {
        width: 250px;
        height: 250px;
        max-width: 250px;
    }

    /* Smaller Apply Filter buttons for mobile */
    .apply-filter-btn {
        font-size: 0.55rem;
        padding: 5px 15px;
        letter-spacing: 0.02em;
        bottom: 26%;
    }

    .layout-btn[data-layout="vertical"] .apply-filter-btn {
        font-size: 0.5rem;
        padding: 4px 12px;
        letter-spacing: 0.02em;
        bottom: 34%;
        /* Higher up for vertical on mobile - pushed higher for lower dimensions */
    }

    .layout-btn[data-layout="square"] .apply-filter-btn {
        font-size: 0.6rem;
        padding: 5px 18px;
        letter-spacing: 0.03em;
        bottom: 22%;
        /* Pushed higher for lower dimensions */
    }

    .layout-label {
        font-size: 0.85rem;
    }

    .layout-selection-bottom {
        order: 4;
        width: 100%;
    }

    .btn-preorder {
        min-width: 260px;
        padding: 16px 60px;
        font-size: 0.95rem;
    }

    /* Recording overlay adjustments for mobile */
    .recording-overlay {
        padding-bottom: 40px;
    }

    .countdown {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .recording-indicator {
        font-size: 0.8rem;
        padding: 8px 15px;
        gap: 10px;
    }

    .rec-dot {
        width: 10px;
        height: 10px;
    }

    .recording-section {
        padding: 20px 10px;
        min-height: 85vh;
        justify-content: center;
    }

    .video-container {
        width: 90vw;
        max-width: 100%;
        margin: 0 auto;
    }

    .video-container.vertical {
        max-width: 450px;
        /* Let vertical take more height on mobile */
        max-height: 90vh;
        /* Width will be constrained by aspect ratio */
        height: auto;
    }

    .video-container.square {
        max-width: 500px;
        max-height: 80vh;
    }

    .controls {
        width: 100%;
        padding: 0 20px;
        margin-top: 20px;
    }

    .countdown {
        font-size: 4rem;
    }

    .btn {
        padding: 14px 30px;
        font-size: 0.95rem;
        min-width: 150px;
    }

    .btn-preorder {
        padding: 16px 40px;
        font-size: 1rem;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .action-buttons .btn {
        width: 100%;
    }

    /* Hide download button on mobile since share sheet works */
    #downloadBtn {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .app-container {
        padding: 20px 10px;
    }

    .intro-logo {
        max-width: 280px;
    }

    .logo-container {
        margin-bottom: 10px;
        /* Even tighter spacing on small mobile */
    }

    .section-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 1.3rem;
    }

    .layout-selection-top {
        gap: 15px;
    }

    /* Even smaller images for small screens, still side by side */
    .layout-btn[data-layout="vertical"] .layout-preview {
        width: 110px;
        height: 195px;
        max-width: 110px;
    }

    .layout-btn[data-layout="square"] .layout-preview {
        width: 195px;
        height: 195px;
        max-width: 195px;
    }

    /* Even smaller Apply Filter buttons for small mobile */
    .apply-filter-btn {
        font-size: 0.48rem;
        padding: 4px 12px;
        letter-spacing: 0.01em;
        bottom: 24%;
    }

    .layout-btn[data-layout="vertical"] .apply-filter-btn {
        font-size: 0.45rem;
        padding: 3px 10px;
        letter-spacing: 0.01em;
        bottom: 32%;
        /* Higher up for vertical on small mobile - pushed higher for lower dimensions */
    }

    .layout-btn[data-layout="square"] .apply-filter-btn {
        font-size: 0.52rem;
        padding: 4px 14px;
        letter-spacing: 0.02em;
        bottom: 20%;
        /* Pushed higher for lower dimensions */
    }

    .layout-label {
        font-size: 0.8rem;
    }

    .btn-preorder {
        min-width: 240px;
        padding: 14px 50px;
        font-size: 0.85rem;
    }

    /* Recording overlay adjustments for small mobile */
    .recording-overlay {
        padding-bottom: 30px;
    }

    .countdown {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .recording-indicator {
        font-size: 0.7rem;
        padding: 6px 12px;
        gap: 8px;
    }

    .rec-dot {
        width: 8px;
        height: 8px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        min-width: 140px;
    }

    .recording-section {
        padding: 15px 5px;
        min-height: 85vh;
        justify-content: center;
    }

    .video-container {
        width: 95vw;
        max-width: 100%;
        margin: 0 auto;
    }

    .video-container.vertical {
        max-width: 400px;
        /* Allow vertical to use almost full height on small mobile */
        max-height: 85vh;
        height: auto;
    }

    .video-container.square {
        max-width: 450px;
        max-height: 75vh;
    }

    .controls {
        padding: 0 15px;
        margin-top: 15px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        margin-bottom: 20px;
    }

    .intro-logo {
        max-width: 400px;
    }

    .section-subtitle {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .layout-options {
        margin-bottom: 20px;
        gap: 20px;
    }

    .vertical-preview {
        width: 150px;
        height: 267px;
    }

    .square-preview {
        width: 200px;
        height: 200px;
    }
}