:root {
    --strikem-primary: #f97316;
    --strikem-secondary: #fb923c;
    --strikem-accent: #ea580c;
    --strikem-light: #fed7aa;
    --strikem-dark: #1a1a1a;
    --strikem-darker: #0d0d0d;
    --strikem-gray: #4a4a4a;
    --strikem-gray-light: #6a6a6a;
    --strikem-gray-dark: #2a2a2a;
}

body {
    background-color: var(--strikem-dark);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-brand img {
    height: 40px;
}

/* Navbar link spacing and styling */
.navbar-nav .nav-link {
    padding: 0.5rem 1.5rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--strikem-secondary) !important;
}

/* Ensure all nav items are vertically aligned */
.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

/* Join Server button in navbar */
.navbar-join-btn {
    background: linear-gradient(
        45deg,
        var(--strikem-primary),
        var(--strikem-secondary)
    );
    border: none;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(55, 65, 81, 0.3);
    color: white !important;
    text-decoration: none;
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.navbar-join-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(55, 65, 81, 0.4);
    color: white !important;
}

.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.hero-section .row {
    min-height: 60vh;
}

@media (min-width: 769px) {
    .hero-section .row {
        min-height: 50vh;
    }
}

/* Hero Background Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.8) 0%,
        rgba(13, 13, 13, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

@media (min-width: 992px) {
    .hero-content {
        text-align: left;
    }
}

.hero-logo {
    max-width: 150px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(55, 65, 81, 0.4));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(
        45deg,
        var(--strikem-primary),
        var(--strikem-secondary)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #9a9a9a;
    margin-bottom: 2rem;
}

.btn-strikem-primary {
    background: linear-gradient(
        45deg,
        var(--strikem-primary),
        var(--strikem-secondary)
    );
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(55, 65, 81, 0.4);
    color: #ffffff !important;
}

.btn-strikem-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(55, 65, 81, 0.5);
    color: #ffffff !important;
}

.btn-strikem-secondary {
    background: transparent;
    border: 2px solid var(--strikem-secondary);
    color: var(--strikem-secondary);
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-strikem-secondary:hover {
    background: var(--strikem-secondary);
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Custom outline button styling to match Strikem design */
.btn-outline-secondary {
    border-radius: 50px !important;
    font-weight: 600;
    padding: 10px 28px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    transform: translateY(-2px);
}

/* Hero CTA Section */
.hero-cta-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.hero-cta-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--strikem-primary),
        var(--strikem-secondary)
    );
    border-radius: 20px 20px 0 0;
}

.cta-header {
    margin-bottom: 2rem;
    text-align: left;
}

.cta-badge {
    display: inline-block;
    background: linear-gradient(
        45deg,
        var(--strikem-primary),
        var(--strikem-secondary)
    );
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-title {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.cta-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.cta-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.server-connection-display {
    margin-bottom: 2rem;
}

.connection-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.connection-code {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--strikem-gray-dark);
    border: 1px solid var(--strikem-gray);
    border-radius: 10px;
    padding: 1rem;
}

.connection-code code {
    flex: 1;
    background: none;
    color: var(--strikem-secondary);
    font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
    font-size: 1rem;
    font-weight: 600;
}

.copy-btn {
    background: var(--strikem-gray);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--strikem-gray-light);
    color: white;
    transform: scale(1.05);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--strikem-primary);
    box-shadow: 0 10px 30px rgba(55, 65, 81, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(
        45deg,
        var(--strikem-primary),
        var(--strikem-secondary)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.stats-section {
    background: rgba(74, 74, 74, 0.1);
    border-top: 1px solid rgba(74, 74, 74, 0.2);
    border-bottom: 1px solid rgba(74, 74, 74, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--strikem-primary);
}

/* Enhanced Server Status Section */
.server-status-section {
    background: linear-gradient(
        135deg,
        var(--strikem-darker) 0%,
        var(--strikem-dark) 100%
    );
    position: relative;
    overflow: hidden;
}

.server-status-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="b" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%232563eb;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%2360a5fa;stop-opacity:0"/></radialGradient></defs><circle cx="100" cy="100" r="80" fill="url(%23b)"/><circle cx="900" cy="200" r="100" fill="url(%23b)"/><circle cx="500" cy="800" r="90" fill="url(%23b)"/></svg>');
    opacity: 0.6;
    animation: float 25s ease-in-out infinite;
}

.server-status-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(74, 74, 74, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.server-status-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--strikem-primary),
        var(--strikem-secondary),
        var(--strikem-primary)
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.server-title-section {
    text-align: left;
}

.server-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.server-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.75rem;
    animation: pulse 2s infinite;
}

