/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar:hover {
    background: rgba(30, 58, 138, 0.98);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

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

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #60a5fa;
    transform: translateY(-1px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #e2e8f0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%); }
    50% { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #1e3a8a 100%); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.4;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(45deg, #fff, #e3f2fd, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
    text-shadow: 0 4px 20px rgba(255,255,255,0.3);
}

@keyframes titleGlow {
    from { 
        text-shadow: 0 4px 20px rgba(255,255,255,0.3);
        transform: translateY(0);
    }
    to { 
        text-shadow: 0 8px 30px rgba(255,255,255,0.5);
        transform: translateY(-2px);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    background: rgba(30, 58, 138, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 60px;
    padding: 1.2rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.search-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(96, 165, 250, 0.5);
}

.search-box:focus-within {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 25px 80px rgba(59, 130, 246, 0.4), 0 0 0 1px rgba(96, 165, 250, 0.7);
}

.search-icon {
    color: #60a5fa;
    margin-right: 1rem;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.search-box:focus-within .search-icon {
    color: #3b82f6;
    transform: scale(1.1);
}

#searchInput {
    border: none;
    outline: none;
    font-size: 1.2rem;
    width: 100%;
    color: #f1f5f9;
    font-weight: 500;
    background: transparent;
}

#searchInput::placeholder {
    color: #94a3b8;
    font-weight: 400;
    transition: all 0.3s ease;
}

#searchInput:focus::placeholder {
    color: #64748b;
    transform: translateY(-1px);
}

/* Categories Section */
.categories {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: titleSlide 2s ease-out;
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #2563eb);
    border-radius: 2px;
    animation: underlineGrow 1s ease-out 0.5s both;
}

@keyframes underlineGrow {
    from { width: 0; }
    to { width: 80px; }
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: rgba(30, 58, 138, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.4);
    color: #e2e8f0;
    padding: 1rem 2rem;
    border-radius: 60px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.3), transparent);
    transition: left 0.6s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    border-color: rgba(96, 165, 250, 0.8);
    color: #60a5fa;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.tab-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.6);
    animation: activeTab 0.3s ease-out;
}

@keyframes activeTab {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.1); }
    100% { transform: translateY(-2px) scale(1); }
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.website-card {
    background: rgba(30, 58, 138, 0.9);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.website-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6, #2563eb);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.website-card:hover::before {
    transform: translateX(0);
}

.website-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.6);
    background: rgba(30, 58, 138, 1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 1.8rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.website-card:hover .card-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
}

.website-card:hover .card-icon::before {
    width: 100px;
    height: 100px;
}

.card-icon i {
    z-index: 1;
    position: relative;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #f1f5f9;
    transition: all 0.3s ease;
}

.website-card:hover .card-title {
    color: #60a5fa;
    transform: translateX(5px);
}

.card-description {
    color: #cbd5e0;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.6;
}

.card-button {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.card-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.card-button:hover::before {
    left: 100%;
}

.card-button:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.5);
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    color: #f1f5f9;
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.about-content p {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

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

.about-content ul {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    border-left: 4px solid #3b82f6;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #1e3a8a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contactGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23contactGrid)" /></svg>');
    opacity: 0.6;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.2rem 2.5rem;
    border-radius: 60px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-item i {
    margin-right: 1rem;
    font-size: 1.4rem;
    z-index: 1;
}

.contact-item span,
.contact-item a {
    font-weight: 600;
    color: white;
    text-decoration: none;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #e2e8f0;
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    border-radius: 2px;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.8;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-section p:hover {
    color: #cbd5e0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::before {
    width: 100%;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #718096;
    font-size: 0.95rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
}

/* Hidden class for filtered items */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 85px;
        flex-direction: column;
        background: rgba(30, 58, 138, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
        padding: 3rem 0;
        border-radius: 0 0 20px 20px;
        border-top: 1px solid rgba(96, 165, 250, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateY(20px);
        animation: slideInNav 0.4s ease-out forwards;
    }
    
    .nav-menu.active .nav-item {
        animation-delay: calc(var(--i) * 0.1s);
    }
    
    @keyframes slideInNav {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .search-box {
        padding: 1rem 2rem;
    }
    
    .category-tabs {
        padding: 0 1rem;
        gap: 0.8rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .websites-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .website-card {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info {
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .categories {
        padding: 60px 0;
    }
    
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.website-card {
    animation: fadeIn 0.6s ease-out;
}

/* Search highlight */
.highlight {
    background-color: #fef3c7;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Focus styles for accessibility */
.nav-link:focus,
.tab-btn:focus,
.card-button:focus,
#searchInput:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero,
    .footer {
        display: none;
    }
    
    .website-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Profile Corner Styles */
.profile-corner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.profile-card {
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(96, 165, 250, 0.2);
    width: 80px;
    height: 80px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.profile-card.expanded {
    width: 320px;
    height: 380px;
}

.profile-image {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid transparent;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    padding: 3px;
    transition: all 0.3s ease;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: #10b981;
    border: 3px solid white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.profile-info {
    margin-top: 15px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.profile-card.expanded .profile-info {
    opacity: 1;
    transform: translateY(0);
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 5px 0;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-title {
    font-size: 0.95rem;
    color: #cbd5e0;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.profile-details {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
}

.profile-card.expanded .profile-details {
    opacity: 1;
    transform: translateY(0);
}

.profile-description {
    font-size: 0.85rem;
    color: #e2e8f0;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid rgba(96, 165, 250, 0.3);
    border-bottom: 1px solid rgba(96, 165, 250, 0.3);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #60a5fa;
}

.stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.profile-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.profile-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.profile-link:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.4);
}

.profile-toggle {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.profile-card.expanded .profile-toggle {
    opacity: 1;
}

.profile-toggle:hover {
    transform: translateX(-50%) scale(1.1);
}

.profile-toggle i {
    transition: transform 0.3s ease;
}

.profile-card.expanded .profile-toggle i {
    transform: rotate(180deg);
}

/* Hover effects for collapsed state */
.profile-card:not(.expanded):hover {
    transform: scale(1.05);
}

.profile-card:not(.expanded):hover .profile-image {
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Glass effect enhancement */
.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0) 100%);
    border-radius: 20px;
    pointer-events: none;
}

/* Mobile responsiveness for profile corner */
@media screen and (max-width: 768px) {
    .profile-corner {
        bottom: 15px;
        right: 15px;
    }
    
    .profile-card {
        width: 70px;
        height: 70px;
        padding: 15px;
    }
    
    .profile-card.expanded {
        width: 280px;
        height: 350px;
    }
    
    .profile-image {
        width: 50px;
        height: 50px;
    }
    
    .profile-name {
        font-size: 1.1rem;
    }
    
    .profile-title {
        font-size: 0.85rem;
    }
    
    .profile-description {
        font-size: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .profile-links {
        gap: 10px;
    }
    
    .profile-link {
        width: 32px;
        height: 32px;
    }
}

@media screen and (max-width: 480px) {
    .profile-card.expanded {
        width: 250px;
        height: 320px;
    }
}

/* Animation for initial load */
@keyframes slideInProfile {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.profile-corner {
    animation: slideInProfile 0.6s ease-out 1s backwards;
}