* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #9b59b6;
    --secondary-color: #8e44ad;
    --accent-color: #c39bd3;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --text-muted: #95a5a6;
    --bg-color: #fff;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #fff0f5 0%, #f0e6ff 100%);
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-gradient);
    min-height: 100vh;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.logo {
    font-size: 2rem;
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(5deg); }
    50% { transform: scale(1) rotate(0deg); }
    75% { transform: scale(1.1) rotate(-5deg); }
}

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    background: rgba(155, 89, 182, 0.1);
}

.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

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

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

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

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.1);
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    padding: 0.25rem;
    width: 250px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--primary-color);
}

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

.notification-btn, .message-btn {
    background: var(--bg-light);
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.notification-btn:hover, .message-btn:hover {
    background: rgba(155, 89, 182, 0.1);
    color: var(--primary-color);
}

.notification-badge, .message-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.3);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Main Content */
main {
    margin-top: 80px;
    padding: 0 5%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 3rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.8), rgba(142, 68, 173, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.join-btn, .explore-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.join-btn {
    background: white;
    color: var(--primary-color);
}

.explore-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.join-btn:hover, .explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 800px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Trending Section */
.trending-section {
    margin: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.trending-tabs {
    display: flex;
    gap: 1rem;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.trending-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.trending-topics {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.topic-item:hover {
    background: var(--bg-light);
}

.topic-item.hot {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(230, 126, 34, 0.1));
}

.topic-rank {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.topic-info {
    flex: 1;
}

.topic-info h4 {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.topic-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.topic-trend {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.live-feed {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: fit-content;
}

.live-feed h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.feed-item:hover {
    background: var(--bg-light);
}

.feed-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.feed-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feed-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feed-user {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.feed-action {
    color: var(--text-color);
    font-size: 0.9rem;
}

.feed-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Forums Section */
.forums-section {
    margin: 4rem 0;
}

.forums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.forum-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.forum-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.forum-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0e6ff 100%);
    border: 2px solid var(--primary-color);
}

.forum-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.forum-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.forum-info {
    flex: 1;
}

.forum-info h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.forum-info p {
    color: var(--text-light);
    line-height: 1.5;
}

.forum-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.forum-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

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

.stat-group .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-group .stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.forum-recent {
    margin-bottom: 1.5rem;
}

.forum-recent h5 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.recent-topics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.topic-preview {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.topic-preview:hover {
    background: rgba(155, 89, 182, 0.05);
}

.topic-title {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.topic-author {
    color: var(--text-light);
    font-size: 0.85rem;
}

.enter-forum-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.enter-forum-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Gallery Section */
.gallery-section {
    margin: 4rem 0;
}

.gallery-filters {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.artwork-container {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.gallery-item.featured .artwork-container {
    aspect-ratio: 16/9;
}

.artwork-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .artwork-overlay {
    opacity: 1;
}

.gallery-item:hover .artwork-container img {
    transform: scale(1.1);
}

.artwork-info {
    color: white;
}

.artwork-info h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.artwork-info p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.artwork-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.artwork-actions {
    display: flex;
    gap: 0.5rem;
    align-self: flex-end;
}

.action-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.artwork-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Cosplay Section */
.cosplay-section {
    margin: 4rem 0;
}

.cosplay-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.featured-cosplay {
    grid-row: span 2;
}

.cosplay-image {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.featured-cosplay .cosplay-image {
    aspect-ratio: 2/3;
}

.cosplay-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.cosplay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cosplay-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.cosplay-image:hover .cosplay-overlay {
    transform: translateY(0);
}

.cosplay-image:hover img {
    transform: scale(1.1);
}

.cosplay-info h4, .cosplay-info h5 {
    margin-bottom: 0.5rem;
}

.cosplay-info p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.cosplay-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.view-cosplay-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.view-cosplay-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.cosplay-actions {
    display: flex;
    gap: 0.5rem;
}

.cosplay-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.cosplay-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cosplay-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cosplay-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Events Section */
.events-section {
    margin: 4rem 0;
}

.events-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.event-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.event-card.featured {
    grid-column: span 2;
}

.event-banner {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-content {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    min-width: 80px;
    text-align: center;
}

.month {
    font-size: 0.9rem;
    font-weight: 600;
}

.day {
    font-size: 1.8rem;
    font-weight: 700;
}

.event-info {
    flex: 1;
}

.event-info h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.event-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.event-meta span {
    background: var(--bg-light);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.event-progress {
    margin-bottom: 1rem;
}

.progress-bar {
    background: var(--bg-light);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    height: 100%;
    transition: var(--transition);
}

.progress-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.participate-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.participate-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.events-grid .event-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.events-grid .event-date {
    min-width: 60px;
    padding: 0.75rem;
}

.events-grid .month {
    font-size: 0.8rem;
}

.events-grid .day {
    font-size: 1.5rem;
}

/* Live Section */
.live-section {
    margin: 4rem 0;
}

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

.live-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.live-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.live-card.featured {
    grid-column: span 2;
}

.live-preview {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.live-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.live-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.live-status {
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.live-viewers {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.watch-live-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
}

.live-card:hover .watch-live-btn {
    opacity: 1;
}

.live-card:hover .live-preview img {
    transform: scale(1.1);
}

.watch-live-btn:hover {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.live-info {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.streamer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.streamer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-details {
    flex: 1;
}

.live-details h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.live-details h5 {
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.live-details p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.live-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.live-tags .tag {
    background: var(--bg-light);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Community Features */
.community-features {
    margin: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* More Link */
.more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.more-link:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 1rem;
    color: #bdc3c7;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: #bdc3c7;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary-color);
    background: rgba(155, 89, 182, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-download {
    margin-top: 1rem;
}

.app-download h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.download-buttons {
    display: flex;
    gap: 0.5rem;
}

.download-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.download-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-info p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.footer-stats {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .trending-content {
        grid-template-columns: 1fr;
    }
    
    .cosplay-showcase {
        grid-template-columns: 1fr;
    }
    
    .events-container {
        grid-template-columns: 1fr;
    }
    
    .live-card.featured {
        grid-column: span 1;
    }
    
    .forum-card.featured {
        grid-column: span 1;
    }
    
    .gallery-item.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .user-menu {
        order: -1;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .community-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .section-header h3 {
        font-size: 2rem;
    }
    
    .trending-tabs, .gallery-filters {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .forums-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cosplay-grid {
        grid-template-columns: 1fr;
    }
    
    .live-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0 3%;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .community-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .forum-card {
        padding: 1.5rem;
    }
    
    .event-content {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        align-self: center;
    }
    
    .live-info {
        flex-direction: column;
        text-align: center;
    }
    
    .streamer-avatar {
        align-self: center;
    }
}