.teams-discovery-page {
    padding: 2rem;
    min-height: 100vh;
}

/* Header Section */
.teams-discovery-header {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 35, 58, 0.95), rgba(17, 24, 39, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 72px rgba(10, 14, 25, 0.5), 0 0 0 1px rgba(255, 159, 28, 0.1);
    overflow: hidden;
}

.teams-discovery-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 159, 28, 0.08), transparent 55%),
        radial-gradient(circle at bottom right, rgba(46, 196, 182, 0.08), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.teams-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.teams-header-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.title-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.2), rgba(46, 196, 182, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 159, 28, 0.3);
    box-shadow: 0 8px 24px rgba(255, 159, 28, 0.15);
}

.title-icon-wrapper i {
    font-size: 1.75rem;
    color: var(--accent-primary);
    filter: drop-shadow(0 2px 4px rgba(255, 159, 28, 0.3));
}

.teams-page-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    background: linear-gradient(135deg, #f8fafc 0%, rgba(255, 159, 28, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.teams-page-subtitle {
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.7);
    margin: 0.5rem 0 0 0;
}

/* Controls Section */
.teams-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.teams-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
}

.teams-search-icon {
    position: absolute;
    left: 1rem;
    color: rgba(248, 250, 252, 0.6);
    z-index: 2;
    pointer-events: none;
}

.teams-search-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 3rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #f8fafc;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.teams-search-input::placeholder {
    color: rgba(248, 250, 252, 0.5);
}

.teams-search-input:focus {
    outline: none;
    border-color: rgba(255, 159, 28, 0.5);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.12);
}

.teams-search-clear {
    position: absolute;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(248, 250, 252, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.teams-search-clear:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    transform: scale(1.1);
}

.teams-filter-wrapper {
    position: relative;
    min-width: 220px;
}

.teams-filter-icon {
    position: absolute;
    left: 1rem;
    color: rgba(248, 250, 252, 0.6);
    z-index: 2;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
}

.teams-filter-select {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #f8fafc;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f8fafc' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
}

.teams-filter-select:focus {
    outline: none;
    border-color: rgba(255, 159, 28, 0.5);
    background-color: rgba(255, 255, 255, 0.13);
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.12);
}

.teams-filter-select option {
    background: #1e293b;
    color: #f8fafc;
}

/* Grid Wrapper */
.teams-grid-wrapper {
    width: 100%;
    padding: 0;
}

.teams-discovery-page .teams-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin: 0 !important;
}

@media (min-width: 1400px) {
    .teams-discovery-page .teams-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.5rem !important;
    }
}

/* Loading State */
.teams-loading-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.loading-spinner-modern {
    width: 64px;
    height: 64px;
}

.spinner-ring {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 159, 28, 0.2);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: rgba(248, 250, 252, 0.7);
    font-size: 1rem;
    margin: 0;
}

/* Empty State */
.teams-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.empty-icon-wrapper {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.15), rgba(46, 196, 182, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 159, 28, 0.2);
}

.empty-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--accent-primary);
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f8fafc;
    margin: 0 0 0.5rem 0;
}

.empty-message {
    color: rgba(248, 250, 252, 0.7);
    font-size: 1rem;
    margin: 0;
}

/* Error State */
.teams-error-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.error-icon-wrapper {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 159, 28, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.error-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--ow-loss-color);
}

.error-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f8fafc;
    margin: 0 0 0.5rem 0;
}

.error-message {
    color: rgba(248, 250, 252, 0.7);
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
}

.teams-retry-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.2), rgba(46, 196, 182, 0.2));
    border: 1px solid rgba(255, 159, 28, 0.3);
    border-radius: 12px;
    color: var(--accent-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.teams-retry-btn:hover {
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.3), rgba(46, 196, 182, 0.3));
    border-color: rgba(255, 159, 28, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 159, 28, 0.2);
}

