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

body {
    background: #0d0d0d;
    color: #e0e0e0;
    font-family: 'Orbitron', sans-serif;

}

/* Hero Section (Unchanged) */
.heroSection {
    position: relative;
    height: 415px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.heroBackground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) contrast(1.1);
    z-index: -1;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.heroSection:hover .heroBackground {
    transform: scale(1.15);
}

.heroContent {
    text-align: center;
    padding: 20px;
    z-index: 1;
}

h1 {
    font-size: clamp(36px, 8vw, 64px);
    font-weight: 700;
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
    margin-bottom: 15px;
}

p {
    font-size: clamp(16px, 2.5vw, 20px);
    color: #b0b0b0;
    margin-bottom: 10px;
}

.heroButton {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #ff00ff;
    color: #ff00ff;
    text-decoration: none;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 700;
    border-radius: 5px;
    overflow: hidden;
    transition: color 0.3s, border-color 0.3s;
}

.heroButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 0, 255, 0.3), transparent 50%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.heroButton:hover {
    color: #fff;
    border-color: #00ffcc;
}

.heroButton:hover::before {
    opacity: 1;
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Ad Section (Unchanged) */
.adSection {
    max-width: 728px;
    margin: 20px auto;
    padding: 10px;
}

.adWrapper {
    position: relative;
    padding-top: calc(90 / 728 * 100%);
    border-radius: 5px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

.adImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.adWrapper:hover .adImage {
    transform: scale(1.05);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Video Section (Updated for Red Gradient) */
.videoSection {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.videoWrapperGradient {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    padding: 6px; /* Space for gradient border */
  
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    transform: translateY(10px);
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.videoWrapperGradient:hover {
    transform: translateY(0);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
}

.videoWrapperGradient iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 6px; /* Inner radius to match outer */
    background: #0d0d0d; /* Match background to avoid white edges */
}

/* Content Section (Updated Tab Menu) */
.contentSection {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 20px;
}

.tabModule {
    flex: 3;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
}

.tabMenu {
    display: flex;
    background: #111;
    position: relative;
    padding: 10px 0;
}

.tabButton {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: #b0b0b0;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: color 0.3s;
}

.tabButton:hover {
    color: #ff4d4d;
}

.tabButton.active {
    color: #ff0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.tabButton:focus {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}

.tabUnderline {
    position: absolute;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #ff4d4d);
    transition: transform 0.3s ease, width 0.3s ease;
}

.tabContent {
    padding: 30px;
}

.tabPane {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tabPane.active {
    display: block;
    opacity: 1;
}

.tabPane h2 {
    color: #ff0000; /* Updated to match red theme */
    margin-bottom: 15px;
}

.sideAd {
    flex: 1;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.sideAdImage {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

.sideAd:hover .sideAdImage {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 1024px) {
    .contentSection {
        flex-direction: column;
    }

    .tabModule {
        flex-direction: column;
    }

    .tabMenu {
        flex-direction: row;
    }

    .tabButton {
        flex: 1;
        text-align: center;
    }

    .sideAdImage {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .heroSection {
        height: 80vh;
    }

    h1 {
        font-size: clamp(28px, 6vw, 48px);
    }

    .heroButton {
        padding: 12px 24px;
        font-size: 16px;
    }

    .videoWrapperGradient iframe {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .tabButton {
        font-size: 16px;
        padding: 10px;
    }
}