.server-status-dot.online {
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

.server-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.status-badge.online {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.performance {
    background: rgba(74, 74, 74, 0.2);
    color: var(--strikem-light);
    border: 1px solid rgba(74, 74, 74, 0.3);
}

.server-connection {
    text-align: right;
}

.connection-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
}

.connection-label {
    color: var(--strikem-light);
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.connection-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.connection-link code {
    color: var(--strikem-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    background: none;
    border: none;
    padding: 0;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--strikem-light);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    color: var(--strikem-secondary);
    background: rgba(255, 255, 255, 0.1);
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 74, 74, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--strikem-primary),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stat-card:hover::before {
    transform: translateX(100%);
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    position: relative;
}

.players-stat .stat-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.capacity-stat .stat-icon {
    background: rgba(74, 74, 74, 0.2);
    color: var(--strikem-secondary);
}

.uptime-stat .stat-icon {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.ping-stat .stat-icon {
    background: rgba(74, 74, 74, 0.2);
    color: #9a9a9a;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.stat-progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 6px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease;
    position: relative;
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-bar.full {
    background: linear-gradient(
        90deg,
        var(--strikem-primary),
        var(--strikem-secondary)
    );
}

.progress-bar.excellent {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.progress-bar.good {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.progress-bar:not(.full):not(.excellent):not(.good) {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.stat-detail {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.server-details-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(74, 74, 74, 0.2);
    color: var(--strikem-secondary);
    font-size: 0.9rem;
}

.detail-item div {
    flex: 1;
}

.detail-item strong {
    display: block;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.detail-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Mobile responsive design */
@media (max-width: 768px) {
    /* Hero section mobile fixes */
    .hero-section {
        padding-top: 100px !important; /* Account for fixed navbar */
        padding-bottom: 5rem; /* Increased padding to prevent overlap with scroll indicator */
        min-height: 80vh;
    }

    .hero-section .row {
        min-height: 70vh;
    }

    /* Navbar mobile fixes */
    .navbar {
        background: rgba(26, 26, 26, 0.95) !important;
        backdrop-filter: blur(10px) !important;
    }

    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0.4rem 0.6rem;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(74, 74, 74, 0.25);
    }

    .navbar-collapse {
        background: rgba(26, 26, 26, 0.98);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 6px;
        margin: 0.25rem 0;
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(74, 74, 74, 0.1);
        color: var(--strikem-secondary) !important;
    }

    /* Join Server button mobile styles */
    .navbar-join-btn {
        margin-left: 0 !important;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
        display: block;
        padding: 12px 20px;
        font-size: 1rem;
        align-items: center;
        justify-content: center;
    }

    .server-status-card {
        padding: 1.5rem;
    }

    .server-connection {
        text-align: left;
        margin-top: 1.5rem;
    }

    .stat-card {
        margin-bottom: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .connection-link {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Legacy server-info styles for backward compatibility */
.server-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.server-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--strikem-secondary);
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

.footer {
    background: var(--strikem-gray-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
}

.social-links a {
    color: #9a9a9a;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--strikem-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #9a9a9a;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.video-section {
    background: linear-gradient(
        135deg,
        var(--strikem-darker) 0%,
        var(--strikem-dark) 100%
    );
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
            circle at 30% 20%,
            rgba(74, 74, 74, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 80%,
            rgba(74, 74, 74, 0.1) 0%,
            transparent 50%
        );
    pointer-events: none;
}

.video-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(74, 74, 74, 0.3);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.video-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(74, 74, 74, 0.05) 50%,
        transparent 100%
    );
    pointer-events: none;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(74, 74, 74, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(
        45deg,
        var(--strikem-primary),
        var(--strikem-secondary)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
}

.video-subtitle {
    font-size: 1.2rem;
    color: #9a9a9a;
    text-align: center;
    margin-bottom: 3rem;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--strikem-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(74, 74, 74, 0.3);
}

.play-button-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
    box-shadow: 0 15px 40px rgba(74, 74, 74, 0.4);
}

/* Modern Video Preview Container */
.video-preview-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(74, 74, 74, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-preview-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(74, 74, 74, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.video-preview-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--strikem-primary),
        var(--strikem-secondary),
        var(--strikem-primary)
    );
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

/* Video Header */
.video-header {
    margin-bottom: 1.5rem;
    text-align: left;
}

.video-category-badge {
    display: inline-block;
    background: linear-gradient(
        45deg,
        var(--strikem-primary),
        var(--strikem-secondary)
    );
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.video-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(
        135deg,
        var(--strikem-darker) 0%,
        var(--strikem-dark) 100%
    );
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(74, 74, 74, 0.1),
        rgba(74, 74, 74, 0.1)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-thumbnail:hover .video-overlay {
    background: linear-gradient(
        45deg,
        rgba(74, 74, 74, 0.2),
        rgba(74, 74, 74, 0.2)
    );
}

/* Modern Play Button */
.play-button-modern {
    position: relative;
    z-index: 2;
}

.play-button-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--strikem-primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.play-button-circle:hover {
    transform: scale(1.1);
    background: white;
    box-shadow: 0 12px 35px rgba(74, 74, 74, 0.3);
}

.play-button-circle i {
    margin-left: 3px; /* Center the play icon better */
}

.play-button-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: ripple 2s infinite;
    z-index: 1;
}

@keyframes ripple {
    0% {
        width: 80px;
        height: 80px;
        opacity: 1;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

/* Video Badges */
.video-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.video-quality {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Video Footer */
.video-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-stats {
    display: flex;
    gap: 1rem;
}

.video-stat {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.video-stat i {
    color: var(--strikem-secondary);
    font-size: 0.8rem;
}

.btn-strikem-outline-sm {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-strikem-outline-sm:hover {
    background: rgba(74, 74, 74, 0.1);
    border-color: var(--strikem-secondary);
    color: var(--strikem-secondary);
    transform: translateY(-1px);
}

.watch-later-btn i {
    font-size: 0.75rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .video-preview-container {
        padding: 1rem;
    }

    .video-header {
        text-align: center;
        margin-bottom: 1rem;
    }

    .video-title {
        font-size: 1.2rem;
    }

    .video-thumbnail {
        height: 200px;
    }

    .play-button-circle {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .play-button-ripple {
        width: 60px;
        height: 60px;
    }

    @keyframes ripple {
        0% {
            width: 60px;
            height: 60px;
            opacity: 1;
        }
        100% {
            width: 100px;
            height: 100px;
            opacity: 0;
        }
    }

    .video-footer {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .video-stats {
        justify-content: center;
    }
}

/* Blog Card Styles */
.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--strikem-primary);
    box-shadow: 0 10px 30px rgba(74, 74, 74, 0.3);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    margin-bottom: 1rem;
}

.blog-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-excerpt {
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Server Requirements Section */
.requirements-section {
    background: linear-gradient(
        135deg,
        var(--strikem-darker) 0%,
        var(--strikem-dark) 100%
    );
    position: relative;
    overflow: hidden;
}

.requirements-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="c" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23374151;stop-opacity:0.08"/><stop offset="100%" style="stop-color:%234b5563;stop-opacity:0"/></radialGradient></defs><circle cx="150" cy="150" r="100" fill="url(%23c)"/><circle cx="850" cy="400" r="120" fill="url(%23c)"/><circle cx="400" cy="850" r="80" fill="url(%23c)"/></svg>');
    opacity: 0.6;
    animation: float 30s ease-in-out infinite;
}

.requirement-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.requirement-card:hover {
    transform: translateY(-8px);
    border-color: var(--strikem-primary);
    box-shadow: 0 15px 40px rgba(74, 74, 74, 0.3);
}

.requirement-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--strikem-primary),
        var(--strikem-secondary),
        var(--strikem-primary)
    );
    background-size: 200% 100%;
    animation: shimmer 4s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.requirement-card:hover::before {
    opacity: 1;
}

.requirement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.requirement-card:nth-child(1) .requirement-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.requirement-card:nth-child(2) .requirement-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.requirement-card:nth-child(3) .requirement-icon {
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    color: white;
}

.requirement-card:nth-child(4) .requirement-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.requirement-card:hover .requirement-icon {
    transform: scale(1.1) rotate(5deg);
}

.requirement-content {
    position: relative;
    z-index: 2;
}

.requirement-title {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.requirement-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.requirement-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}

.requirement-status i {
    font-size: 1rem;
}

.getting-started-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 3rem 2rem;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.getting-started-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--strikem-primary),
        var(--strikem-secondary),
        #10b981,
        var(--strikem-primary)
    );
    background-size: 300% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.getting-started-card h3 {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
}

.getting-started-card h3 i {
    color: var(--strikem-primary);
}

/* Gallery Section Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 74, 74, 0.4);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 74, 74, 0.8),
        rgba(42, 42, 42, 0.8)
    );
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-overlay-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.gallery-overlay-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.gallery-overlay-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
    line-height: 1.4;
}

/* Gallery Modal Styles */
.modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: white;
    font-weight: 600;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.carousel-item img {
    max-height: 70vh;
    object-fit: contain;
    background: var(--strikem-dark);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 1rem;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 80%;
}

.carousel-caption h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(74, 74, 74, 0.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

/* Gallery Responsive Design */
@media (max-width: 768px) {
    .gallery-item {
        height: 250px;
    }

    .gallery-overlay-content {
        padding: 1rem;
    }

    .gallery-overlay-content i {
        font-size: 2rem;
    }

    .gallery-overlay-content h5 {
        font-size: 1rem;
    }

    .gallery-overlay-content p {
        font-size: 0.8rem;
        display: none; /* Hide description on mobile to save space */
    }

    .carousel-caption {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .carousel-caption h5 {
        font-size: 0.9rem;
    }

    .carousel-caption p {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        height: 200px;
    }

    .modal-dialog {
        margin: 0.5rem;
    }

    .carousel-item img {
        max-height: 60vh;
    }
}
