/* ===== THEME VARIABLES ===== */
:root {
    /* Light theme */
    --primary: #FF4D73;
    --primary-dark: #FF1E56; 
    --secondary: #00E5C9; 
    --accent1: #FFD54F; 
    --accent2: #B388FF;
    --accent3: #64D8CB;
    --accent4: #FFAB91;
    --bg: #FFFFFF;
    --text: #222222;
    --gray-100: #F5F0FF;
    --gray-200: #EBE4FF;
    --gray-800: #2A2A2A;
    --radius: 1rem;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --card-bg: rgba(255, 255, 255, 0.85);
    --header-bg: rgba(255, 255, 255, 0.8);
    --pattern-opacity: 0.12;
}
  
[data-theme="dark"] {
    /* Dark theme */
    --primary: #FF6B8B;
    --primary-dark: #FF4D73;
    --secondary: #00E5C9;
    --accent1: #FFD54F;
    --accent2: #B388FF;
    --accent3: #64D8CB;
    --accent4: #FFAB91;
    --bg: #1A1A1A;
    --text: #F0F0F0;
    --gray-100: #2A2A2A;
    --gray-200: #333333;
    --gray-800: #F0F0F0;
    --card-bg: rgba(44, 58, 71, 0.9);
    --header-bg: rgba(44, 58, 71, 0.8);
    --pattern-opacity: 0.15;
}
  
/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
html {
    scroll-behavior: smooth;
}
  
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    overflow-x: hidden;
}
  
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
  
/* ===== DECORATIVE BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Deep space background with stars - will be overridden in light mode */
        radial-gradient(circle at center, #0F2027 0%, #203A43 50%, #2C5364 100%),
        /* Stars layer 1 - small stars */
        radial-gradient(white 1px, transparent 2px),
        /* Stars layer 2 - medium stars */
        radial-gradient(white 2px, transparent 3px),
        /* Stars layer 3 - large stars */
        radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 3px);
    background-size: 100% 100%, 200px 200px, 400px 400px, 300px 300px;
    background-position: 0 0, 40px 60px, 130px 270px, 80px 170px;
    animation: 
        spaceShift 60s ease infinite,
        starTwinkle 4s ease-in-out infinite;
    opacity: 0.9;
    z-index: -1;
}

/* Light mode sunny background */
[data-theme="light"] body::before {
    background: 
        /* Sunny blue sky gradient */
        linear-gradient(to bottom, #87CEEB 0%, #E0F7FA 100%),
        /* Cloud effect 1 */
        radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.9) 0%, transparent 50%),
        /* Cloud effect 2 */
        radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, 0.9) 0%, transparent 40%),
        /* Cloud effect 3 */
        radial-gradient(ellipse at 40% 60%, rgba(255, 255, 255, 0.8) 0%, transparent 45%),
        /* Cloud effect 4 */
        radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.8) 0%, transparent 35%);
    background-size: 100% 100%, 60% 30%, 40% 20%, 50% 25%, 35% 15%;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    animation: cloudFloat 60s ease-in-out infinite;
    opacity: 0.8;
}

/* Dark mode space background adjustments */
[data-theme="dark"] body::before {
    opacity: 0.95;
    background-blend-mode: screen;
    filter: brightness(0.7) contrast(1.2);
}

/* Update body::after for light mode */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Nebula effect - much lighter */
        radial-gradient(circle at 20% 30%, rgba(128, 0, 128, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(255, 0, 128, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 60% 20%, rgba(0, 128, 128, 0.03) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
    animation: nebulaFloat 30s ease infinite;
}

/* Light mode sun effect */
[data-theme="light"] body::after {
    background: 
        /* Sun glow effect */
        radial-gradient(circle at 85% 15%, rgba(255, 215, 0, 0.6) 0%, transparent 25%),
        /* Additional small clouds */
        radial-gradient(ellipse at 25% 40%, rgba(255, 255, 255, 0.7) 0%, transparent 20%),
        radial-gradient(ellipse at 65% 50%, rgba(255, 255, 255, 0.7) 0%, transparent 15%);
    opacity: 0.7;
    animation: sunGlow 10s ease-in-out infinite;
}

/* Add cloud floating animation */
@keyframes cloudFloat {
    0%, 100% {
        background-position: 0 0, 20% 20%, 70% 30%, 40% 60%, 80% 70%;
    }
    50% {
        background-position: 0 0, 25% 22%, 75% 28%, 45% 62%, 85% 68%;
    }
}

/* Add sun glow animation */
@keyframes sunGlow {
    0%, 100% {
        opacity: 0.7;
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        filter: blur(15px);
    }
}
  
/* ===== HEADER & NAVIGATION ===== */
.header {
    position: sticky;
    top: 0;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary);
    z-index: 100;
    padding: 1rem 0;
}
  
.header .container {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0 2rem;
}
  
.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-family: 'Righteous', cursive;
}
  
