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

html, body {
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #f5f5f5;
    line-height: 1.6;
    background: #223e5b;
    min-height: 100vh;
    position: relative;
}

.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.75) 100%), url('viraj-bg.jpg');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    margin-bottom: 50px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1.1rem;
    color: #e5e5e5;
    margin-bottom: 20px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.info {
    margin-bottom: 24px;
}

.info p {
    font-size: 1.05rem;
    color: #e5e5e5;
    margin-bottom: 6px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.links a {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.links a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.email-btn {
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
}

.email-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.email-wrap {
    position: relative;
    display: inline-flex;
}

.email-popup {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 8px;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.email-popup[hidden] {
    display: none;
}

.email-popup a {
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    background: none;
    border: none;
    transition: background 0.2s ease;
}

.email-popup a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.section {
    margin-bottom: 44px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 24px;
}

.section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section > p {
    color: #e5e5e5;
}

.entry {
    margin-top: 20px;
}

.entry-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.entry h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

.entry-date {
    font-size: 0.9rem;
    color: #ccc;
}

.entry-sub {
    color: #e5e5e5;
    margin-top: 2px;
}

.footer {
    color: #ccc;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: auto;
}

@media (max-width: 640px) {
    html {
        overscroll-behavior: none;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    html::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    body {
        overscroll-behavior: none;
        min-height: calc(100vh + 100px);
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    body::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .bg {
        background-size: cover;
        background-position: center 12%;
        transform: scale(1.35);
        filter: blur(6px);
    }

    .container {
        padding-top: 100px;
    }
}
