/* PURE CSS - NO FRAMEWORKS OR DEPENDENCIES */
/* Enhanced Modern Design with Advanced Animations */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* CSS Variables for Theme */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.2);
    
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #ffffff;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--primary-gradient);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 70%;
    animation-delay: -10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
    animation-delay: -15s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 10%;
    right: 30%;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 72, 144, 0.95);
    backdrop-filter: blur(20px);
    width: 99%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: var(--shadow-light);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.nav-brand {
    position: relative;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: var(--glass-bg);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    position: relative;
    margin-bottom: 1.5rem;
}

.title-main {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: block;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.cta-button {
    position: relative;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--accent-gradient);
    color: var(--text-light);
    box-shadow: var(--shadow-medium);
}

.cta-button.secondary {
    background: var(--glass-bg);
    color: var(--text-light);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.floating-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    box-shadow: var(--shadow-heavy);
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

/* Code Snippet */
.code-snippet {
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-md);
    overflow: hidden;
    min-width: 300px;
}

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #27ca3f; }

.code-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.code-body {
    padding: 1.5rem;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-comment { color: #6a9955; }
.code-keyword { color: #569cd6; }
.code-variable { color: #9cdcfe; }
.code-string { color: #ce9178; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* About Section */
.about-section {
    padding: 6rem 0;
}

.about-content {
    display: flex;
    justify-content: center;
}

.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    box-shadow: var(--shadow-heavy);
    text-align: center;
    max-width: 600px;
}

.about-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.highlight-link {
    color: #4facfe;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.highlight-link:hover {
    text-decoration: underline;
}

.coming-soon {
    color: #f093fb;
    font-weight: 600;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.team-member {
    animation: fadeInUp 0.8s ease both;
    transition: transform 0.3s ease;
}

.member-card {
    min-height: 300px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: all 0.3s ease;
}

.member-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: var(--glass-bg);
    position: relative;
}

.member-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.avatar-emoji {
    font-size: 1.5rem;
}

.avatar-glow {
    position: absolute;
    inset: -4px;
    background: var(--accent-gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.member-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.member-status {
    display: flex;
    align-items: center;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #27ca3f;
    position: relative;
}

.status-dot.away {
    background: #ffbd2e;
}

.status-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.member-body {
    padding: 0 2rem 1rem;
}

.member-skills {
    margin-bottom: 1rem;
}

.skills-label {
    font-weight: 600;
    color: var(--text-primary);
}

.skills-text {
    color: var(--text-secondary);
    font-style: italic;
}

.member-description {
    margin-bottom: 1rem;
}

.member-description p {
    color: var(--text-secondary);
    font-style: italic;
}

/* Special Message for huntbake */
.special-message {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.special-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.message-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.message-icon {
    font-size: 1.2rem;
}

.message-text {
    color: white;
    font-weight: 600;
    font-style: italic;
}

.member-footer {
    padding: 0 2rem 2rem;
}

.member-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.member-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.member-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.member-link.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.member-link.discord {
    background: linear-gradient(135deg, #5865f2, #4752c4);
}

.member-link.github {
    background: linear-gradient(135deg, #333, #000);
}

.link-icon {
    font-size: 1rem;
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.project-card.featured {
    background: var(--accent-gradient);
    color: white;
}

.project-card.featured .project-title,
.project-card.featured .project-description {
    color: white;
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.project-card.featured .project-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.project-status {
    padding: 0.3rem 0.8rem;
    background: #27ca3f;
    color: white;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
}

.project-status.github {
    background: #333;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding: 0 2rem;
}

.project-description {
    color: var(--text-secondary);
    padding: 0 2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.project-footer {
    padding: 0 2rem 2rem;
}

.project-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-card.featured .project-button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.project-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.project-button svg {
    width: 16px;
    height: 16px;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer a {
    color: #add8e6;
    text-decoration: none;
}

.footer a:hover {
    color: #b9ade7;
    text-dcoration: underline;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-text p {
    opacity: 0.8;
}

.footer-link {
    color: #4facfe;
    text-decoration: none;
    font-weight: 600;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .member-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .about-card,
    .member-card,
    .project-card {
        margin: 0 0.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .floating-card {
        display: none;
    }
}
