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

:root {
    --primary-gradient: linear-gradient(135deg, #d4a574 0%, #c8934a 100%);
    --secondary-gradient: linear-gradient(135deg, #e8b65f 0%, #d4a574 100%);
    --card-bg: rgba(255, 255, 255, 0.35);
    --card-border: rgba(212, 165, 116, 0.4);
    --text-primary: #3d2f00;
    --text-secondary: rgba(61, 47, 0, 0.75);
    --shadow: 0 8px 32px rgba(212, 165, 116, 0.2);
    --hover-shadow: 0 16px 48px rgba(212, 165, 116, 0.35);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5e6d3;
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d4b8 50%, #dcc5a0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    position: relative;
    overflow-x: hidden;
    padding: 20px;
}

.background-gradient {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.2) 0%, transparent 70%);
    top: -400px;
    right: -400px;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.background-gradient-2 {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 182, 95, 0.15) 0%, transparent 70%);
    bottom: -300px;
    left: -300px;
    pointer-events: none;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-section {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.profile-image-container {
    margin-bottom: 32px;
    display: inline-block;
    position: relative;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid transparent;
    background: linear-gradient(#f5e6d3, #f5e6d3) padding-box,
                var(--primary-gradient) border-box;
    box-shadow: 0 12px 40px rgba(212, 165, 116, 0.4),
                0 0 0 8px rgba(212, 165, 116, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInScale 1s ease-out;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 48px rgba(212, 165, 116, 0.5),
                0 0 0 12px rgba(212, 165, 116, 0.2);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, #c8934a 0%, #8b6914 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.01em;
}

.cards-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
    max-width: 600px;
    margin: 0 auto;
}

.location-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.location-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-1::before {
    background: var(--primary-gradient);
}

.card-2::before {
    background: var(--secondary-gradient);
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(255, 255, 255, 0.2);
}

.location-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-1 .card-icon {
    color: #c8934a;
}

.card-2 .card-icon {
    color: #d4a574;
}

.location-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.1);
}

.card-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1rem;
    line-height: 1.6;
}

.map-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 100%);
    border: 2px solid rgba(212, 165, 116, 0.3);
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card-1 .map-button:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.5);
    color: #ffffff;
}

.card-2 .map-button:hover {
    background: var(--secondary-gradient);
    border-color: transparent;
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(232, 182, 95, 0.5);
    color: #ffffff;
}

.map-button:active {
    transform: translateX(2px) scale(0.98);
}

.map-button svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-button:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0;
    }

    .hero-section {
        margin-bottom: 40px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .location-card {
        padding: 40px 24px;
    }

    .card-icon {
        width: 64px;
        height: 64px;
    }

    .card-icon svg {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .location-card {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .map-button {
        width: 100%;
        justify-content: center;
    }
}

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

/* Focus states for accessibility */
.map-button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}
