/* Reset and ultra-simple base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sea-blue: #0077be;
    --nature-green: #2d6a4f;
    --clarity-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-color: #ffffff;
    --sea-light: #e6f3f7;
    --nature-light: #e8f5e8;
    --pay-yellow: #FFC107;
    --pay-yellow-hover: #FFB300;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --primary-color: #0077be;
    --secondary-color: #005a8d;
    --accent-color: #2563eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --bg-color: #0077be;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: var(--clarity-white);
    background: var(--sea-blue);
    min-height: 100vh;
    overflow-x: hidden;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Screen management */
.screen {
    display: none;
    flex-direction: column;
    height: 100vh;
    position: relative;
}

.screen.active {
    display: flex;
}

/* Time Selection Screen */
#timeScreen {
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--sea-light), var(--clarity-white));
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sea-blue);
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.header p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

.time-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 400px;
    width: 100%;
}

.time-btn {
    background: var(--clarity-white);
    border: 3px solid var(--sea-blue);
    color: var(--sea-blue);
    padding: 2rem 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.time-btn:hover {
    background: var(--sea-blue);
    color: var(--clarity-white);
    transform: translateY(-2px);
}

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

.footer-info {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Map Screen */
#mapScreen {
    background: var(--clarity-white);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--sea-blue);
    color: var(--clarity-white);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
}

.time-info {
    display: flex;
    flex-direction: column;
}

.time-info span {
    font-size: 1.2rem;
    font-weight: 700;
}