.logo-letter {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 2px 2px 0px var(--accent2);
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
    font-family: 'Righteous', cursive;
}
  
.logo-letter:hover {
    transform: translateY(-5px) rotate(10deg);
    color: var(--accent1);
}
  
.logo-emoji {
    font-size: 1.8rem;
    margin-left: 0.2rem;
    animation: sparkle 1.5s ease-in-out infinite;
}
  
.nav {
    flex: 1;
}
  
.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
}
  
.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text);
}
  
.nav-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
  
.nav-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
  
.nav-link:hover .nav-icon {
    transform: scale(1.2) rotate(10deg);
}
  
.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}
  
/* Rainbow border animation */
.header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--secondary) 25%,
        var(--accent1) 50%,
        var(--accent2) 75%,
        var(--primary) 100%
    );
    background-size: 200% 100%;
    animation: rainbow-border 3s linear infinite;
}
  
/* Theme toggle button */
.theme-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.theme-toggle img {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
}
  
.theme-toggle:hover img {
    transform: rotate(45deg);
}
  
.sun-icon, .moon-icon {
    display: block;
}
  
[data-theme="light"] .sun-icon,
[data-theme="dark"] .moon-icon {
    display: none;
}
  
[data-theme="dark"] .sun-icon {
    filter: invert(1);
}
  
/* Mobile navigation */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    outline: none;
    width: 30px;
    height: 24px;
}
  
.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
}
  
/* ===== SECTION STYLES ===== */
.section {
    padding: 5rem 0;
}
  
.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary);
    font-family: 'Permanent Marker', cursive;
    position: relative;
    z-index: 1;
    background: white;
    padding: 1rem 2rem;
    border: 3px solid black;
    border-radius: 25px;
    transform: rotate(-2deg);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}
  
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--accent2);
    z-index: -1;
    opacity: 0.3;
    transform: rotate(-1deg);
}
  
.section-title:hover {
    transform: scale(1.1) rotate(2deg);
    text-shadow: 
      4px 4px 0 var(--secondary),
      -4px -4px 0 var(--accent1),
      8px 8px 15px rgba(0,0,0,0.2);
    animation: title-bounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
  
/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}
  
.about-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}
  
.profile-image-container {
    flex: 1;
    height: 500px;
    max-height: 500px;
    display: flex;
    align-items: center;
}
  
.profile-image {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 8px solid white !important;
    outline: 3px solid black !important;
    box-shadow: 
      4px 4px 0 rgba(0,0,0,0.2),
      -8px -8px 0 var(--accent1),
      8px 8px 0 var(--accent2) !important;
    transform: rotate(-3deg);
    position: relative;
}
  
.profile-image:hover {
    transform: scale(1.02) rotate(2deg);
}
  
.profile-image::before {
    content: '★';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 40px;
    color: var(--accent1);
    transform: rotate(15deg);
}
  
/* ===== CHAT COMPONENT ===== */
.chat-wrapper {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 3px solid var(--text);
    height: 500px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
}
  
.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    padding: 1rem;
    margin-bottom: 1rem;
}
  
.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: messageSlideIn 0.3s ease forwards;
}
  
.chat-message.bot {
    flex-direction: row;
}
  
.chat-message.user {
    flex-direction: row-reverse;
}
  
.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
  
.chat-avatar.user {
    background: var(--secondary);
}
  
.message-content {
    background: var(--gray-100);
    padding: 1rem;
    border-radius: 15px;
    max-width: 70%;
    position: relative;
}
  
.chat-message.user .message-content {
    background: var(--primary);
    color: white;
}
  
.chat-input-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
  
