@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
    background: #ece8e4;
    color: #2a2a2a;
    position: relative;
    min-height: 100vh;
}

/* SILVER GRADIENT BACKGROUND */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse at 15% 10%, rgba(220,215,210,0.7) 0%, transparent 40%),
        radial-gradient(ellipse at 85% 15%, rgba(200,195,190,0.5) 0%, transparent 40%),
        radial-gradient(ellipse at 25% 60%, rgba(225,220,215,0.5) 0%, transparent 45%),
        radial-gradient(ellipse at 75% 70%, rgba(210,205,200,0.4) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 90%, rgba(195,190,185,0.3) 0%, transparent 40%),
        linear-gradient(170deg, #faf8f6 0%, #f2efec 25%, #e8e4e0 50%, #ede9e5 70%, #f5f2ef 100%);
}

/* TOP NAVIGATION */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245,242,239,0.9);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.top-nav a {
    text-decoration: none;
    color: #666;
    font-size: 0.85em;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s;
}

.top-nav a:hover {
    color: #2a2a2a;
}

.top-nav a.active {
    color: #111;
    font-weight: 600;
}

/* HEADER */
header {
    text-align: center;
    padding: 90px 20px 20px;
    margin-top: 55px;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #2a2a2a 0%, #555 30%, #1a1a1a 60%, #444 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* MAIN CONTENT */
main {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 1.6em;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 600;
}

h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #888, #ccc);
    margin-top: 8px;
}

details {
    cursor: pointer;
}

details summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::before {
    content: '+';
    font-size: 1em;
    color: #888;
    transition: transform 0.2s;
    font-weight: 300;
    line-height: 1;
}

details[open] summary::before {
    content: '−';
}

details summary h3 {
    display: inline;
    cursor: pointer;
}

.card h3 {
    font-size: 1.15em;
    color: #1a1a1a;
    margin-bottom: 5px;
}

/* CARDS */
.card {
    padding: 20px 0;
    margin: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.card:last-child {
    border-bottom: none;
}

.card h4 {
    font-size: 0.9em;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 15px 0 8px;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 5px;
}

.card ul li {
    font-size: 0.9em;
    color: #555;
    padding: 3px 0 3px 15px;
    position: relative;
    transition: color 0.2s;
}

.card ul li:hover {
    color: #2a2a2a;
}

.card ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #aaa;
    font-size: 0.8em;
}

.card ul li strong {
    color: #1a1a1a;
    font-weight: 600;
}

.subtitle {
    font-size: 0.85em;
    color: #999;
    margin-bottom: 8px;
}

section p {
    margin-bottom: 15px;
    color: #444;
}



/* CONTACT CARDS */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 10px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 16px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, background 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.8);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.contact-icon {
    font-size: 1.6em;
    line-height: 1;
}

.contact-label {
    font-size: 0.75em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-value {
    font-size: 0.85em;
    color: #2a2a2a;
    text-align: center;
    word-break: break-all;
}

@media (max-width: 500px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.85em;
    color: #aaa;
    border-top: 1px solid rgba(0,0,0,0.06);
    max-width: 700px;
    margin: 0 auto;
}

/* SCROLL TO TOP */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ddd, #bbb);
    color: #333;
    border: none;
    border-radius: 50%;
    font-size: 1.1em;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

/* MUSIC PLAYER BUTTON */
.music-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ddd, #bbb);
    color: #333;
    border: none;
    border-radius: 50%;
    font-size: 1em;
    cursor: pointer;
    z-index: 999;
    transition: transform 0.2s;
    line-height: 1;
}

.music-btn:hover {
    transform: scale(1.1);
}

.music-btn.playing {
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(150,150,150,0.3); }
    50% { box-shadow: 0 0 15px rgba(150,150,150,0.5); }
}

/* FORM SUBMISSION */
.submit-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.submit-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.submit-section input,
.submit-section textarea {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 14px 16px;
    color: #333;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9em;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.submit-section input:focus,
.submit-section textarea:focus {
    border-color: #888;
    background: rgba(255,255,255,0.9);
}

.submit-section input::placeholder,
.submit-section textarea::placeholder {
    color: #aaa;
}

.submit-section button {
    background: linear-gradient(135deg, #2a2a2a, #555);
    color: #f5f2ef;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.3s;
    align-self: flex-start;
}

.submit-section button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.submit-section button:active {
    transform: scale(0.97);
}

.publish-consent {
    margin: 5px 0;
}

.publish-consent p {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 10px;
}

.publish-consent label {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 6px;
    cursor: pointer;
}

.publish-consent input[type="radio"] {
    margin-right: 8px;
    accent-color: #555;
}

#thankyou {
    text-align: center;
    padding: 30px 0;
}

#thankyou p {
    font-size: 1em;
    color: #444;
    margin-bottom: 10px;
}

/* MY STORIES */
.my-stories {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.story-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.story-item:last-child {
    border-bottom: none;
}

.story-item .story-date {
    font-size: 0.75em;
    color: #aaa;
    margin-bottom: 6px;
}

.story-item .story-text {
    font-size: 0.95em;
    color: #444;
    line-height: 1.6;
    white-space: pre-wrap;
}

.story-item .story-meta {
    font-size: 0.8em;
    color: #999;
    margin-top: 6px;
}

#storiesList .empty {
    font-size: 0.9em;
    color: #999;
    font-style: italic;
}

.story-reply {
    margin-top: 10px;
    padding: 10px 12px;
    background: rgba(0,0,0,0.04);
    border-radius: 6px;
    font-size: 0.9em;
    color: #444;
    border-left: 2px solid #bbb;
}

.story-reply strong {
    display: block;
    margin-bottom: 4px;
    color: #1a1a1a;
    font-size: 0.85em;
}

/* SKILLS GRID */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.2s, background 0.3s, box-shadow 0.3s;
}

.skill-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.8);
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.skill-icon {
    font-size: 1.5em;
    line-height: 1;
}

.skill-label {
    font-size: 0.8em;
    color: #444;
    font-weight: 500;
}

@media (max-width: 500px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* HOBBY GRID */
.hobby-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 10px;
}

.hobby-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 16px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    transition: transform 0.2s, background 0.3s, box-shadow 0.3s;
}

.hobby-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.85);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.hobby-icon {
    font-size: 1.3em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.04);
    border-radius: 8px;
    margin-bottom: 2px;
}

.hobby-label {
    font-size: 0.9em;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.3px;
}

.hobby-desc {
    font-size: 0.8em;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 500px) {
    .hobby-grid {
        grid-template-columns: 1fr;
    }
}

/* HIDDEN DRAFTS TEASER */
.hidden-drafts-teaser {
    text-align: center;
    padding: 50px 0;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 50px;
}

.hidden-drafts-teaser p {
    font-size: 1em;
    color: #666;
    max-width: 450px;
    margin: 0 auto 20px;
    font-style: italic;
}

.teaser-link {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #2a2a2a, #555);
    color: #f5f2ef;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    transition: transform 0.2s, opacity 0.3s;
}

.teaser-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .top-nav {
        gap: 10px;
        padding: 14px 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        justify-content: flex-start;
    }

    .top-nav a {
        font-size: 0.65em;
        letter-spacing: 0.5px;
        flex-shrink: 0;
    }

    header {
        padding: 100px 15px 20px;
    }

    header h1 {
        font-size: 2em;
    }

    main {
        padding: 15px;
    }
}
