/* Base styles */
body {
    font-family: 'Inter', sans-serif;
}

/* Button styles */
.join-button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 500;
    transition: all 0.2s ease;
}

.join-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.search-button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: #4F46E5;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.search-button:hover {
    background-color: #F9FAFB;
    transform: translateY(-50%) translateX(-2px);
}

/* Filter buttons */
.filter-buttons {
    display: flex;
    gap: 0.5rem;
    padding: 0.25rem;
    background-color: #F3F4F6;
    border-radius: 0.75rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #6B7280;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    color: #374151;
    background-color: #E5E7EB;
}

.filter-btn.active {
    background-color: #4F46E5;
    color: white;
}

/* First Talk filter button */
.filter-btn[data-filter="first-talk"] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: linear-gradient(to right, rgba(79, 70, 229, 0.1), rgba(147, 51, 234, 0.1));
}

.filter-btn[data-filter="first-talk"]:hover {
    background: linear-gradient(to right, rgba(79, 70, 229, 0.2), rgba(147, 51, 234, 0.2));
}

.filter-btn[data-filter="first-talk"].active {
    background: linear-gradient(to right, #4F46E5, #9333EA);
    color: white;
}

/* Contact button */
.contact-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #4F46E5;
    background-color: #EEF2FF;
    transition: all 0.2s ease;
}

.contact-btn:hover {
    background-color: #4F46E5;
    color: white;
    transform: translateY(-1px);
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #F3F4F6;
    color: #4B5563;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background-color: #4F46E5;
    color: white;
    transform: translateY(-2px);
}