.typing-indicator {
    display: flex;
    gap: 0.3rem;
    padding: 0.5rem;
    opacity: 0.7;
}
  
.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text);
    border-radius: 50%;
    animation: typingBounce 1s infinite;
}
  
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.chat-options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}
  
.chat-option {
    background: var(--card-bg);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 0.8rem 1rem;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}
  
.chat-option:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.chat-option:active {
    transform: translateY(0);
}
  
/* ===== HOBBY CARDS ===== */
.hobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
  
.hobby-card {
    background: var(--card-bg);
    border: 3px solid var(--text);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
    perspective: 1000px;
    cursor: pointer;
    color: var(--text);
    transform-style: preserve-3d;
}
  
.hobby-card:nth-child(2n) {
    transform: rotate(3deg);
}
  
.hobby-card:nth-child(3n) {
    transform: rotate(5deg);
}
  
.hobby-card:nth-child(3n+1) {
    transform: rotate(-3deg);
}
  
.hobby-card:nth-child(3n+2) {
    transform: rotate(2deg);
}
  
.hobby-card:hover {
    transform: translateY(-15px) rotate(0deg) scale(1.05);
    box-shadow: 
      0 15px 30px rgba(0,0,0,0.1),
      0 0 0 5px var(--primary),
      0 0 0 10px var(--secondary),
      0 0 0 15px var(--accent1);
    animation: card-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
  
.hobby-icon {
    font-size: 3rem;
    animation: bounce 2s infinite;
}
  
/* Sticker effects */
.hobby-card::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 24px;
    transform: rotate(15deg);
}
  
.hobby-card:nth-child(2n)::after {
    content: '⭐';
}
  
.hobby-card:nth-child(3n)::after {
    content: '💫';
}
  
.hobby-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      135deg,
      rgba(255,255,255,0.4) 0%,
      rgba(255,255,255,0) 50%,
      rgba(255,255,255,0.4) 100%
    );
    border-radius: 15px;
    z-index: 1;
}
  
/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}
  
.contact-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 3px solid var(--text);
    transform: rotate(-1deg);
}
  
.contact-card h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Permanent Marker', cursive;
}
  
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}
  
.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
}
  
.contact-method:hover {
    transform: translateX(10px);
    background: var(--primary);
    color: white;
}

.contact-icon {
    font-size: 1.5rem;
}
  
.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
}
  
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
  
.social-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: var(--card-bg);
    border: 2px solid var(--text);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
}
  
.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
  
.social-link img {
    width: 20px;
    height: 20px;
}
  
/* Contact Form */
.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius);
    border: 3px solid var(--text);
    transform: rotate(1deg);
}
  
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}
  
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    transition: all 0.3s ease;
}
  
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}
  
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
  
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}
  
.btn-icon {
    transition: transform 0.3s ease;
}
  
.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}
  
/* ===== FOOTER ===== */
.footer {
    padding: 2rem 0;
    overflow: hidden;
    background: var(--card-bg);
}
  
.footer-content {
    text-align: center;
}
  
.footer-text {
    font-size: 1.1rem;
}
  
.emoji-bounce {
    display: inline-block;
    animation: emojiBounce 1s ease infinite;
}
  
/* ===== DECORATIVE ELEMENTS ===== */
.hidden {
    display: none;
}
  
.sticker-decoration {
    position: fixed;
    pointer-events: none;
    z-index: -1;
    animation: float 3s ease-in-out infinite;
    font-size: 24px;
    opacity: 0.7;
    filter: hue-rotate(0deg);
}
  
/* Rainbow animation for light mode */
[data-theme="light"] .sticker-decoration {
    animation: float 3s ease-in-out infinite, rainbow 4s linear infinite;
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}
  
.sticker-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
  
  /* ===== ANIMATIONS ===== */
@keyframes rainbowMove {
    0% {
      background-position: 
        0% 50%,
        0 0,
        7px 7px,
        0 0,
        0 0,
        0 0;
    }
    50% {
      background-position: 
        100% 50%,
        7px 7px,
        0 0,
        25px 25px,
        -25px -25px,
        100px 100px;
    }
    100% {
      background-position: 
        0% 50%,
        15px 15px,
        7px 7px,
        50px 50px,
        -50px -50px,
        200px 200px;
    }
}

