/* InfinityDraft Platform - Main Stylesheet */

/* CSS Variables - InfinityDraft Design System */
:root {
    --idraft-green-neon: #00D9FF;
    --idraft-green-primary: #0099FF;
    --idraft-green-dark: #0066CC;
    --idraft-emerald-dark: #003D66;
    --idraft-deep-background: #001122;
    --idraft-charcoal: #0A1F33;
    --idraft-white: #FFFFFF;
    --idraft-mint-white: #F0FAFF;
    --idraft-gradient-hero: linear-gradient(135deg, #00D9FF 0%, #0099FF 50%, #6B5AED 100%);
    --idraft-gradient-panel: linear-gradient(180deg, #003D66, #001122);
    --idraft-border-radius: 16px;
    --glass-background: rgba(0, 217, 255, 0.08);
    --glass-border: rgba(0, 217, 255, 0.25);
    --glass-shadow: 0 8px 32px rgba(0, 217, 255, 0.2);
    --glass-blur: blur(20px);
    --neon-green: #00D9FF;
    --neon-purple: #A855F7;
    --neon-pink: #EC4899;
    --card-gradient-purple: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(168, 85, 247, 0.05) 100%);
    --card-gradient-green: linear-gradient(135deg, rgba(0, 217, 255, 0.3) 0%, rgba(0, 153, 255, 0.1) 100%);
    --card-gradient-vibrant: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
}

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

body {
    font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--idraft-deep-background);
    color: var(--idraft-mint-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Background (Video/Image) */
.hero-three {
    position: relative;
    overflow: hidden;
}

#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

#video-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 4, 40, 0.75);
    z-index: 1;
}

#hero-video,
#hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
    min-width: 100%;
    min-height: 100%;
}

@media (min-aspect-ratio: 16/9) {
    #hero-video,
    #hero-image {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    #hero-video,
    #hero-image {
        width: auto;
        height: 100%;
    }
}

/* Ensure hero content is above video */
.hero-three .container {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

@media (max-aspect-ratio: 16/9) {
    #youtube-video {
        width: 177.78vh;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 153, 255, 0.08) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

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

/* Header & Navigation */
.header {
    background: var(--glass-background);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 0;
    box-shadow: var(--glass-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img{
    width: 130px;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--idraft-gradient-hero);
    border-radius: var(--idraft-border-radius);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(120deg, #00D9FF 0%, #0099FF 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.5));
}

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--idraft-mint-white);
    margin: 3px 0;
    border-radius: 2px;
}

.nav-close {
    display: none;
}

.nav a {
    color: var(--idraft-mint-white);
    text-decoration: none;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--idraft-green-neon);
}

/* Caret for nav dropdown labels (desktop + mobile) */
.nav .dropdown-toggle::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: bottom;
    line-height: 0px;
    border-top: 5px solid currentColor;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.username {
    color: var(--idraft-green-neon);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* Buttons */
.btn {
    padding: 12px 32px;
    border: none;
    border-radius: var(--idraft-border-radius);
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: #000428;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #2034b6, #000428);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #2034b6, #000428); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    color: var(--idraft-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.6),
        0 8px 25px rgba(0, 217, 255, 0.5);
    transform: scale(1.05) translateY(-2px);
}

.btn-secondary {
    background: rgba(10, 31, 51, 0.8);
    color: var(--idraft-green-neon);
    border: 2px solid var(--idraft-green-neon);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.2);
}

.btn-secondary:hover {
    background: var(--idraft-gradient-hero);
    color: var(--idraft-white);
    border-color: var(--neon-green);
    box-shadow: 
        0 0 25px rgba(0, 217, 255, 0.5),
        0 6px 20px rgba(0, 217, 255, 0.4);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Cards */
.card {
    background: #000428;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #2034b6, #000428);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #2034b6, #000428); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 217, 255, 0.25),
        inset 0 1px 0 rgba(0, 217, 255, 0.3),
        0 0 0 1px rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), var(--neon-purple), transparent);
    opacity: 0.8;
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 217, 255, 0.4),
        inset 0 1px 0 rgba(0, 217, 255, 0.4),
        0 0 60px rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.5);
}

.card:hover::after {
    opacity: 1;
}

