:root {
    --bg-color: #0b2d45;
    --text-color: #ffffff;
    --accent-color: #00e600;
    --card-bg: rgba(255, 255, 255, 0.1);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.4;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px 10px;
}

.container {
    max-width: 400px; /* Focus on mobile width */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    margin-bottom: 30px;
    text-align: center;
}

header h1 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
}

main {
    width: 100%;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-image {
    flex: 1.5;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.view-button {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease;
}

.view-button:hover {
    transform: scale(1.05);
}

.icon {
    width: 14px;
    height: 14px;
}

/* Totems Grid Section */
.totems-grid-section {
    width: 100%;
    text-align: center;
}

.totems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    margin-bottom: 25px;
}

.totem-card {
    position: relative;
    aspect-ratio: 0.38 / 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
    text-decoration: none;
}

.totem-card:hover {
    transform: translateY(-5px);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4px;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.card-content h3 {
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    color: #fff;
    margin: auto 0; /* Keeps it in the middle */
}

.card-icon {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.card-icon .icon {
    width: 12px;
    height: 12px;
    color: white;
}

.section-footer {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    opacity: 0.6;
    text-transform: uppercase;
    font-weight: 400;
}

/* Desktop adjustments if needed */
@media (min-width: 769px) {
    .container {
        max-width: 1000px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .view-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
    }
}