/* Expertise badges */
.expertise-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Software Architecture */
.expertise-badge[data-category="software-architecture"] {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

/* Microservices */
.expertise-badge[data-category="microservices"] {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
}

/* Event-Driven Design */
.expertise-badge[data-category="event-driven-design"] {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
}

/* Information Security */
.expertise-badge[data-category="information-security"] {
    background: linear-gradient(135deg, #F43F5E 0%, #BE123C 100%);
}

/* Risk Management */
.expertise-badge[data-category="risk-management"] {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}

/* Compliance */
.expertise-badge[data-category="compliance"] {
    background: linear-gradient(135deg, #EAB308 0%, #CA8A04 100%);
}

/* Mobile Game Development */
.expertise-badge[data-category="mobile-game-development"] {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
}

/* Unity 3D */
.expertise-badge[data-category="unity-3d"] {
    background: linear-gradient(135deg, #6366F1 0%, #4338CA 100%);
}

/* Game Design */
.expertise-badge[data-category="game-design"] {
    background: linear-gradient(135deg, #A855F7 0%, #7E22CE 100%);
}

/* Default badge for other skills */
.expertise-badge {
    background: linear-gradient(135deg, #64748B 0%, #475569 100%);
}

.expertise-badge:hover {
    transform: translateY(-2px);
    filter: brightness(110%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Add a subtle shine effect */
.expertise-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        225deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: inherit;
}

/* Speaker cards */
.speaker-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.speaker-card .speaker-image {
    width: 100%;
    object-fit: cover;
}

.speaker-card .speaker-rating {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #111827;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.speaker-card .speaker-rating i {
    color: #FCD34D;
}

.speaker-card .p-6 {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.speaker-card .speaker-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.375rem;
}

.speaker-card .speaker-bio {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.speaker-card .speaker-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: auto;
}

.speaker-card .expertise-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #4F46E5 0%, #3730A3 100%);
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.speaker-card .expertise-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Specific gradients for different expertise categories */
.speaker-card .expertise-badge[data-category*="artificial-intelligence"],
.speaker-card .expertise-badge[data-category*="machine-learning"] {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.speaker-card .expertise-badge[data-category*="web"],
.speaker-card .expertise-badge[data-category*="javascript"] {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
}

.speaker-card .expertise-badge[data-category*="design"],
.speaker-card .expertise-badge[data-category*="ux"] {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
}

.speaker-card .expertise-badge[data-category*="security"],
.speaker-card .expertise-badge[data-category*="cybersecurity"] {
    background: linear-gradient(135deg, #F43F5E 0%, #BE123C 100%);
}

.speaker-card .expertise-badge[data-category*="business"],
.speaker-card .expertise-badge[data-category*="marketing"] {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}

.speaker-card .expertise-badge[data-category*="data"],
.speaker-card .expertise-badge[data-category*="analytics"] {
    background: linear-gradient(135deg, #EAB308 0%, #CA8A04 100%);
}

.speaker-card .expertise-badge[data-category*="mobile"],
.speaker-card .expertise-badge[data-category*="ios"],
.speaker-card .expertise-badge[data-category*="android"] {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
}

.speaker-card .expertise-badge[data-category*="cloud"],
.speaker-card .expertise-badge[data-category*="devops"] {
    background: linear-gradient(135deg, #6366F1 0%, #4338CA 100%);
}

/* Add shine effect to badges */
.speaker-card .expertise-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        225deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: inherit;
}

.speaker-card .border-t {
    border-top: 1px solid #F3F4F6;
    padding-top: 1rem;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.speaker-card .social-icons {
    display: flex;
    gap: 0.5rem;
}

.speaker-card .social-icon {
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    transition: all 0.2s ease;
    border-radius: 0.375rem;
    background: #F9FAFB;
}

.speaker-card .social-icon:hover {
    background: #4F46E5;
    color: white;
    transform: translateY(-2px);
}

.speaker-card .contact-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4F46E5;
    background: #EEF2FF;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.speaker-card .contact-btn:hover {
    background: #4F46E5;
    color: white;
    transform: translateY(-1px);
}

/* Image loading styles */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy.loaded {
    opacity: 1;
}

.image-loading {
    position: relative;
    overflow: hidden;
}

.image-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 50%, #f0f0f0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Animations */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-buttons {
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        padding: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        white-space: nowrap;
    }

    .social-icons {
        gap: 0.5rem;
    }

    .contact-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

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

/* Past Events styles */
.speaker-past-events {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    transition: all 0.2s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.event-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.event-badge i {
    font-size: 0.75rem;
}

/* Add shine effect to event badges */
.event-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        225deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: inherit;
}

/* Year-based colors for event badges */
.event-badge[data-year="2023"] {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.event-badge[data-year="2022"] {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
}

.event-badge[data-year="2021"] {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

/* Sticky Footer styles */
html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    position: relative;
}

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

/* Footer buttons */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    transform: translateY(-2px);
}

footer .bg-white {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

footer .bg-white:hover {
    box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.15), 0 3px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Responsive footer */
@media (max-width: 768px) {
    footer .container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    footer h2 {
        font-size: 1.5rem;
    }
    
    footer p {
        font-size: 1rem;
    }
}

/* First Talk stamp animation */
@keyframes pulse {
    0% {
        transform: rotate(-12deg) scale(1);
    }
    50% {
        transform: rotate(-12deg) scale(1.05);
    }
    100% {
        transform: rotate(-12deg) scale(1);
    }
}

.speaker-card .relative > div {
    animation: pulse 2s infinite ease-in-out;
    backdrop-filter: blur(4px);
}

.speaker-card .relative > div i {
    color: #F9FAFB;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* First Talk Badge styles */
.first-talk-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.first-talk-badge .badge-content {
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.first-talk-badge i {
    font-size: 1.25rem;
}

.first-talk-badge .badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.first-talk-badge .badge-text span {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Stamp texture */
.first-talk-badge .badge-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.1'/%3E%3C/svg%3E");
    border-radius: 50%;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

/* Speaker Detail Page Styles */
.social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: white;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s;
}

.social-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#speaker-profile .event-badge {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background-color: #F3F4F6;
    border-radius: 0.5rem;
    color: #4B5563;
    font-size: 0.875rem;
}

#speaker-profile .expertise-badge {
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Profile image styles */
#speaker-profile .profile-image-container {
    position: relative;
    z-index: 3;
    transition: transform 0.2s ease-in-out;
}

#speaker-profile .profile-image {
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Enhanced social links */
.social-link {
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    opacity: 0.95;
}

/* Cover pattern background */
#speaker-profile .bg-cover {
    background-color: #f3f4f6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23e5e7eb' fill-opacity='0.6'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-position: center;
    opacity: 1;
} 