/**
 * WoWozás szigete - Platform / Creator Showcase CSS
 * Magyar WoW tartalomkészítők megjelenítése
 */

/* ================================
   CONTAINER
   ================================ */
#platform-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ================================
   HEADER
   ================================ */
.platform-header {
    text-align: center;
    margin-bottom: 3rem;
}

.platform-header h1 {
    font-size: 3rem;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary, #9ca3af);
    margin: 0;
}

/* ================================
   FILTERS & SEARCH
   ================================ */
.platform-filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.platform-search-box {
    flex: 1;
    min-width: 250px;
}

.platform-search-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(30, 30, 46, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-color, #e5e7eb);
    font-size: 1rem;
    transition: all 0.3s;
}

.platform-search-input:focus {
    outline: none;
    border-color: var(--primary-color, #f59e0b);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.platform-platform-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.platform-platform-filter label {
    color: var(--text-secondary, #9ca3af);
    font-weight: 500;
    white-space: nowrap;
}

.platform-filter-select {
    padding: 0.875rem 1.25rem;
    background: rgba(30, 30, 46, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-color, #e5e7eb);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.platform-filter-select:focus {
    outline: none;
    border-color: var(--primary-color, #f59e0b);
}

/* ================================
   CREATORS GRID
   ================================ */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ================================
   CREATOR CARD
   ================================ */
.creator-card {
    background: linear-gradient(135deg, rgba(30, 30, 46, 0.8), rgba(20, 20, 36, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.creator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.creator-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.2);
}

/* Creator Header */
.creator-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.creator-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-color, #f59e0b);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.creator-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--text-color, #e5e7eb);
}

.creator-info .creator-id {
    color: var(--text-secondary, #9ca3af);
    font-size: 0.9rem;
    font-family: monospace;
}

/* Creator Description */
.creator-description {
    color: var(--text-secondary, #9ca3af);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-height: 120px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.creator-description::-webkit-scrollbar {
    width: 6px;
}

.creator-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.creator-description::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.3);
    border-radius: 3px;
}

.creator-description::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 158, 11, 0.5);
}

/* Platform Links */
.creator-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color, #e5e7eb);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.platform-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Platform Specific Colors */
.platform-link.youtube {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
}

.platform-link.youtube:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    color: #ff6b6b;
}

.platform-link.twitch {
    background: rgba(145, 70, 255, 0.1);
    border-color: rgba(145, 70, 255, 0.3);
}

.platform-link.twitch:hover {
    background: rgba(145, 70, 255, 0.2);
    border-color: #9146ff;
    color: #a78bfa;
}

.platform-link.tiktok {
    background: rgba(0, 242, 234, 0.1);
    border-color: rgba(0, 242, 234, 0.3);
}

.platform-link.tiktok:hover {
    background: rgba(0, 242, 234, 0.2);
    border-color: #00f2ea;
    color: #67e8f9;
}

.platform-link.facebook {
    background: rgba(24, 119, 242, 0.1);
    border-color: rgba(24, 119, 242, 0.3);
}

.platform-link.facebook:hover {
    background: rgba(24, 119, 242, 0.2);
    border-color: #1877f2;
    color: #60a5fa;
}

.platform-link.bluesky {
    background: rgba(18, 133, 254, 0.1);
    border-color: rgba(18, 133, 254, 0.3);
}

.platform-link.bluesky:hover {
    background: rgba(18, 133, 254, 0.2);
    border-color: #1285fe;
    color: #60a5fa;
}

/* Platform Icons */
.platform-icon {
    font-size: 1.2rem;
}

/* ================================
   LOADING, ERROR, NO RESULTS
   ================================ */
.platform-loading {
    text-align: center;
    padding: 4rem 2rem;
}

.platform-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color, #f59e0b);
    border-radius: 50%;
    animation: platform-spin 1s linear infinite;
    margin: 0 auto 1.5rem auto;
}

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

.platform-loading p {
    color: var(--text-secondary, #9ca3af);
    font-size: 1.1rem;
}

.platform-error,
.platform-no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.platform-error h3,
.platform-no-results h3 {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    color: var(--text-color, #e5e7eb);
}

.platform-error p,
.platform-no-results p {
    color: var(--text-secondary, #9ca3af);
    font-size: 1.1rem;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
    #platform-container {
        padding: 1rem;
    }

    .platform-header h1 {
        font-size: 2rem;
    }

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

    .platform-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .platform-search-box {
        min-width: 100%;
    }

    .platform-platform-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .platform-filter-select {
        width: 100%;
    }

    .platform-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .creator-header {
        flex-direction: column;
        text-align: center;
    }

    .creator-platforms {
        justify-content: center;
    }
}
