/* ============================
   RESET & GLOBAL STYLES
   ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; 
}

@font-face {
    font-family: 'SpAlterna-Regular';
    src: url('/src/assets/SpAlterna-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    background: #000;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: rgb(220, 226, 255);
}

strong{
    font-weight: 700;
      color: rgb(220, 226, 255);
      text-decoration: underline;
}

/* ============================
   COMMON GLASS EFFECTS
   ============================ */
.glass-effect {
    backdrop-filter: blur(40px) saturate(200%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-panel {
    backdrop-filter: blur(40px) saturate(200%);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideInNotification {
    0% {
        opacity: 0;
        transform: translateY(-120px) scale(0.9);
    }
    60% {
        opacity: 1;
        transform: translateY(5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeOutLeft {
    to {
        opacity: 0;
        transform: translateX(-100px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* ============================
   VIDEO BACKGROUND
   ============================ */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.106);
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================
   NAVIGATION
   ============================ */
nav {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    backdrop-filter: blur(40px) saturate(200%);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                0 0 60px rgba(255, 255, 255, 0.05) inset;
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation: fadeInDown 0.8s ease;
    opacity: 0;
    pointer-events: none;
}

nav.show {
    opacity: 1;
    pointer-events: all;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    position: relative;
}

.nav-indicator-bg {
            position: absolute;
            height: calc(100% - 8px);
            background: rgba(255, 255, 255, 0.379);
            border-radius: 30px;
            transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
            top: 4px;
            z-index: 30;
            filter: url(#displacementFilter);
            pointer-events: none;
        }

        .nav-indicator-bg::before {
            content: '';
            position: absolute;
            inset: 1px;
            border-radius: 30px;
            box-shadow: inset 6px 6px 0px -6px rgba(255, 255, 255, 0.7),
                        inset 0 0 8px 1px rgba(255, 255, 255, 0.7);
        }

.nav-item {
    position: relative;
    z-index: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
    border-radius: 30px;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    white-space: nowrap;
    cursor: pointer;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.95);
}

.nav-link.active {
    color: #000;
}

/* ============================
   INTRO SCREEN
   ============================ */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.intro-screen.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.hero {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* ============================
   NOTIFICATIONS
   ============================ */
.notifications-container {
    margin: 30px auto 0;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification {
    display: flex;
    height: 64px;
    align-items: center;
    gap: 10px;
    padding: 13px 17px 13px 14px;
    position: relative;
    border-radius: 24px;
    opacity: 0;
    transform: translateY(-120px) scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.notification.show {
    animation: slideInNotification 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.notification.fade-out {
    animation: fadeOutLeft 0.8s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.notification .card {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    backdrop-filter: brightness(1.1) blur(10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 6px 6px 0px -6px rgba(255, 255, 255, 0.7),
                inset 0 0 8px 1px rgba(255, 255, 255, 0.3),
                0 8px 32px rgba(0, 0, 0, 0.3);
}

.notification .icon {
    position: relative;
    width: 38px;
    height: 38px;
    background: url(/src/assets/custom-icon-default@2x.png);
    background-size: cover;
    border-radius: 8px;
    z-index: 1;
}

.notification .content {
    display: flex;
    flex-direction: column;
    flex: 1;
    z-index: 1;
    align-items: flex-start;
}

.notification .header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
    width: 100%;
}

.notification .title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.23px;
    text-align: left;
}

.notification .time {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

.notification .message {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.23px;
    line-height: 18px;
    text-align: left;
}

/* ============================
   BUTTONS
   ============================ */
.cta-button {
    display: inline-block;
    margin-top: 40px;
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
    background: #fff;
}

/* ============================
   MAIN SCREEN
   ============================ */
.main-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.main-screen.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.main-screen::-webkit-scrollbar {
    width: 6px;
}

.main-screen::-webkit-scrollbar-track {
    background: transparent;
}

.main-screen::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.main-screen::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Panel styles */
.quotes-panel,
.tools-panel,
.languages-panel {
    backdrop-filter: blur(40px) saturate(200%);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    height: 1380px;
}

.quotes-panel .panel-header,
.tools-panel .panel-header,
.languages-panel .panel-header {
    padding: 24px 28px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.panel-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.quotes-container,
.tools-grid-container,
.languages-container {
    padding: 24px 28px;
    flex: 1;
    overflow-y: auto;
}

/* Maintain scrollbar styling for containers */
.quotes-container::-webkit-scrollbar,
.tools-grid-container::-webkit-scrollbar,
.languages-container::-webkit-scrollbar {
    width: 6px;
}

.quotes-container::-webkit-scrollbar-track,
.tools-grid-container::-webkit-scrollbar-track,
.languages-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.quotes-container::-webkit-scrollbar-thumb,
.tools-grid-container::-webkit-scrollbar-thumb,
.languages-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.quotes-container::-webkit-scrollbar-thumb:hover,
.tools-grid-container::-webkit-scrollbar-thumb:hover,
.languages-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================
   HEADERS & TITLES
   ============================ */
.header-panel {
    text-align: left;
    margin-bottom: 20px;
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.main-title .highlight {
    background: linear-gradient(135deg, #002163 0%, #000c1e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ============================
   GRID LAYOUTS
   ============================ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    flex: 1;
    max-height: calc(100vh - 240px);
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
}

/* ============================
   QUOTES SECTION
   ============================ */
.quotes-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
}

.quotes-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 8px;
    min-height: 0;
}

.quotes-container::-webkit-scrollbar {
    width: 6px;
}

.quotes-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.quotes-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.quotes-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.quote-card {
    backdrop-filter: blur(40px) saturate(200%);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.quote-card:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(176, 176, 176, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.quote-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    font-style: italic;
}

.quote-author {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-align: right;
}

/* ============================
   TOOLS SECTION
   ============================ */
.tools-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
}

.tools-grid-container {
    flex: 1;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
}

.tools-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 0;
    scroll-behavior: smooth;
    flex-wrap: wrap;
    align-content: flex-start;
}

.tools-scroll::-webkit-scrollbar {
    display: none;
}

.tool-card {
    min-width: 140px;
    height: 140px;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.018);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.022);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tool-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.tool-card.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.tool-icon {
    width: 70px;
    height: 70px;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
}

.tool-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    line-height: 1.3;
}

.tool-description {
    backdrop-filter: blur(40px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.tool-description.show {
    opacity: 1;
    max-height: 150px;
}

.tool-description-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================
   LANGUAGES SECTION
   ============================ */
.languages-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0.8;
    min-height: 0;
}

.languages-container {
    flex: 1;
    background: transparent;
    border-radius: 24px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    overflow-y: auto;
    align-content: start;
    min-height: 0;
}

.languages-container::-webkit-scrollbar {
    width: 6px;
}

.languages-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.languages-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.languages-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.language-card {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.language-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.language-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-icon {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.language-info {
    display: flex;
    flex-direction: column;
}

.language-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.language-level {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.language-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.language-progress {
    height: 100%;
    background: linear-gradient(90deg, rgba(247, 183, 255, 0.8) 0%, rgba(180, 205, 255, 0.8) 100%);
    border-radius: 2px;
    transition: width 0.6s ease;
}

/* ============================
   ABOUT SCREEN
   ============================ */
.about-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.about-screen.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.about-screen::-webkit-scrollbar {
    width: 6px;
}

.about-screen::-webkit-scrollbar-track {
    background: transparent;
}

.about-screen::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.about-screen::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    flex: 1;
}

.about-left-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-right-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-panel {
    backdrop-filter: blur(40px) saturate(200%);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.about-panel-header {
    padding: 24px 28px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-panel-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.about-panel-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.about-panel-content {
    padding: 24px 28px;
}

/* Profile Card */
.profile-card {
    transition: all 0.3s ease;
    min-height: 350px;
}

.profile-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

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

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.profile-role {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.profile-bio {
    margin-bottom: 24px;
}

.profile-bio p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-item {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Interests */
.interests-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    min-height: 400px;
}

.interest-card {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.interest-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.interest-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.interest-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.interest-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.interest-description {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Location */
.location-card {
    transition: all 0.3s ease;
    min-height: 250px;
}

.location-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.location-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
}

.location-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 4px 0;
}

.location-info p {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.time-value {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    font-family: 'SF Mono', Monaco, monospace;
}

.location-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.location-status span {
    font-size: 14px;
    color: #22c55e;
    font-weight: 500;
}

/* ============================
   MEDIUM PANELS
   ============================ */
.medium-panels-section {
    min-height: auto; /* Remove fixed min-height */
    height: 1200px;
}

.medium-panels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    min-height: auto; /* Remove fixed min-height */
}

.medium-panel {
    backdrop-filter: blur(40px) saturate(200%);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    min-height: 180px; /* Keep panel minimum height */
    height: auto; /* Allow panels to determine their own height */
}

.medium-panel:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}


/* Twitter Panel */
.twitter-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 20px;
        min-height: 180px; /* Compact height */
    height: auto;

}

.twitter-color-overlay {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    background: #1DA1F2;
    border-radius: 14px;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    pointer-events: none;
    transform-origin: center center;
}

.twitter-panel:hover .twitter-color-overlay {
    width: 600%;
    height: 600%;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    border-radius: 20px;
}

.twitter-icon-container {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(29, 161, 242, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.twitter-panel:hover .twitter-icon-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.twitter-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.twitter-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.tweet-text {
    margin-top: 10px;
    margin-bottom: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tweet-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tweet-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s ease;
}

.twitter-panel:hover .tweet-profile-pic {
    border-color: rgba(255, 255, 255, 0.5);
}

.tweet-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tweet-name {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
    transition: color 0.3s ease;
}

.twitter-panel:hover .tweet-name {
    color: #fff;
}

.tweet-username {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
    transition: color 0.3s ease;
}

.twitter-panel:hover .tweet-username {
    color: rgba(255, 255, 255, 0.8);
}

.tweet-text p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    transition: color 0.3s ease;
}

.twitter-panel:hover .tweet-text p {
    color: #fff;
}

.twitter-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    z-index: 2;
}

.twitter-button span {
    flex: 1;
    text-align: left;
}

.twitter-panel:hover .twitter-button {
    background: rgba(255, 255, 255, 0.95);
    color: #1DA1F2;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.button-arrow {
    width: 16px;
    height: 16px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0) invert(1);
}

.twitter-panel:hover .button-arrow {
    transform: translateX(4px);
    filter: brightness(0) saturate(100%) invert(53%) sepia(89%) saturate(2798%) hue-rotate(180deg);
}

/* Photos Panel */
.photos-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: 180px; /* Base height */
    grid-row: span 2; /* Spans 2 rows in the grid */
    height: auto;
}

.photos-icon-container {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #FF2D55 0%, #FF6482 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(255, 45, 85, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.photos-panel:hover .photos-icon-container {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 45, 85, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.photos-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.photos-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gallery-image-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease;
    opacity: 0;
}

.gallery-image.loaded {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 240px;
    left: 50%;
    height: 15%;
    transform: translateX(-50%);
    z-index: 10;
    backdrop-filter: blur(40px) saturate(200%);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border: 1px solid rgba(255, 255, 255, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.photos-panel:hover .gallery-nav {
    opacity: 1;
    pointer-events: all;
}

.gallery-nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0;
}

.gallery-nav-indicator {
    position: absolute;
    height: calc(100% - 4px);
    width: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.3);
    top: -3px;
    z-index: 0;
}

.gallery-nav-item {
    position: relative;
    z-index: 1;
        top: -6px;
}

.gallery-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-nav-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.gallery-nav-btn:hover img {
    opacity: 1;
}

.gallery-nav-btn.active img {
    opacity: 1;
    filter: brightness(0);
}

/* Music Panel */
.music-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 20px;
        min-height: 180px; /* Compact height */
    height: auto;
}

.music-color-overlay {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #FA2D56 0%, #FB5C74 100%);
    border-radius: 14px;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    pointer-events: none;
    transform-origin: center center;
    opacity: 0;
}

.music-panel.playing .music-color-overlay {
    opacity: 1;
    width: 600%;
    height: 600%;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    border-radius: 20px;
}

.music-icon-container {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #FA2D56 0%, #FB5C74 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(250, 45, 86, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.music-panel.playing .music-icon-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.music-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.music-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.music-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 16px;
}

.album-cover {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.music-panel.playing .album-cover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
    transform: scale(1.02);
}

.track-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    width: 100%;
}

.track-title {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.music-panel.playing .track-title {
    color: #fff;
}

.track-artist {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.music-panel.playing .track-artist {
    color: rgba(255, 255, 255, 0.85);
}

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.control-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.control-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.play-btn {
    width: 48px;
    height: 48px;
    position: relative;
}

.play-btn img {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.play-btn .pause-icon {
    opacity: 0;
}

.music-panel.playing .play-btn .play-icon {
    opacity: 0;
}

.music-panel.playing .play-btn .pause-icon {
    opacity: 1;
}

.volume-btn {
    position: relative;
}

.volume-btn img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.volume-btn .volume-off-icon {
    opacity: 0;
}

.music-panel.muted .volume-btn .volume-on-icon {
    opacity: 0;
}

.music-panel.muted .volume-btn .volume-off-icon {
    opacity: 1;
}

.playlist-btn:hover {
    transform: scale(1.15);
}

.music-panel.playing .control-btn {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
}

.music-panel.playing .control-btn img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(97%) saturate(2364%) hue-rotate(336deg);
}

.music-panel.playing .control-btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}


/* YouTube Panel */
.youtube-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: 0;
     min-height: 280px; /* Compact height */
    position: relative;
    overflow: hidden;
    height: auto;
}

.youtube-color-overlay {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border-radius: 14px;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    pointer-events: none;
    transform-origin: center center;
    opacity: 0;
}

.youtube-panel.playing .youtube-color-overlay {
    opacity: 1;
    width: 600%;
    height: 600%;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    border-radius: 20px;
}

.youtube-icon-container {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(255, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.youtube-panel.playing .youtube-icon-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.youtube-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.youtube-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.youtube-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.youtube-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.youtube-panel .music-controls {
    position: relative;
    z-index: 3;
    margin: 0;
    padding: 20px;
    margin-top: auto;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.youtube-panel .control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.youtube-panel .control-btn img {
    filter: brightness(0) invert(1);
}

.youtube-panel.playing .control-btn {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
}

.youtube-panel.playing .control-btn img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(100%) saturate(7496%) hue-rotate(360deg);
}

.youtube-panel.playing .control-btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

/* Play button icons for YouTube */
.youtube-panel .play-btn .play-icon {
    opacity: 1;
}

.youtube-panel .play-btn .pause-icon {
    opacity: 0;
}

.youtube-panel.playing .play-btn .play-icon {
    opacity: 0;
}

.youtube-panel.playing .play-btn .pause-icon {
    opacity: 1;
}


.youtube-panel .volume-btn .volume-on-icon {
    opacity: 1;
}

.youtube-panel .volume-btn .volume-off-icon {
    opacity: 0;
}

.youtube-panel.muted .volume-btn .volume-on-icon {
    opacity: 0;
}

.youtube-panel.muted .volume-btn .volume-off-icon {
    opacity: 1;
}

/* ============================
   HIGHLIGHTS SECTION STYLES
   ============================ */

.highlights-section {
    position: relative;
    margin-bottom: 30px;
}

.highlights-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    position: relative;
}

.highlights-hint {
    display: flex;
    align-items: right;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 300;
}

.hint-arrow {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.hint-text {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Cute text below highlights */
.highlights-description {
    margin-top: 25px;
    padding: 20px;
}

.highlights-description p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
}

/* ============================
   PERSONAL PANEL STYLES
   ============================ */

.personal-panel {
    margin-top: 30px;
}

.personal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.personal-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.personal-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.personal-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.personal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.personal-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0;
}

.personal-thoughts {
    padding: 15px;
    border-radius: 10px;
}

.personal-thoughts p {
    margin: 0;
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
.personal-thoughts b {
    margin: 0;
color: rgb(255, 238, 253);
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: underline;
}


/* ============================
   CONTACT SCREEN (iMessage Style)
   ============================ */

.contact-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
    overflow: hidden;
}

.contact-screen.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* iMessage Chat Container */
.imessage-container {
    backdrop-filter: blur(40px) saturate(200%);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    width: 100%;
    height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Chat Header */
.chat-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chat-header-info {
    flex: 1;
}

.chat-header-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.chat-header-status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Messages Container */
.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.messages-container::-webkit-scrollbar {
    width: 6px;
}

.messages-container::-webkit-scrollbar-track {
    background: transparent;
}

.messages-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.messages-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Message Bubbles */
.message {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    animation: messageSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.skye-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.message-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
}

.skye-message .message-bubble {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 4px;
}

.user-message .message-bubble {
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
    border-bottom-right-radius: 4px;
}

.message-bubble span {
    font-size: 15px;
    line-height: 1.4;
    color: #fff;
    display: block;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Input Container */
.input-container {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 12px;
    align-items: flex-end;
    background: rgba(255, 255, 255, 0.03);
    display: none; /* Hidden by default */
}

.message-input-wrapper {
    flex: 1;
    position: relative;
}

.message-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: #fff;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    resize: none;
    max-height: 100px;
    outline: none;
    transition: all 0.3s ease;
}

.message-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.message-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.send-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.send-button:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 122, 255, 0.5);
}

.send-button:active:not(:disabled) {
    transform: scale(0.95);
}

.send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.send-button svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Empty state (before conversation starts) */
.messages-container:empty::before {
    content: 'Starting conversation...';
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-top: 40px;
}