
:root {
    --text-light: #ccd6f6;
    --text: #8892b0;
    --accent: #d4a574;
    --accent-hover: #e6b887;
    --primary: #0a192f;
    --secondary: #1e2a3a;
    --neutral: #233554;
    --bg-light: #112240;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--primary);
}

/* ===== CREATIVE HEADER TOP ===== */
.creative-header-top {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
}

/* Circular logo */
.creative-logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    box-shadow: 0 0 15px rgba(212, 165, 116, 0.25);
}

/* IG link wrapper */
.creative-ig-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s ease;
}

/* IG icon */
.creative-ig-link .ig-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(1) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* Name */
.creative-ig-link .ig-name {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    position: relative;
}

/* Hover Effects */
.creative-ig-link:hover {
    color: var(--accent);
}

.creative-ig-link:hover .ig-icon {
    opacity: 1;
    filter: brightness(1.2);
}

.creative-ig-link:hover .ig-name::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    opacity: 0.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .creative-header-top {
        flex-direction: column;
        gap: 0.6rem;
        margin-top: 4rem;
    }

    .creative-ig-link .ig-name {
        font-size: 1rem;
    }

    .creative-logo img {
        width: 60px;
        height: 60px;
    }
}


/* ===== CREATIVE CORNER HEADER ===== */
.creativity-header {
    text-align: center;
    padding: 1rem 1.5rem 2rem;
    margin-top: 3vh;
}

.creativity-header h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.creativity-header p {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ===== PILL TOGGLE (iOS Style) ===== */
.creativity-toggle {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.pill-toggle {
    position: relative;
    display: flex;
    width: 260px;
    background: var(--neutral);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid var(--accent);
}

.pill-option {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.6rem 1rem;
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
    font-weight: 600;
}

.pill-option.active {
    color: var(--primary);
}

.pill-slider {
    position: absolute;
    width: 50%;
    height: 100%;
    background: var(--accent);
    border-radius: 50px;
    top: 0;
    left: 0;
    transition: left 0.35s ease;
    z-index: 1;
}

/* ===== MASONRY GRID (Photos + Poems) ===== */
.masonry-grid {
    column-count: 3;
    column-gap: 1.2rem;
    padding: 2rem;
}

.masonry-grid img {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
    display: block;
    break-inside: avoid;
    border: 2px solid var(--neutral);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 18px rgba(212, 165, 116, 0.3);
}

/* Responsive Masonry */
@media (max-width: 992px) {
    .masonry-grid { column-count: 2; }
}
@media (max-width: 600px) {
    .masonry-grid { column-count: 1; }
}

/* ===== POEM CARDS ===== */
.poem-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    color: var(--text-light);
    border: 1px solid var(--neutral);
    break-inside: avoid;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.25);
}

.poem-card p {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===== CREATIVE CORNER SECTIONS ===== */
.creativity-section {
    max-width: 1200px;
    margin: 0 auto;
}
.creativity-section h2 {
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}
