/* ─── EcoTransh Landing Page Styles ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1b7a4a;
    --primary-light: #22a05a;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --card-bg: rgba(255, 255, 255, 0.12);
    --card-border: rgba(255, 255, 255, 0.2);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.8);
    --radius: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

body,
html {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
}

/* ─── Landing Page ─── */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f4c2e 0%, #1b7a4a 40%, #2d9254 70%, #45a868 100%);
    position: relative;
    overflow: hidden;
}

/* ─── Ambient floating items ─── */
.ambient-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-item {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: float-drift linear infinite;
}

.ambient-sheep {
    top: 12%;
    left: 8%;
    animation-duration: 18s;
    font-size: 3rem;
}

.ambient-mountain {
    top: 8%;
    right: 12%;
    animation-duration: 22s;
    font-size: 3.5rem;
    opacity: 0.1;
}

.ambient-shepherd {
    bottom: 20%;
    left: 15%;
    animation-duration: 20s;
    font-size: 2.8rem;
}

.ambient-dog {
    bottom: 30%;
    right: 18%;
    animation-duration: 16s;
}

.ambient-cloud {
    top: 5%;
    left: 40%;
    animation-duration: 30s;
    font-size: 4rem;
    opacity: 0.08;
}

.ambient-bell {
    top: 35%;
    right: 8%;
    animation-duration: 14s;
}

@keyframes float-drift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(15px, -20px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, -35px) rotate(-3deg);
    }

    75% {
        transform: translate(20px, -15px) rotate(4deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* ─── Content ─── */
.landing-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 2rem;
    max-width: 1100px;
    width: 95%;
}

.landing-title {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-eco {
    color: #a8edca;
}

.title-transh {
    color: #fff;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* ─── Language Selector ─── */
.language-selector {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 1000;
}

.language-selector select {
    padding: 8px 14px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #000;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}

.language-selector select:hover {
    background: rgba(255, 255, 255, 0.25);
}

.language-selector select option {
    color: #000 !important;
    background-color: #fff !important;
}

/* ─── Cards ─── */
.landing-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-card {
    flex: 1;
    min-width: 260px;
    max-width: 320px;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2.5rem 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: var(--shadow);
}

.action-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 0.3rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.card-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.btn-join {
    background: var(--accent);
    color: #1a1a1a;
}

.btn-join:hover {
    background: var(--accent-hover);
    transform: scale(1.03);
}

.btn-solo {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
}

.btn-solo:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    transform: scale(1.03);
}

.btn-create {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
}

.btn-create:hover {
    background: #fff;
    transform: scale(1.03);
}

.card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
}

/* ─── Footer ─── */
.landing-footer {
    position: relative;
    z-index: 2;
    margin-top: 3rem;
    padding-bottom: 1rem;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .landing-title {
        font-size: 3rem;
    }

    .landing-cards {
        flex-direction: column;
        align-items: center;
    }

    .action-card {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .landing-title {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .landing-content {
        padding: 2rem 1rem;
    }
}

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