/* Modern Team Card - Portfolio Style */
.team-card-modern {
    position: relative !important;
    border-radius: 16px !important;
    padding: 1.25rem !important;
    color: #f8fafc !important;
    background: rgba(26, 34, 46, 0.35) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 280px !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Cards with banners have slightly more opacity */
.team-card-modern.has-banner {
    background: rgba(26, 34, 46, 0.5) !important;
}

.team-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    background: rgba(26, 34, 46, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.team-card-modern.has-banner:hover {
    background: rgba(26, 34, 46, 0.65) !important;
}

.team-card-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    filter: blur(2px);
    z-index: 0;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Card Content */
.team-card-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card Header */
.team-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.team-card-logo-wrapper {
    position: relative;
    flex-shrink: 0;
}

.team-card-logo-initials {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-secondary), #2ec4b6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(46, 196, 182, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.team-card-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.team-card-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-modern:hover .team-card-logo-initials,
.team-card-modern:hover .team-card-logo-img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(46, 196, 182, 0.4);
}

.team-status-icon {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    border: 1.5px solid rgba(17, 24, 39, 0.95);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.team-status-public {
    background: rgba(46, 196, 182, 0.2);
    color: var(--accent-secondary);
}

.team-status-private {
    background: rgba(148, 163, 184, 0.3);
    color: rgba(148, 163, 184, 0.9);
}

.team-card-title-section {
    flex: 1;
    min-width: 0;
}

.team-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.team-card-tag {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 159, 28, 0.9);
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Team Info - Portfolio Section Style */
.team-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex: 1;
}

.team-info-item {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.team-info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.68);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-info-label i {
    color: var(--accent-primary);
    font-size: 0.7rem;
}

.team-info-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f8fafc;
}

/* Action Bar - Portfolio Style */
.team-card-action-bar {
    margin-top: auto;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.team-card-action-bar:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 159, 28, 0.3);
}

.action-bar-icon {
    color: #f8fafc;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Pagination Styles */
.teams-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.teams-pagination-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #f8fafc;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.teams-pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 159, 28, 0.5);
    transform: translateY(-2px);
}

.teams-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.teams-pagination-btn.active {
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.2), rgba(46, 196, 182, 0.2));
    border-color: rgba(255, 159, 28, 0.5);
    color: var(--accent-primary);
}

.teams-pagination-info {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.9rem;
    margin: 0 1rem;
}

/* Responsive Design */
@media (max-width: 1400px) and (min-width: 992px) {
    .teams-discovery-page .teams-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.25rem !important;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .teams-discovery-page .teams-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.25rem !important;
    }

    .teams-discovery-page .team-card-modern {
        min-height: 260px !important;
    }
}

.team-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-primary);
}

.team-card-banner {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.team-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.team-card-content {
    padding: 1.5rem;
    position: relative;
}

.team-card-logo {
    position: absolute;
    top: -30px;
    left: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.team-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-info {
    margin-top: 2rem;
}

.team-card-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-card-tag {
    display: inline-block;
    background: rgba(var(--accent-primary-rgb), 0.2);
    color: var(--accent-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.team-card-actions {
    text-align: right;
}

/* Empty Teams State */
.empty-teams-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-primary);
}

.empty-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

.empty-teams-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.empty-teams-state p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.empty-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Team Actions */
.team-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Solo Features Grid */
.solo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.solo-feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.solo-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-primary);
    background: var(--card-hover-bg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.solo-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.solo-feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Animations */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(-100vw);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-100vw);
    }
}

@keyframes fadeInGradient {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .landing-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .landing-content {
        padding: 1rem;
    }

    .landing-title {
        font-size: 2rem;
    }

    .landing-subtitle {
        font-size: 1rem;
    }

    .teams-grid {
        grid-template-columns: 1fr;
    }

    .solo-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .team-actions {
        flex-direction: column;
    }

    .empty-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .landing-title {
        font-size: 1.5rem;
    }

    .landing-logo {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .solo-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================================
   NEW LANDING PAGE REDESIGN STYLES
   =================================================================== */

/* Welcome Header - Matching Website Style */
.landing-header-new {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--gradient-accent);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.landing-header-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-primary-rgb), 0.1), transparent);
    animation: shimmer 3s infinite;
}

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

    100% {
        left: 100%;
    }
}

