/* This is where we'll add all our styling */
/* We'll build the liquid glass design here */

/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body: White background for minimalist design */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #000;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Main container: Single column layout - condensed */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 40px;
    min-height: 100vh;
}

/* Site Header - Clean white bar matching image style */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 16px 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Header Left: Memoji + Name */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-memoji {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #d771c9;
}

.header-name {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

/* Header Navigation Links - Grey icons and text */
.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
    padding: 0;
}

.nav-link:hover {
    color: #333;
}

.nav-link .nav-icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
    width: 18px;
    height: 18px;
}

.nav-link:hover .nav-icon {
    color: #333;
}

.nav-link .nav-text {
    font-size: 14px;
    font-weight: 400;
}

/* Top Section: Memoji and Profile side by side - condensed */
.top-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 32px;
}

.memoji-wrapper {
    flex-shrink: 0;
}

/* Memoji container: More condensed */
.memoji-container {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Memoji: More condensed */
.memoji {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: block;
    border: 2px solid rgba(0, 0, 0, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.memoji:hover {
    transform: scale(1.05);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Phrases orbit: Container for rotating text - more condensed */
.phrases-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240px;
    height: 240px;
    margin-left: -120px;
    margin-top: -120px;
    animation: rotateOrbit 20s linear infinite;
    transform-origin: center center;
}

/* Animation: Rotate the entire orbit container */
@keyframes rotateOrbit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Individual phrases: Containers for curved text */
.phrase {
    position: absolute;
}

/* SVG text paths for natural text flow */
.phrase-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 240px;
    height: 240px;
    overflow: visible;
}

.phrase-text {
    font-size: 16px;
    font-weight: 500;
    fill: currentColor;
}

/* ============================================
   🎨 CHANGE COLORS HERE! 🎨
   ============================================
   
   Below are the color styles for each phrase.
   Change the `color` value to any color you want!
   
   Color formats you can use:
   - Named colors: "blue", "red", "purple", etc.
   - Hex codes: "#FF5733", "#9B59B6", etc.
   - RGB: "rgb(255, 87, 51)"
   - RGBA (with transparency): "rgba(155, 89, 182, 0.8)"
*/

/* Phrase 1: "playing the odds" - Change color here! */
.phrase-1-text {
    fill: #000000;
}

/* Phrase 2: "sports fanatic" - Change color here! */
.phrase-2-text {
    fill: #2dd043;
}

/* Phrase 3: "addicted to winning" - Change color here! */
.phrase-3-text {
    fill: #ffd700;
}

/* Profile Section - Larger */
.profile-section {
    flex: 1;
    padding: 0;
}

.profile-name {
    font-size: 56px; /* Increased from 42px */
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px; /* Increased from 12px */
    line-height: 1.2;
}

.profile-bio {
    font-size: 18px; /* Increased from 15px */
    color: #666;
    margin-bottom: 32px; /* Increased from 20px */
    line-height: 1.6;
}

.profile-actions {
    display: flex;
    gap: 16px; /* Increased from 12px */
    /* Left-aligned on desktop, centered on mobile via media queries */
}

/* Profile icon buttons - Larger */
.profile-icon {
    width: 52px; /* Increased from 44px */
    height: 52px; /* Increased from 44px */
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px; /* Increased from 18px */
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-icon:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

/* Icon images inside profile icons */
.profile-icon .icon-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

/* Glass box effect for sections - condensed */
.glass-box {
    background: #f5f5f5;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Projects Section - styles inherited from .glass-box */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.dot {
    width: 6px;
    height: 6px;
    background: #666;
    border-radius: 50%;
    display: inline-block;
}

.view-all-btn {
    background: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #f9f9f9;
    border-color: #ccc;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* Ensures expanded content doesn't overflow */
}

/* Active state for mobile clicks */
.project-card.expanded {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Main project card content */
.project-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Expanded content - hidden by default */
.project-expanded {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

/* Show expanded content on hover (desktop only - devices that support hover) */
@media (hover: hover) {
    .project-card:hover .project-expanded {
        max-height: 500px; /* Adjust based on content */
        opacity: 1;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .project-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border-color: rgba(0, 0, 0, 0.15);
    }
}

/* Show expanded content when clicked (mobile) */
.project-card.expanded .project-expanded {
    max-height: 500px; /* Adjust based on content */
    opacity: 1;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.project-expanded p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.project-expanded p:last-child {
    margin-bottom: 0;
}

.project-expanded a {
    color: #1a1a1a;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.project-expanded a:hover {
    color: #666;
}

.project-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%; /* Circular shape */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden; /* Ensures image stays within circle */
    background: #f5f5f5; /* Light background in case image doesn't load */
    /* Same border and shadow as memoji */
    border: 2px solid rgba(0, 0, 0, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-icon:hover {
    transform: scale(1.05);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-logo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures logo fills the circle */
    border-radius: 50%; /* Keeps it circular */
}

/* Sports icon styling for Competitive Sports section */
.sports-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.project-info {
    flex: 1;
}

.project-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.company-name {
    color: #666;
    font-weight: 500;
}

.project-info p {
    font-size: 14px;
    color: #666;
}

.project-arrow {
    color: #999;
    font-size: 20px;
    font-weight: 300;
}

/* Products Section - styles inherited from .glass-box */

/* ==================== MOBILE RESPONSIVE STYLES ==================== */

/* Tablet and below (768px and smaller) */
@media (max-width: 768px) {
    .container {
        padding: 16px 20px;
    }
    
    /* Header: Stack navigation or make it more compact */
    .site-header {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 16px;
    }
    
    .header-nav {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    /* Top section: Stack memoji and profile vertically */
    .top-section {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    
    /* Memoji container: Slightly smaller on tablet */
    .memoji-container {
        width: 200px;
        height: 200px;
    }
    
    .memoji {
        width: 120px;
        height: 120px;
    }
    
    .phrases-orbit {
        width: 200px;
        height: 200px;
        margin-left: -100px;
        margin-top: -100px;
    }
    
    /* Phrase text: Scale with container */
    .phrase-text {
        font-size: 13px; /* Scales down from 16px for 200px container */
    }
    
    /* Profile section: Center align on mobile */
    .profile-section {
        text-align: center;
        width: 100%;
    }
    
    .profile-actions {
        justify-content: center;
        margin-top: 16px;
    }
    
    /* Project cards: Full width on mobile */
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile phones (480px and smaller) */
@media (max-width: 480px) {
    .container {
        padding: 12px 16px;
    }
    
    /* Header: Compact navigation */
    .site-header {
        padding: 12px;
        margin-bottom: 24px;
    }
    
    .header-left {
        gap: 8px;
    }
    
    .header-memoji {
        width: 28px;
        height: 28px;
    }
    
    .header-name {
        font-size: 18px;
    }
    
    .header-nav {
        gap: 12px;
        width: 100%;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 12px;
        gap: 4px;
    }
    
    .nav-link .nav-icon {
        font-size: 14px;
        width: 16px;
        height: 16px;
    }
    
    /* Hide nav text on very small screens, show only icons */
    .nav-link .nav-text {
        display: none;
    }
    
    /* Memoji: Smaller on mobile */
    .memoji-container {
        width: 180px;
        height: 180px;
    }
    
    .memoji {
        width: 100px;
        height: 100px;
    }
    
    .phrases-orbit {
        width: 180px;
        height: 180px;
        margin-left: -90px;
        margin-top: -90px;
    }
    
    /* Phrase text: Scale with container */
    .phrase-text {
        font-size: 12px; /* Scales down from 16px for 180px container */
    }
    
    /* Profile section: Smaller fonts */
    .profile-name {
        font-size: 28px;
    }
    
    .profile-bio {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .profile-actions {
        justify-content: center;
        gap: 12px;
        margin-top: 12px;
    }
    
    .profile-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    /* Section headers: Smaller */
    .section-title h2 {
        font-size: 20px;
    }
    
    /* Project cards: Compact */
    .project-info h3 {
        font-size: 16px;
    }
    
    .project-info p {
        font-size: 13px;
    }
    
    .project-logo {
        width: 50px;
        height: 50px;
    }
    
    /* Glass boxes: Less padding */
    .glass-box {
        padding: 20px;
    }
    
    /* Poker game: Stack hands vertically */
    .poker-game-area {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .poker-score {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .score-value {
        font-size: 28px;
    }
    
    .poker-card {
        width: 50px;
        height: 70px;
        font-size: 14px;
    }
}

/* Very small phones (360px and smaller) */
@media (max-width: 360px) {
    .container {
        padding: 10px 12px;
    }
    
    .memoji-container {
        width: 160px;
        height: 160px;
    }
    
    .memoji {
        width: 90px;
        height: 90px;
    }
    
    .phrases-orbit {
        width: 160px;
        height: 160px;
        margin-left: -80px;
        margin-top: -80px;
    }
    
    /* Phrase text: Scale with container */
    .phrase-text {
        font-size: 11px; /* Scales down from 16px for 160px container */
    }
    
    .profile-name {
        font-size: 24px;
    }
    
    .profile-bio {
        font-size: 13px;
    }
    
    .profile-actions {
        gap: 10px;
    }
    
    .profile-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