.wallet-card {
    background: #000428;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #2034b6, #000428);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #2034b6, #000428); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 217, 255, 0.3),
        inset 0 1px 0 rgba(0, 217, 255, 0.3),
        0 0 0 1px rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.35);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), var(--neon-purple), transparent);
    opacity: 0.9;
}

.wallet-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.2) 0%, rgba(168, 85, 247, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.wallet-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 217, 255, 0.5),
        0 0 40px rgba(0, 217, 255, 0.4),
        inset 0 1px 0 rgba(0, 217, 255, 0.5);
    border-color: var(--neon-green);
}

.wallet-card:hover::after {
    opacity: 1;
}

.stat-card {
    text-align: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.25) 0%, rgba(168, 85, 247, 0.2) 100%);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-radius: 16px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1px solid rgba(0, 217, 255, 0.4);
    box-shadow: 
    0 8px 32px rgba(0, 217, 255, 0.35),
    inset 0 1px 0 rgba(0, 217, 255, 0.4),
    0 0 30px rgba(0, 217, 255, 0.4);
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.3) 0%, rgba(168, 85, 247, 0.2) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-icon:hover {
    transform: scale(1.15) translateY(-8px);
    box-shadow: 
        0 15px 50px rgba(0, 217, 255, 0.6),
        0 0 50px rgba(0, 217, 255, 0.5),
        inset 0 1px 0 rgba(0, 217, 255, 0.5);
    border-color: var(--neon-green);
}

.stat-icon:hover::before {
    opacity: 1;
}

.stat-label {
    color: rgba(243, 255, 248, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1rem;
    font-weight: 900;
    color: var(--idraft-green-neon);
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.4));
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--idraft-mint-white);
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--idraft-charcoal);
    border: 2px solid var(--idraft-green-dark);
    border-radius: var(--idraft-border-radius);
    color: var(--idraft-mint-white);
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--idraft-green-neon);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.5), 0 0 10px rgba(168, 85, 247, 0.3);
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--idraft-charcoal);
    border: 2px solid var(--idraft-green-dark);
    border-radius: var(--idraft-border-radius);
    color: var(--idraft-mint-white);
    font-family: 'Archivo', sans-serif;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th {
    background: rgba(0, 217, 255, 0.1);
    padding: 1rem;
    text-align: left;
    color: var(--idraft-green-neon);
    font-weight: 700;
    border-bottom: 2px solid var(--idraft-green-neon);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 64, 128, 0.2);
}

.table tr:hover {
    background: rgba(0, 64, 128, 0.1);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    min-width: 520px;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--idraft-border-radius);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid var(--idraft-green-neon);
    color: var(--idraft-green-neon);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.2);
}

.alert-error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff6b6b;
}

.alert-info {
    background: rgba(0, 197, 255, 0.1);
    border: 1px solid #00c5ff;
    color: #00c5ff;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1rem 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(120deg, #00D9FF 0%, #0099FF 30%, #A855F7 60%, #00D9FF 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: inline-block;
    animation: gradientShift 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
}

/* Gradient styling for all h1 elements */
h1, h2, h3 {
    background: linear-gradient(120deg, #00D9FF 0%, #0099FF 30%, #A855F7 60%, #00D9FF 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradientShift 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(20, 46, 127, 0.6));

}

.page-subtitle {
    color: rgba(243, 255, 248, 0.7);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--idraft-charcoal);
    border-top: 1px solid rgba(0, 64, 128, 0.3);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(243, 255, 248, 0.5);
    margin-top: auto;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    max-width: 500px;
    width: 100%;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--idraft-green-neon);
    margin-bottom: 0.5rem;
}