.countdown {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

.back-btn {
    background: none;
    border: none;
    color: var(--clarity-white);
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.map-container {
    flex: 1;
    position: relative;
    background: var(--sea-light);
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(45deg, #f0f9ff 25%, transparent 25%, transparent 75%, #f0f9ff 75%, #f0f9ff),
                linear-gradient(45deg, #f0f9ff 25%, transparent 25%, transparent 75%, #f0f9ff 75%, #f0f9ff);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.route-line {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80%;
    height: 4px;
    background: var(--nature-green);
    border-radius: 2px;
    transform: rotate(15deg);
}

.current-location {
    position: absolute;
    top: 25%;
    left: 30%;
    width: 16px;
    height: 16px;
    background: var(--sea-blue);
    border: 3px solid var(--clarity-white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 119, 190, 0.3);
}

.ship-location {
    position: absolute;
    bottom: 30%;
    right: 20%;
    width: 24px;
    height: 24px;
    background: var(--nature-green);
    border: 3px solid var(--clarity-white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(45, 106, 79, 0.3);
}

.map-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.control-btn {
    background: var(--sea-blue);
    color: var(--clarity-white);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-btn:hover {
    background: #005a8d;
    transform: translateY(-2px);
}

.control-btn .icon {
    font-size: 1.3rem;
}

#locateBtn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
}

/* Install Button */
.install-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--nature-green);
    color: var(--clarity-white);
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    z-index: 1000;
}

.install-btn:hover {
    background: #234d32;
    transform: translateY(-1px);
}

/* Status Bar */
.status-bar {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
}

.status-dot.online {
    background: var(--nature-green);
    box-shadow: 0 0 8px rgba(45, 106, 79, 0.4);
}

.status-dot.offline {
    background: #ff4444;
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
}

/* Responsive Design */
@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .time-options {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .time-btn {
        padding: 1.5rem 1rem;
        font-size: 1.3rem;
    }
    
    .map-controls {
        bottom: 1rem;
        gap: 0.5rem;
    }
    
    .control-btn {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }
}

/* High contrast mode for sunlight */
@media (prefers-contrast: high) {
    :root {
        --sea-blue: #0066aa;
        --nature-green: #1a5c3a;
        --text-dark: #000000;
        --text-light: #333333;
    }
    
    .time-btn {
        border-width: 4px;
    }
    
    .control-btn {
        border: 2px solid var(--clarity-white);
    }
}

/* Performance optimizations */
* {
    -webkit-tap-highlight-color: transparent;
}

button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), 
                url('images/funchal-hero.webp') center/cover;
    background-attachment: fixed;
    color: white;
    padding: 6rem 1rem 4rem;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 600;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.yellow-icon-wrapper {
    display: inline-flex;
    align-items: center;
    background: var(--pay-yellow);
    color: #1f2937;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.yellow-icon-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.social-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.social-proof p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--clarity-white);
    text-align: center;
    opacity: 0.9;
}

.flag-icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.flag-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: wave 2s ease-in-out infinite;
}

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

.language-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 2.5rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.lang-btn {
    background: var(--pay-yellow);
    color: #1f2937;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn img {
    width: 32px;
    height: 24px;
    object-fit: contain;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.hero-info {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-weight: 400;
    line-height: 1.5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.website-url {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 700;
    color: var(--pay-yellow);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.cta-button {
    background: var(--pay-yellow);
    color: #1f2937;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: var(--pay-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

.cta-button:active {
    transform: translateY(0);
}

.install-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.install-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Main content */
main {
    flex: 1;
    padding: 0;
    max-width: none;
    margin: 0;
    width: 100%;
}

/* Routes Section */
.routes-section {
    padding: 4rem 1rem;
    background: var(--sea-blue);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.route-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.route-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.route-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.route-icon {
    margin-bottom: 1.5rem;
    color: var(--clarity-white);
    display: flex;
    justify-content: center;
}

.route-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.route-info {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.route-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--clarity-white);
    opacity: 0.9;
}

.route-stat:last-child {
    margin-bottom: 0;
}

.route-stat span {
    font-weight: 500;
}

.route-card p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.route-card p.yellow-text {
    color: var(--pay-yellow);
    font-weight: 600;
}

.choose-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.choose-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

/* How it works section */
.how-it-works {
    padding: 4rem 1rem;
    background: var(--sea-blue);
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-weight: 600;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--sea-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 119, 190, 0.2);
    font-size: 24px;
    line-height: 1;
}

.step p {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    max-width: 200px;
}

/* Preview section */
.preview-section {
    padding: 4rem 1rem;
    background: var(--sea-blue);
}

.preview-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.preview-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.preview-text p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.features-list li {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    color: var(--clarity-white);
    opacity: 1;
    font-weight: 600;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1f2937;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.map-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-route {
    width: 80%;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    border-radius: 1px;
}

.map-route::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    left: 0;
    top: -3px;
}

.map-route::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    right: 0;
    top: -3px;
}

.map-pin {
    width: 24px;
    height: 24px;
    background: var(--error-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: absolute;
    top: 40%;
    left: 60%;
}

.map-pin::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Status section */
.status {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--sea-blue);
}

.status-indicator {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-indicator.online {
    background-color: var(--success-color);
    color: white;
}

.status-indicator.offline {
    background-color: var(--error-color);
    color: white;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 1024px) {
    .preview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .phone-mockup {
        margin: 2rem auto 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1rem 3rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .routes-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 1rem;
    }
    
    .route-card {
        padding: 2rem;
    }
    
    .steps {
        gap: 2rem;
    }
    
    .how-it-works h2,
    .preview-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .route-card {
        padding: 1.5rem;
    }
    
    .steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* PWA specific styles */
@media (display-mode: standalone) {
    .hero-section {
        padding-top: calc(6rem + env(safe-area-inset-top));
    }
    
    body {
        background-color: var(--bg-color);
    }
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Route selection notifications */
.route-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    max-width: 300px;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.route-notification h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.route-notification p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.route-notification small {
    color: #6b7280;
    font-size: 0.8rem;
}

/* Route message */
.route-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 400px;
    z-index: 1001;
    animation: fadeIn 0.3s ease-out;
}

.route-message h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.route-message p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.route-message button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.route-message button:hover {
    background: var(--secondary-color);
}

/* Payment success */
.payment-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    max-width: 400px;
    z-index: 1002;
    animation: fadeIn 0.3s ease-out;
}

.payment-success h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.payment-success p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.payment-success button {
    background: white;
    color: var(--success-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.payment-success button:hover {
    transform: translateY(-2px);
}

/* Selected route card styles */
.route-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.choose-btn.selected {
    background: var(--success-color);
    color: white;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