.landing-title-new {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.landing-title-new span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Top Action Buttons */
.landing-top-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem;
}

/* Single button styling */
.landing-top-actions .btn {
    min-width: 280px;
}

.landing-create-btn,
.landing-join-btn {
    min-width: 200px;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.landing-create-btn {
    background: var(--gradient-button);
    border: none;
    color: var(--text-on-accent);
}

.landing-create-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--accent-primary-rgb), 0.4);
    color: var(--text-on-accent);
}

.landing-join-btn {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-on-accent);
}

.landing-join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--accent-secondary-rgb), 0.4);
    color: var(--text-on-accent);
}

/* Main Cards Grid */
.landing-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
    padding: 0;
    max-width: 100%;
}

/* Feature Cards - Matching Website Style */
.landing-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.landing-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.landing-feature-card:hover::before {
    opacity: 1;
}

.landing-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(var(--accent-primary-rgb), 0.5);
}

.card-icon-wrapper {
    flex-shrink: 0;
    z-index: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.landing-feature-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, rgba(var(--ow-draw-color-rgb), 1) 0%, rgba(var(--ow-draw-color-rgb), 0.8) 100%);
}

.bg-gradient-blue {
    background: var(--gradient-primary);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 1) 0%, rgba(var(--accent-primary-rgb), 0.8) 100%);
}

.bg-gradient-green {
    background: linear-gradient(135deg, rgba(var(--ow-win-color-rgb), 1) 0%, rgba(var(--ow-win-color-rgb), 0.8) 100%);
}

.bg-gradient-cyan {
    background: linear-gradient(135deg, rgba(var(--accent-secondary-rgb), 1) 0%, rgba(var(--accent-secondary-rgb), 0.8) 100%);
}

.card-content-wrapper {
    flex: 1;
    z-index: 1;
}

.landing-feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.landing-feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.card-arrow {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    z-index: 1;
}

.landing-feature-card:hover .card-arrow {
    color: var(--accent-primary);
    transform: translateX(5px);
}

/* Team Selector Panel - Matching Website Style */
.team-selector-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    border-top: 2px solid rgba(var(--accent-primary-rgb), 0.5);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: 70vh;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.panel-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.btn-close-panel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-panel:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.panel-body {
    padding: 1.5rem 2rem;
    overflow-y: auto;
    max-height: calc(70vh - 100px);
}

/* Teams List - Scrollable with Limits */
.teams-list-scrollable {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 1rem;
}

/* Custom Scrollbar - Matching Website Style */
.teams-list-scrollable::-webkit-scrollbar {
    width: 8px;
}

.teams-list-scrollable::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.teams-list-scrollable::-webkit-scrollbar-thumb {
    background: rgba(var(--accent-primary-rgb), 0.5);
    border-radius: 4px;
}

.teams-list-scrollable::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--accent-primary-rgb), 0.7);
}

/* Team Item - Matching Website Style */
.team-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(var(--accent-primary-rgb), 0.5);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.15);
}

.team-item-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.team-item-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-item-info {
    flex: 1;
    min-width: 0;
}

.team-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-item-tag {
    display: inline-block;
    background: rgba(var(--accent-primary-rgb), 0.2);
    color: var(--accent-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-item-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-item-arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.team-item:hover .team-item-arrow {
    color: var(--accent-primary);
    transform: translateX(5px);
}

/* Empty Teams Message - Matching Website Style */
.empty-teams-message {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
}

/* Slide Animations */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Responsive Design for New Landing Page */
@media (max-width: 1200px) {
    .landing-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .teams-list-scrollable {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

    }
}

/* Team Detail Modal */
.team-detail-modal-content {
    background: #1a222e;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.team-detail-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.team-detail-modal-body {
    padding: 1.5rem;
}

.team-detail-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.team-detail-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #f8fafc;
}

.team-detail-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 159, 28, 0.2);
    color: var(--accent-primary);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.team-detail-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5rem;
}

.team-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.team-detail-info-item {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1rem;
}

.team-detail-info-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.team-detail-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #f8fafc;
}

.team-detail-description {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}