/* Landing Page */
.hero {
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--idraft-gradient-hero);
    opacity: 0.1;
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--idraft-green-neon);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(243, 255, 248, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .header .container {
        flex-wrap: wrap;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, #001a2f 0%, #002a40 100%);
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        padding: 60px 0 30px;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

    .nav a,
    .nav .dropdown {
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        box-sizing: border-box;
    }

    .nav .dropdown-toggle {
        padding: 0;
        border-bottom: none;
    }

    .nav .dropdown-menu {
        position: static;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        padding: 0;
        margin-top: 10px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav .dropdown.open .dropdown-menu {
        display: block;
    }

    .nav .dropdown-menu a {
        padding: 12px 25px 12px 40px;
        border-bottom: none;
    }

    /* Disable hover on mobile */
    .nav .dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav .dropdown.open:hover .dropdown-menu {
        display: block;
    }

    .nav .user-info {
        padding: 20px 25px;
        margin-top: auto;
        border-bottom: none;
    }

    .nav-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        color: #fff;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

    .nav-close:hover {
        background: rgba(0, 128, 255, 0.2);
        border-color: var(--primary);
        color: var(--primary);
    }

    .header.nav-open .nav {
        transform: translateX(0);
    }

    /* Overlay when menu is open */
    .header.nav-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 25px rgba(0, 217, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 217, 255, 0.6), 0 0 20px rgba(168, 85, 247, 0.4);
    }
}

/* Animation Classes */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-slide-up {
    animation: slideInUp 0.6s ease-out;
}

.animate-slide-down {
    animation: slideInDown 0.6s ease-out;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Staggered animations for dashboard elements */
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.wallet-card {
    animation: slideInUp 0.6s ease-out;
}

.wallet-card:nth-child(1) { animation-delay: 0.1s; }
.wallet-card:nth-child(2) { animation-delay: 0.2s; }

/* Enhanced glass effect for iOS-style design */
.ios-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.125);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Enhanced button effects */
.btn {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

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

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-success { 
    color: var(--idraft-green-neon);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}
.text-muted { color: rgba(243, 255, 248, 0.7); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

/* Additional utility classes for glass effects */
.glass-effect {
    background: var(--glass-background);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 128, 255, 0.15);
    border-color: rgba(0, 128, 255, 0.2);
}

/* Glass card variants inspired by reference image */
.glass-card-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0.08) 100%);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(168, 85, 247, 0.4),
        inset 0 1px 0 rgba(168, 85, 247, 0.3),
        0 0 0 1px rgba(168, 85, 247, 0.3);
    border: 1px solid rgba(168, 85, 247, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
    opacity: 0.9;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

.glass-card-purple::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.glass-card-purple:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(168, 85, 247, 0.6),
        0 0 40px rgba(168, 85, 247, 0.5),
        inset 0 1px 0 rgba(168, 85, 247, 0.4);
    border-color: var(--neon-purple);
}

.glass-card-purple:hover::after {
    opacity: 1;
}

.glass-card-green {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(0, 217, 255, 0.08) 100%);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 
        0 8px 32px rgba(0, 217, 255, 0.4),
        inset 0 1px 0 rgba(0, 217, 255, 0.3),
        0 0 0 1px rgba(0, 217, 255, 0.3);
    border: 1px solid rgba(0, 217, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0.9;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

.glass-card-green::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.25) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.glass-card-green:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 217, 255, 0.6),
        0 0 40px rgba(0, 217, 255, 0.5),
        inset 0 1px 0 rgba(0, 217, 255, 0.4);
    border-color: var(--neon-green);
}

.glass-card-green:hover::after {
    opacity: 1;
}

/* Light blob effect */
.light-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    pointer-events: none;
    animation: blob-float 6s ease-in-out infinite;
}

.light-blob-green {
    background: radial-gradient(circle, rgba(0, 128, 255, 0.8) 0%, transparent 70%);
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
}

.light-blob-purple {
    background: radial-gradient(circle, rgba(138, 43, 226, 0.8) 0%, transparent 70%);
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 10%;
}

/* Animated gradient card for InfinityDraft Pool */
.animated-gradient {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #c471f5, #667eea);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.animated-gradient::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #c471f5, #667eea);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    border-radius: 12px;
    z-index: -1;
}

.animated-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--idraft-deep-background);
    border-radius: 10px;
    z-index: -1;
}

.blur-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    pointer-events: none;
}

.blur-blob-blue {
    background: radial-gradient(circle, rgba(52, 149, 228, 0.8) 0%, transparent 70%);
    width: 180px;
    height: 180px;
    top: 20%;
    left: 10%;
    animation: blinkFade 3s ease-in-out infinite;
}

.blur-blob-violet {
    background: radial-gradient(circle, rgba(16, 107, 192, 0.8) 0%, transparent 70%);
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation: blinkFade 3s ease-in-out infinite 1.5s;
}

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