@keyframes backgroundShift {
    0%, 100% { 
      transform: scale(1) rotate(0deg);
    }
    50% { 
      transform: scale(1.1) rotate(2deg);
    }
}

@keyframes sparkle {
    0%, 100% { 
      transform: scale(1) rotate(0deg);
      opacity: 1;
    }
    50% { 
      transform: scale(1.2) rotate(15deg);
      opacity: 0.7;
    }
}

@keyframes rainbow-border {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

@keyframes title-bounce {
    0%, 100% { transform: scale(1.1) rotate(2deg); }
    50% { transform: scale(1.15) rotate(-2deg); }
}

@keyframes messageSlideIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}

@keyframes card-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1.05); }
}

@keyframes emojiBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes gridMove {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 0 0, 50px 50px, 50px 50px; }
}

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

@keyframes spaceShift {
    0%, 100% { 
        background-position: 0 0, 40px 60px, 130px 270px, 80px 170px;
    }
    50% { 
        background-position: 0 0, 50px 70px, 140px 280px, 90px 180px;
    }
}

@keyframes starTwinkle {
    0%, 100% { 
        opacity: 0.9;
        background-size: 100% 100%, 200px 200px, 400px 400px, 300px 300px;
    }
    50% { 
        opacity: 0.7;
        background-size: 100% 100%, 200px 200px, 400px 400px, 300px 300px;
    }
}

@keyframes nebulaFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.8;
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    /* Header & Navigation */
    .hamburger {
      display: block !important;
      z-index: 101;
    }
    
    .hamburger.active .hamburger-line:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
      opacity: 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-list {
      position: fixed;
      top: 0;
      right: -100%;
      width: 70%;
      height: 100vh;
      background: var(--card-bg);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      padding: 2rem;
      box-shadow: -5px 0 15px rgba(0,0,0,0.1);
      transition: right 0.3s ease;
      z-index: 100;
    }
    
    .nav-list.active {
      right: 0;
    }
    
    .nav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 99;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    
    .nav-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    
    /* Layout adjustments */
    .about-content {
      grid-template-columns: 1fr;
    }
    
    .profile-image-container {
      height: 500px;
    }
    
    .chat-wrapper {
      height: 600px;
      max-height: 600px;
    }
    
    .contact-content {
      grid-template-columns: 1fr;
      gap: 2rem;
      max-width: 100%;
      padding: 0 1rem;
    }
    
    .section {
      padding: 3rem 0;
    }
    
    /* Contact section adjustments */
    .contact-card, 
    .contact-form {
      width: 100%;
      transform: none;
      margin: 0;
      box-sizing: border-box;
      padding: 1.5rem;
    }
    
    .contact-methods {
      flex-direction: column;
      gap: 1rem;
      width: 100%;
    }
    
    .contact-method {
      width: 100%;
      box-sizing: border-box;
    }
    
    .social-links {
      flex-direction: column;
      width: 100%;
    }
    
    .social-link {
      width: 100%;
      margin-bottom: 0.5rem;
    }
    
    .form-group {
      margin-bottom: 1rem;
      width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
      width: 100%;
      box-sizing: border-box;
    }
    
    .submit-btn {
      width: 100%;
      padding: 0.8rem;
    }
    
    .container {
      padding: 0 1rem;
      width: 100%;
      box-sizing: border-box;
    }
    
    .section-title {
      font-size: 2rem;
      padding: 0.8rem 1.5rem;
      max-width: 90%;
      margin-left: auto;
      margin-right: auto;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .contact-card {
      padding: 1rem;
    }
    
    .contact-method {
      padding: 0.8rem;
    }
    
    .contact-icon {
      font-size: 1.2rem;
    }
    
    .contact-details h4 {
      font-size: 0.9rem;
    }
    
    .contact-details span {
      font-size: 0.8rem;
    }
    
    .form-group label {
      font-size: 0.9rem;
    }
    
    .section-title {
      font-size: 1.5rem;
      padding: 0.5rem 1rem;
      max-width: 85%;
    }
}

/* Add subtle space effect to cards */
.hobby-card, .contact-card, .contact-form, .chat-wrapper {
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background-image: 
        radial-gradient(circle at 100% 100%, transparent 0%, var(--card-bg) 70%),
        linear-gradient(to bottom, var(--card-bg), var(--card-bg));
}
