@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-base: #0a0f1a;
    --text-main: #ffffff;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-base);
    background-image: linear-gradient(rgba(10, 15, 26, 0.8), rgba(10, 15, 26, 0.8)), url('images/bg-blue-fish.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

body::before {
    content: ''; position: fixed; top: -30%; left: -10%; width: 70%; height: 150%;
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.45) 0%, rgba(192, 132, 252, 0.15) 40%, transparent 70%);
    transform: rotate(25deg); filter: blur(100px); z-index: -2; pointer-events: none;
}

body::after {
    content: ''; position: fixed; bottom: -20%; right: -10%; width: 50%; height: 60%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, transparent 70%);
    filter: blur(80px); z-index: -2; pointer-events: none;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.4); }

.page-container {
    width: 100%; max-width: 800px;
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.25); border-left: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); border-radius: 20px;
    display: flex; flex-direction: column; overflow: hidden;
}

.page-header {
    padding: 1.5rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.05); position: relative;
}

.page-header.list-header {
    padding: 2rem; text-align: center;
}

.page-header.list-header h1 {
    color: #38bdf8; font-size: 1.8rem; margin: 0 0 0.5rem 0; text-align: center;
}

.back-btn {
    position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%);
    color: #38bdf8; text-decoration: none; font-size: 0.9rem; font-weight: 600;
}

.page-header h1 { color: #fff; font-size: 1.4rem; margin: 0 0 0 3rem; text-align: left; }
.page-middle { padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.page-footer {
    padding: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.6);
}

.chat-bubble {
    background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 20px 20px 20px 0; padding: 1.25rem 1.5rem; color: #f8fafc;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); font-size: 0.95rem; line-height: 1.6;
    max-width: 90%; position: relative;
}
.chat-bubble.alt {
    background: rgba(192, 132, 252, 0.1); border: 1px solid rgba(192, 132, 252, 0.25);
    border-radius: 20px 20px 0 20px; align-self: flex-end; text-align: left;
}
.chat-bubble h2 { font-size: 1.1rem; color: #38bdf8; margin-bottom: 0.5rem; }
.chat-bubble.alt h2 { color: #c084fc; }

.media-container {
    border-radius: 16px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1); align-self: center; width: 100%; max-width: 600px;
    position: relative;
}
.media-container iframe, .media-container img { width: 100%; display: block; border: none; }

.list-item {
    display: flex; align-items: center; padding: 1.25rem; background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; text-decoration: none; color: #fff; transition: all 0.3s ease;
}
.list-item:hover {
    background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.3); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.list-item h3 { font-size: 1.1rem; margin-bottom: 0.25rem; color: #38bdf8; }
.list-item p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin: 0; }
.list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .list-grid { grid-template-columns: 1fr; } }

.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.social-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.social-links a:hover {
    color: #38bdf8;
    transform: translateY(-2px);
}
.social-links svg {
    fill: currentColor;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: #38bdf8;
}