/* TVI Coin Price Card Styles */
.tvi-coin-price-card {
    background: linear-gradient(135deg, 
        rgba(0, 217, 255, 0.2) 0%, 
        rgba(0, 153, 255, 0.15) 25%, 
        rgba(168, 85, 247, 0.15) 75%, 
        rgba(0, 217, 255, 0.2) 100%);
    border: 1px solid rgba(0, 217, 255, 0.4);
    position: relative;
    overflow: hidden;
    animation: tviCoinPulse 4s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.3);
}

.tvi-coin-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 217, 255, 0.3), 
        rgba(168, 85, 247, 0.2),
        transparent);
    animation: tviCoinShimmer 3s ease-in-out infinite;
}

.tvi-coin-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.tvi-coin-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--idraft-green-neon), var(--idraft-green-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.3);
}

.tvi-coin-logo img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.tvi-coin-title .stat-label {
    color: var(--idraft-mint-white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tvi-coin-price-display {
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.currency-symbol {
    font-size: 24px;
    color: var(--idraft-green-neon);
    font-weight: 700;
}

.price-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--idraft-white);
    text-shadow: 0 0 20px rgba(0, 128, 255, 0.5);
    background: linear-gradient(135deg, var(--idraft-white), var(--idraft-green-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-change {
    font-size: 14px;
    color: var(--idraft-green-primary);
    font-weight: 600;
    padding: 2px 8px;
    background: rgba(0, 128, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 128, 255, 0.2);
}

.tvi-coin-value {
    font-size: 14px;
    color: var(--idraft-mint-white);
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

@keyframes tviCoinPulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 217, 255, 0.35);
    }
    50% {
        box-shadow: 0 8px 50px rgba(0, 217, 255, 0.5), 0 0 40px rgba(168, 85, 247, 0.3);
    }
}

@keyframes tviCoinShimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes blinkFade {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }
}

/* Admin TVI Price Preview Styles */
.tvi-price-preview {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(0, 128, 255, 0.1) 0%, 
        rgba(0, 102, 204, 0.05) 100%);
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: var(--idraft-border-radius);
    backdrop-filter: blur(10px);
}

.tvi-price-preview h4 {
    color: var(--idraft-green-neon);
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.tvi-price-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.tvi-price-display .currency-symbol {
    font-size: 20px;
    color: var(--idraft-green-neon);
    font-weight: 700;
}

.tvi-price-display .price-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--idraft-white);
    text-shadow: 0 0 10px rgba(0, 128, 255, 0.3);
}

.tvi-price-display .price-change {
    font-size: 12px;
    color: var(--idraft-green-primary);
    font-weight: 600;
    padding: 2px 6px;
    background: rgba(0, 128, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 128, 255, 0.2);
}

.tvi-price-preview .tvi-coin-value {
    font-size: 14px;
    color: var(--idraft-mint-white);
    opacity: 0.9;
}

/* Custom Card Styles */
.custom-card {
    background: #000428;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #2034b6, #000428);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #2034b6, #000428); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 217, 255, 0.3),
        inset 0 1px 0 rgba(0, 217, 255, 0.3),
        0 0 0 1px rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.35);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.6s ease-out;
}

.custom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), var(--neon-purple), transparent);
    opacity: 0.8;
}

.custom-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 
        0 16px 50px rgba(0, 217, 255, 0.45),
        0 0 40px rgba(0, 217, 255, 0.3),
        inset 0 1px 0 rgba(0, 217, 255, 0.4);
    border-color: rgba(0, 217, 255, 0.6);
}

.custom-card-header {
    display: flex;
    gap: 10px;
}

.custom-card-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.25) 0%, rgba(168, 85, 247, 0.2) 100%);
    border: 1px solid rgba(0, 217, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
    animation: pulse 2s infinite;
}

.custom-card-icon img {
    width: 40px;
}

