@font-face {
    font-family: 'JetBrains Mono';
    src: url('font/JetBrainsMono-SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('font/JetBrainsMono-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --bg-about: #ffbd59;
    --bg-audience: #00bcd4;
    --bg-seaid: #00c853;
    --bg-blog: #536dfe;
    --text-dark: #1a1a1a;
    --header-bg: #808080;
}

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

body {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-dark);
    line-height: 1.4;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: var(--header-bg);
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(6px) saturate(200%);
    -webkit-backdrop-filter: blur(6px) saturate(200%);
    background-color: rgba(17, 25, 40, 0.67);
    border: 1px solid rgba(255, 255, 255, 0.125);
    color: white;
}

header .logo a {
    font-size: 1.2rem;
    text-decoration: none;
    color: white;
}

header nav a {
    margin-left: 1.5rem;
    color: var(--text-dark);
    text-decoration: underline;
    color: white;
}

/* Base Section */
section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
}

/* Hero Section */
.hero {
    background-image: url('/cool_background.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0;
    /* Let stickers handle padding/positioning */
}

/* Original Title Cards for Main Page */
.hero-cards {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10% 2rem 0;
}

.title-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    max-width: 400px;
    flex: 1;
}

.title-card.secondary {
    max-width: 320px;
    margin-top: 15rem;
    /* Push the secondary card down to match the image */
}

.card-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: bold;
}

.title-card h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: normal;
}

.title-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    font-weight: bold;
}

.title-card .status-dot {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.sticker {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    width: fit-content;
    position: absolute;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sticker-main {
    top: 10%;
    left: 10%;
    max-width: 500px;
}

.sticker-sub {
    bottom: 10%;
    right: 10%;
    max-width: 350px;
}

.sticker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.red-dot,
.status-dot {
    width: 13px;
    height: 13px;
    background-color: #ff4d4d;
    border-radius: 50%;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.sticker h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: normal;
}

.sticker h2 {
    font-size: 2.5rem;
    line-height: normal;
}

.sticker p {
    font-size: 1.6rem;
    line-height: 1.3;
}

/* Base Section for ID Page */
.section-id {
    min-height: 80vh;
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-id.orange {
    background-color: #ffbd59;
}

.section-id.green {
    background-color: #00c853;
}

.container-id {
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.container-id.reverse {
    flex-direction: row-reverse;
}

.icon-box {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 280px;
}

/* About & Audience Sections */
.split-section {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    align-items: center;
}

.about {
    background-color: var(--bg-about);
}

.audience {
    background-color: var(--bg-audience);
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 2.5rem;
    text-decoration: underline;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.text-content p,
.text-content li {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.text-content ul {
    list-style: none;
}

.text-content li::before {
    content: "•";
}

.circle-img-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.circle-img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #eee;
}

/* Sea ID Section */
.sea-id {
    background-color: var(--bg-seaid);
    flex-direction: column;
    text-align: center;
}

.sea-id h2 {
    font-size: 2.5rem;
    text-decoration: underline;
    font-style: italic;
    margin-bottom: 1rem;
}

.sea-id p {
    font-size: 1.8rem;
    max-width: 1000px;
    margin-bottom: 2rem;
}

.sea-id a {
    color: inherit;
}

.dashboard-frame {
    background: #e0e0e0;
    padding: 1rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.dashboard-frame img {
    width: 100%;
    border-radius: 0.5rem;
    display: block;
}

/* Blog Section */
.blog {
    background-color: var(--bg-blog);
    flex-direction: column;
    text-align: center;
}

.blog h2 {
    font-size: 2.5rem;
    text-decoration: underline;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.blog .recent-label {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.blog-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

.blog-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emoji-placeholder {
    background: #d9d9d9;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6rem;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-card span {
    font-size: 1rem;
}

/* Modal / Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.status-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 2rem;
    padding: 2.5rem 3rem;
    max-width: 900px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.status-card h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.status-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.status-card .status-dot {
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.status-card .status-dot:hover {
    transform: scale(1.2);
}

.warning-card {
    max-width: 500px;
    padding: 2rem;
    text-align: left;
}

.got-it-btn {
    background: #ffbd59;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    float: right;
    margin-top: 1rem;
    transition: background 0.2s;
}

.got-it-btn:hover {
    background: #ffae36;
}

.hidden {
    display: none !important;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('/cool_background.jpg') center/cover no-repeat;
    padding: 2rem;
}

.login-card {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.login-card h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.login-card .google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background: white;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: background 0.2s;
}

.login-card .google-btn:hover {
    background: #f9f9f9;
}

.login-card .divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #999;
    font-size: 0.8rem;
    margin: 1.5rem 0;
}

.login-card .divider::before,
.login-card .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.login-card .divider:not(:empty)::before {
    margin-right: .5em;
}

.login-card .divider:not(:empty)::after {
    margin-left: .5em;
}

.login-form {
    text-align: left;
}

.login-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: inherit;
}

.login-form .remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    cursor: pointer;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: black;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.login-card .signup-link {
    font-size: 0.8rem;
    color: #666;
}

.login-card .signup-link a {
    color: black;
    font-weight: bold;
    text-decoration: underline;
}

/* Dashboard */
.dashboard-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('/cool_background.jpg') center/cover no-repeat;
    padding: 2rem;
}

.dashboard-window {
    background: white;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    border-radius: 1.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    font-family: Menlo, Consolas, "Courier New", monospace;
}

.dashboard-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h2 {
    font-size: 1rem;
    font-weight: normal;
}

.dashboard-header .red-dot {
    width: 12px;
    height: 12px;
}

.dashboard-body {
    flex: 1;
    display: flex;
}

.dashboard-sidebar {
    width: 250px;
    border-right: 1px solid #eee;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-item {
    text-decoration: none;
    color: #666;
    font-size: 1rem;
    transition: color 0.2s;
}

.sidebar-item.active {
    color: black;
    font-weight: bold;
}

.sidebar-item:hover {
    color: black;
}

.dashboard-main {
    flex: 1;
    padding: 3rem;
    overflow-y: auto;
}

.dashboard-main h1 {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-style: italic;
    text-decoration: underline;
}

.profile-overview {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.profile-pic-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid black;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-pic-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details {
    flex: 1;
}

.profile-details p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.profile-details label {
    font-weight: normal;
}

.settings-link {
    display: block;
    margin-top: 2rem;
    font-size: 1rem;
    color: black;
}

.settings-link a {
    color: black;
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: #333;
    /* Dark gray */
    color: white;
    padding: 3rem 2rem 2rem;
    border-top: 4px solid #ffae36;
    /* Orange top border matching the mockup */
}

.footer-content {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 10rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #ffae36;
    /* Orange titles */
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footerlinks {
    margin-bottom: 0.8rem;
}

.footerlinks a {
    color: white;
    /* White links */
    font-size: 0.85rem;
    text-decoration: none;
}

.footerlinks a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 1rem;
    font-size: 0.75rem;
    color: #999;
}
