/* Server Detail Page - Modern Design */

.server-detail-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Banner */
.server-hero {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.server-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.server-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
}

.server-hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 2;
}

.server-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.server-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.server-hero-subtitle span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.server-status-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-badge.status-online {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: #10b981;
}

.status-badge.status-upcoming {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border-color: #fbbf24;
}

.status-badge.status-legal {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: #10b981;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-action {
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-website {
    background: white;
    color: #1A1A1A;
}

.btn-website:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn-discord {
    background: #5865f2;
    color: white;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.btn-vote-hero {
    background: linear-gradient(135deg, #FF8C00, #FF6B00);
    color: white;
}

.btn-vote-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-favorite {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-favorite:hover {
    background: rgba(239, 68, 68, 0.25);
    transform: translateY(-2px);
}

.btn-favorite.active {
    background: #ef4444;
    color: white;
}

/* Launch Section - Tab yerine */
.server-launch-section {
    background: linear-gradient(135deg, #282828 0%, #1A1A1A 100%);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.server-launch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 140, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 107, 0, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.server-launch-section > * {
    position: relative;
    z-index: 1;
}

.launch-countdown-wrapper {
    text-align: center;
}

.launch-title {
    font-size: 2rem;
    font-weight: 700;
    color: #FF8C00;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-shadow: 2px 2px 8px rgba(245, 158, 11, 0.6), 0 0 20px rgba(245, 158, 11, 0.3);
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    padding: 1rem;
    border-radius: 8px;
}

.launch-title i {
    font-size: 2.25rem;
    color: #FF8C00;
    filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.6));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.countdown-timer-detail {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.countdown-timer-detail .countdown-item {
    text-align: center;
    min-width: 80px;
}

.countdown-timer-detail .countdown-value {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.15));
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 3px solid rgba(245, 158, 11, 0.6);
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 10px rgba(245, 158, 11, 0.6);
    min-width: 100px;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.countdown-timer-detail .countdown-value:hover {
    transform: scale(1.05);
    border-color: rgba(245, 158, 11, 0.8);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.countdown-timer-detail .countdown-unit {
    display: block;
    font-size: 1rem;
    color: #cbd5e1;
    font-weight: 700;
    text-transform: uppercase;
}

.launch-opened {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: #cbd5e1;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    border-radius: 12px;
    border: 3px solid rgba(16, 185, 129, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.launch-opened i {
    font-size: 2.5rem;
    color: #10b981;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}

.launch-opened strong {
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Tab Navigation */
.server-tabs {
    background: #282828;
    border-radius: 12px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    border: 1px solid #3A3A3A;
}

.tab-item {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: white;
}

.tab-item.active {
    background: #FF8C00;
    color: white;
}

/* Content Layout */
.server-content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Main Content */
.server-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-section {
    background: #282828;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #3A3A3A;
}

.section-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: #FF8C00;
}

.section-content {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1rem;
}

.section-content p {
    margin-bottom: 1rem;
}

/* Sidebar */
.server-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: #282828;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #3A3A3A;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-title i {
    color: #FF8C00;
}

/* Server Info Widget */
.server-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #3A3A3A;
}

.server-info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #94a3b8;
    font-size: 0.9375rem;
    font-weight: 500;
}

.info-value {
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
}

.info-value.status-online {
    color: #10b981;
}

.info-value.status-offline {
    color: #ef4444;
}

/* Vote Widget */
.vote-widget {
    text-align: center;
}

.vote-count {
    font-size: 3rem;
    font-weight: 700;
    color: #FF8C00;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.vote-count i {
    color: #FF8C00;
}

.btn-vote-large {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    text-align: center;
    display: block;
    background: linear-gradient(135deg, #FF8C00, #FF6B00);
    color: white;
    transition: all 0.3s ease;
}

.btn-vote-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.vote-info {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

/* Server Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: rgba(99, 102, 241, 0.05);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.feature-label {
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.feature-value {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .server-content-layout {
        grid-template-columns: 1fr;
    }
    
    .server-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .server-hero {
        height: 300px;
    }

    .server-hero-content {
        padding: 1.5rem;
    }

    .server-hero-title {
        font-size: 2rem;
    }

    .server-hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-hero-action {
        width: 100%;
    }

    .server-launch-section {
        padding: 2rem 1.5rem;
    }

    .launch-title {
        font-size: 1.375rem;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .launch-title i {
        font-size: 1.75rem;
    }

    .countdown-timer-detail {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .countdown-timer-detail .countdown-item {
        min-width: 70px;
        flex: 1;
    }

    .countdown-timer-detail .countdown-value {
        font-size: 2.25rem;
        padding: 0.875rem;
        min-width: 80px;
    }

    .countdown-timer-detail .countdown-unit {
        font-size: 0.875rem;
    }

    .launch-opened {
        font-size: 1.25rem;
        padding: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .launch-opened i {
        font-size: 2rem;
    }

    .server-tabs {
        flex-direction: column;
    }

    .tab-item {
        text-align: center;
    }

    .content-section {
        padding: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .server-hero {
        height: 250px;
    }

    .server-hero-title {
        font-size: 1.75rem;
    }

    .server-launch-section {
        padding: 1.75rem 1rem;
    }

    .launch-title {
        font-size: 1.125rem;
        padding: 0.5rem;
    }

    .launch-title i {
        font-size: 1.5rem;
    }

    .countdown-timer-detail {
        gap: 0.5rem;
    }

    .countdown-timer-detail .countdown-item {
        min-width: 60px;
    }

    .countdown-timer-detail .countdown-value {
        font-size: 1.75rem;
        padding: 0.625rem;
        min-width: 70px;
    }

    .countdown-timer-detail .countdown-unit {
        font-size: 0.75rem;
    }

    .launch-opened {
        font-size: 1.125rem;
        padding: 1.25rem;
        flex-direction: column;
    }

    .launch-opened i {
        font-size: 1.75rem;
    }

    .content-section {
        padding: 1.25rem;
    }

    .section-title {
        font-size: 1.125rem;
    }

    .vote-count {
        font-size: 2.5rem;
    }
}

