@import url('https://fonts.googleapis.com/css2?family=Fredoka+One:wght@400&family=Inter:wght@400;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #ff69b4 0%, #9b59b6 25%, #3498db 50%, #f1c40f 75%, #e74c3c 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Particle container */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.3s ease;
}

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

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    will-change: transform;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    pointer-events: none;
}

.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '💫';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 2em;
    animation: bounce 2s infinite;
}

.header::after {
    content: '✨';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2em;
    animation: bounce 2s infinite 0.5s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.header h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2em;
    font-style: italic;
    opacity: 0.9;
}

.content {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    transition: all 0.3s ease;
    align-items: stretch;
}

.section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: all 0.3s ease;
    min-height: 280px;
    will-change: transform;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
}

.section:hover {
    transform: translateY(-5px);
}

.section.full-width {
    grid-column: 1 / -1;
}

.section.about {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
}

.section.values {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.section.hobbies {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.section.quirks {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #2c3e50;
}

.section.stats {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.section.basic-info {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.section.looking-for {
    background: linear-gradient(135deg, #e91e63, #ad1457);
    color: white;
}

.section h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section h2 .emoji {
    font-size: 1.2em;
}

.section-content {
    line-height: 1.6;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Quote under About section */
.quote {
    font-size: 1.05em;
    line-height: 1.6;
    opacity: 0.95;
    margin-top: 16px;
}

/* Looking For Section */
.looking-for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

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

.looking-for-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.looking-for-title {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Fredoka One', cursive;
}

.looking-for-desc {
    font-size: 0.95em;
    line-height: 1.5;
    opacity: 0.9;
}

.looking-for-note {
    margin-top: 25px;
    font-size: 1.05em;
    text-align: center;
    font-style: italic;
    opacity: 0.9;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    border-left: 4px solid rgba(255,255,255,0.3);
}

.list-item {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.stat-item {
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-label {
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.2em;
    font-weight: 700;
}

.contact-section {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '📧';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 2em;
    animation: pulse 2s infinite;
}

.contact-section::after {
    content: '💌';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2em;
    animation: pulse 2s infinite 1s;
}

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

.email-address {
    font-size: 1.3em;
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    padding: 15px 25px;
    border-radius: 50px;
    margin: 10px 0;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.email-address:hover {
    transform: scale(1.05);
    background: rgba(255,255,255,0.3);
}

.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
}

.floating-icon {
    position: absolute;
    font-size: 1.5em;
    animation: float 3s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
}

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

.icon-1 { top: 10px; right: 10px; animation-delay: 0s; }
.icon-2 { bottom: 10px; left: 10px; animation-delay: 1s; }
.icon-3 { top: 50%; right: 10px; animation-delay: 2s; }

.typing-indicator {
    display: inline-block;
    margin-left: 5px;
}

.typing-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    margin: 0 2px;
    animation: typing 1.4s infinite ease-in-out;
}

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

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.heart-button {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    margin: 10px 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,105,180,0.3);
}

.heart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,105,180,0.4);
}

.heart-button:active {
    transform: translateY(0);
}

.now-playing.full-width {
    grid-column: 1 / -1;
}

/* Emoji Reactions */
.emoji-react .emoji {
    transition: transform 0.18s cubic-bezier(.68,-0.55,.27,1.55);
}

.emoji-react.bounce .emoji {
    transform: scale(1.4) rotate(-10deg);
}

.emoji-react:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Visualizer */
#visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    height: 40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

#visualizer .bar {
    width: 8px;
    border-radius: 4px;
    animation: dance 1s ease-in-out infinite;
}

#visualizer .bar:nth-child(1) { background: #ff6b6b; animation-delay: 0s; }
#visualizer .bar:nth-child(2) { background: #4ecdc4; animation-delay: 0.2s; }
#visualizer .bar:nth-child(3) { background: #45b7d1; animation-delay: 0.4s; }
#visualizer .bar:nth-child(4) { background: #f39c12; animation-delay: 0.6s; }
#visualizer .bar:nth-child(5) { background: #e74c3c; animation-delay: 0.8s; }
#visualizer .bar:nth-child(6) { background: #9b59b6; animation-delay: 1s; }

@keyframes dance {
    0%, 100% { height: 15px; }
    50% { height: 35px; }
}

/* Time-based Themes */
body.morning {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 25%, #fecfef 50%, #ffecd2 75%, #fcb69f 100%);
}

body.afternoon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 25%, #ffecd2 50%, #fcb69f 75%, #ff9a9e 100%);
}

body.evening {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
}

body.night {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #8e44ad 50%, #9b59b6 75%, #3498db 100%);
}

/* Animated SVG Icons - keeping these since they're in the current HTML */
.animated-icon {
    margin-right: 10px;
    color: currentColor;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.animated-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Tablet breakpoint for smoother transition */
@media (max-width: 900px) {
    .content {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        margin: 0;
        border-radius: 15px;
        max-width: 100%;
    }
    
    .content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
        transition: all 0.3s ease;
    }
    
    .header {
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 1.8em;
        margin-bottom: 8px;
    }
    
    .header p {
        font-size: 1em;
    }
    
    .header::before,
    .header::after {
        font-size: 1.5em;
        top: 8px;
    }
    
    .header::before {
        left: 10px;
    }
    
    .header::after {
        right: 10px;
    }
    
    .section {
        padding: 15px;
        border-radius: 12px;
        min-height: 180px;
        transition: all 0.3s ease;
    }
    
    .section h2 {
        font-size: 1.4em;
        margin-bottom: 12px;
    }
    
    .section h2 .emoji {
        font-size: 1em;
    }
    
    .section-content {
        font-size: 0.95em;
        line-height: 1.5;
    }
    
    .list-item {
        margin: 6px 0;
        padding-left: 18px;
        font-size: 0.9em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-label {
        font-size: 0.9em;
    }
    
    .stat-value {
        font-size: 1.1em;
    }
    
    .contact-section {
        padding: 20px 15px;
    }
    
    .contact-section h2 {
        font-size: 1.5em;
        margin-bottom: 12px;
    }
    
    .contact-section::before,
    .contact-section::after {
        font-size: 1.5em;
        top: 12px;
    }
    
    .contact-section::before {
        left: 10px;
    }
    
    .contact-section::after {
        right: 10px;
    }
    
    .email-address {
        font-size: 1.1em;
        padding: 12px 20px;
        word-break: break-all;
    }
    
    .heart-button {
        font-size: 1em;
        padding: 10px 20px;
        margin: 8px 3px;
        border-radius: 20px;
    }
    
    .footer {
        padding: 15px;
        font-size: 1em;
    }
    
    .floating-icon {
        font-size: 1.2em;
    }
    
    .looking-for-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 15px 0;
    }
    
    .looking-for-item {
        padding: 15px;
    }
    
    .looking-for-title {
        font-size: 1em;
        margin-bottom: 6px;
    }
    
    .looking-for-desc {
        font-size: 0.9em;
    }
    
    .looking-for-note {
        margin-top: 20px;
        font-size: 0.95em;
        padding: 12px;
    }
    
    .now-playing {
        margin: 20px 0 16px 0;
        padding: 20px 16px 16px 16px;
    }
    
    .now-playing h2 {
        font-size: 1.1em;
        margin-bottom: 0.5em;
    }
    
    #visualizer {
        height: 28px;
        margin-bottom: 12px;
    }
    
    #visualizer .bar {
        width: 6px;
        height: 12px;
    }
    
    #quizBox {
        max-width: 340px;
        margin: 40px auto 0 auto;
        padding: 24px 20px 18px 20px;
    }
    
    #quizBox h2 {
        font-size: 1.3em;
        margin-bottom: 14px;
    }
    
    #quizQuestion {
        font-size: 1em;
    }
    
    #quizOptions label {
        font-size: 0.9em;
        margin-bottom: 8px;
    }
    
    #nextQuizBtn {
        font-size: 0.9em;
        padding: 8px 20px;
    }
    
    #quizResult {
        font-size: 0.9em;
    }
    
    #closeQuizBtn {
        font-size: 1.2em;
        top: 12px;
        right: 12px;
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
    
    #emojiReactions {
        position: fixed;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 1000;
        pointer-events: auto;
    }
    
    #emojiReactions .emoji-react {
        width: 50px;
        height: 50px;
        font-size: 0.8em;
    }
    
    .quiz-btn-wrapper {
        margin: 20px 0 12px 0;
    }
    
    .heart-button {
        font-size: 0.95em;
        padding: 8px 16px;
    }
    
    .email-address {
        font-size: 1em;
        padding: 10px 18px;
    }
    
    #openQuizBtn {
        font-size: 1em;
        padding: 12px 24px;
    }
    
    #nextQuizBtn {
        font-size: 0.9em;
        padding: 8px 20px;
    }
    
    #closeQuizBtn {
        font-size: 1.2em;
    }
    
    #quizOptions input[type="radio"] {
        transform: scale(1.2);
        margin-right: 8px;
    }
    
    #quizOptions label {
        font-size: 0.9em;
        line-height: 1.4;
    }
    
    #quizOptions label:hover {
        background: rgba(255,105,180,0.1);
    }
    
    input, button, select, textarea {
        font-size: 16px;
    }
    
    iframe {
        min-height: 120px;
        height: 120px;
    }
} 