.custom-card-title {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(120deg, #00D9FF 0%, #0099FF 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-transform: capitalize;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.5));
}

.custom-card-balance {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(120deg, #FFFFFF 0%, #00D9FF 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    animation: fadeIn 1s ease-out;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}

.custom-card-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-card-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.custom-card-stat:hover {
    padding-left: 4px;
    border-bottom-color: rgba(0, 128, 255, 0.3);
}

.custom-card-stat:last-child {
    border-bottom: none;
}

.custom-card-stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255);
    text-transform: capitalize;
}

.custom-card-stat-value {
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.custom-card-stat:hover .custom-card-stat-value {
    transform: scale(1.05);
}

.text-blue {
    color: #00D9FF;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.text-green {
    color: #00FF88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.text-yellow {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Grid system for custom cards */
.grid.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .grid.grid-2 {
        grid-template-columns: 1fr;
    }
    
    .custom-card {
        padding: 14px;
    }
    
    .custom-card-balance {
        font-size: 24px;
    }
    
    .custom-card-icon {
        width: 36px;
        height: 36px;
    }
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 217, 255, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Staggered animation delays */
.custom-card:nth-child(1) { animation-delay: 0.1s; }
.custom-card:nth-child(2) { animation-delay: 0.2s; }

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Team Section Styles */
.team-section {
    background: #000428;
    background: -webkit-linear-gradient(to right, #000428, #004e92);
    background: linear-gradient(to right, #000428, #004e92);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 991px) {
    .col-lg-2-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 767px) {
    .col-lg-2-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575px) {
    .col-lg-2-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.team-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, #00D9FF, #0099FF, #A855F7, #00D9FF);
    background-size: 300% 300%;
    animation: borderRotate 4s ease-in-out infinite;
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.4),
        0 0 60px rgba(168, 85, 247, 0.3);
}

.team-card:hover .team-image-wrapper {
    animation: borderRotate 2s ease-in-out infinite, pulseGlow 1.5s ease-in-out infinite;
    box-shadow: 
        0 0 50px rgba(0, 217, 255, 0.6),
        0 0 80px rgba(168, 85, 247, 0.5);
}

.team-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #000428;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.9), rgba(168, 85, 247, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-overlay i {
    font-size: 40px;
    color: white;
    animation: iconPulse 1s ease-in-out infinite;
}

.team-info {
    margin-top: 15px;
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(120deg, #00D9FF 0%, #0099FF 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Modal Styles */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.team-modal.active {
    opacity: 1;
    visibility: visible;
}

.team-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 4, 40, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.team-modal-content {
    position: relative;
    max-width: 800px;
    width: 90%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 217, 255, 0.4),
        0 0 100px rgba(168, 85, 247, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 217, 255, 0.3);
    z-index: 100000;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.4s ease-out;
}

.team-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100001;
}

.team-modal-close:hover {
    background: rgba(0, 217, 255, 0.3);
    transform: rotate(90deg);
}

.team-modal-close i {
    font-size: 24px;
    color: white;
}

.team-modal-body {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.team-modal-image-wrapper {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, #00D9FF, #0099FF, #A855F7, #00D9FF);
    background-size: 300% 300%;
    animation: borderRotate 4s ease-in-out infinite;
    box-shadow: 
        0 0 40px rgba(0, 217, 255, 0.5),
        0 0 70px rgba(168, 85, 247, 0.4);
}

.team-modal-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #000428;
}

.team-modal-details {
    flex: 1;
}

.team-modal-details h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(120deg, #00D9FF 0%, #0099FF 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-modal-role {
    font-size: 16px;
    color: var(--idraft-green-neon);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.team-modal-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), var(--neon-purple), transparent);
    margin: 20px 0;
}

.team-modal-bio {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.team-modal-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.team-skill-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    font-size: 13px;
    color: var(--idraft-green-neon);
    font-weight: 600;
    transition: all 0.3s ease;
}

.team-skill-tag:hover {
    background: rgba(0, 217, 255, 0.25);
    border-color: rgba(0, 217, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

/* Animations */
@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(0, 217, 255, 0.4),
            0 0 60px rgba(168, 85, 247, 0.3);
    }
    50% {
        box-shadow: 
            0 0 50px rgba(0, 217, 255, 0.6),
            0 0 80px rgba(168, 85, 247, 0.5);
    }
}

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

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .team-modal-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .team-modal-image-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .team-modal-content {
        padding: 30px 20px;
    }
    
    .team-modal-details h3 {
        font-size: 26px;
    }
    
    .team-modal-skills {
        justify-content: center;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    color: var(--idraft-mint-white);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.dropdown-toggle:hover {
    color: var(--idraft-green-neon);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(14, 44, 82, 0.94);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--idraft-border-radius);
    box-shadow: var(--glass-shadow);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--idraft-mint-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(0, 128, 255, 0.1);
    color: var(--idraft-green-neon);
    padding-left: 1.25rem;
}
