:root {
    --primary-color: #7c2afd;
    --primary-glow: rgba(124, 42, 253, 0.6);
    --secondary-color: #42abf8;
    --secondary-glow: rgba(66, 171, 248, 0.6);
    --accent-color: #ff3e3e;
    --accent-glow: rgba(255, 62, 62, 0.6);
    --background-color: #0a0a0f;
    --background-gradient: linear-gradient(135deg, #0a0a0f 0%, #13132a 100%);
    --text-color: #e0e0e0;
    --text-glow: rgba(224, 224, 224, 0.2);
    --dark-text: #222;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: var(--background-gradient);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Stars background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    overflow: hidden;
}

.stars:before, .stars:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, var(--secondary-color), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, white, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 120px, var(--primary-color), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 200px 80px, white, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 260px 30px, var(--secondary-color), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 350px 90px, var(--accent-color), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 400px 150px, white, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 450px 50px, var(--primary-color), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 500px 100px, white, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 550px 550px;
    animation: stars 100s linear infinite;
    transform: translateZ(0);
    filter: blur(0.5px);
}

.stars:after {
    background-size: 350px 350px;
    animation-delay: -50s;
    animation-duration: 75s;
    opacity: 0.6;
}

@keyframes stars {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-550px);
    }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px var(--secondary-color), 0 0 20px var(--secondary-glow);
    position: relative;
    display: inline-block;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.ticker {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-glow);
    position: relative;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--secondary-glow);
}

nav ul li a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 5px var(--secondary-color), 0 0 15px var(--secondary-glow);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.4), rgba(10, 10, 15, 0.9)), 
                url('https://images.unsplash.com/photo-1543722530-d2c3201371e7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1974&q=80') no-repeat center/cover;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(124, 42, 253, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
}

.hero h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 50px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: white;
    text-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-glow);
    position: relative;
    display: inline-block;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0%, 100% {
        text-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-glow);
    }
    50% {
        text-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-glow);
    }
}

.hero .subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-glow);
    opacity: 0.9;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-alt {
    background-color: transparent;
    border-color: var(--accent-color);
    color: white;
}

.cta-alt:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-glow);
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.cta-button:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-glow);
    transform: translateY(-2px);
}

.cta-button:hover::before {
    left: 100%;
}

/* About Section */
.about, .join-us {
    padding: 80px 0;
    text-align: center;
}

  .about h2, .join-us h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    color: white;
    max-width: 800px; /* or a percentage like max-width: 60% if you prefer */
    margin-left: auto;
    margin-right: auto;
  }

.about h2:after, .join-us h2:after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    margin-top: 10px;
    box-shadow: 0 0 10px var(--secondary-glow);
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px var(--secondary-glow);
    }
    to {
        box-shadow: 0 0 15px var(--secondary-glow);
    }
}

.about-content, .join-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 15px;
    box-sizing: border-box;
    width: 70%;
}

.about-content p, .join-content p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.7;
}

/* Role list styling */
.role-list {
    margin: 20px auto 30px;
    list-style-type: none;
    max-width: 80%;
}

.role-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    text-align: left;
}

.role-list li:before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 0 5px var(--secondary-glow);
    transition: transform 0.2s ease;
}

.role-list li:hover:before {
    transform: translateX(3px);
}

/* YouTube video container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    margin: 40px 0 20px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(66, 171, 248, 0.2);
    border: 1px solid rgba(66, 171, 248, 0.2);
    transition: all 0.3s ease;
}

.video-container:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 30px rgba(66, 171, 248, 0.3);
    transform: translateY(-3px);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Requirements styling */
.requirements {
    background: rgba(6, 6, 10, 0.6);
    border: 1px solid rgba(66, 171, 248, 0.3);
    border-radius: 8px;
    padding: 20px 30px;
    margin: 20px 0 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(66, 171, 248, 0.1);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.requirements:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(66, 171, 248, 0.2);
    border-color: rgba(66, 171, 248, 0.5);
}

.requirements h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-glow);
    letter-spacing: 1px;
}

.requirements ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.requirements ul li {
    margin-bottom: 8px;
}

.requirements small {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Join Section */
.join-options {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.join-option {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.join-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: translateX(-100%);
    transition: all 0.7s ease;
}

.join-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 42, 253, 0.2);
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
}

.join-option:hover::before {
    transform: translateX(0);
}

.join-option h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.join-option p {
    margin-bottom: 20px;
    font-size: 16px;
}

.discord-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #5865F2; /* Discord color */
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid transparent;
}

.discord-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(88, 101, 242, 0.8), rgba(88, 101, 242, 0));
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.discord-button:hover {
    background-color: #4752c4;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.7);
    transform: translateY(-2px);
    border-color: #7289da;
}

.discord-button:hover::before {
    transform: translateY(0);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: linear-gradient(to top, rgba(10, 10, 15, 0.8), transparent);
    backdrop-filter: blur(5px);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.3;
}

/* Responsive styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    .hero p {
        font-size: 18px;
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .about, .join-us {
        padding: 60px 15px;
    }
    
    .about h2, .join-us h2 {
      font-size: 22px;
      max-width: 75%;
      line-height: 1.3;
      margin: 0 auto 20px;
      box-sizing: border-box;
      padding: 0 15px;
    }
    
    .about-content, .join-content {
        padding: 0 10px;
    }
    
    .about-content p, .join-content p {
        font-size: 16px;
    }
    
    .role-list {
        margin-left: 10px;
    }
    
    .role-list li {
        margin-bottom: 12px;
    }
    
    .requirements {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 24px;
    }
    
    nav ul li {
        margin: 0 10px;
        font-size: 14px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero .subtitle {
        font-size: 16px;
    }
    
    .hero p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .about, .join-us {
        padding: 40px 0;
        width: 100%;
        overflow: visible;
    }
    
    .about h2, .join-us h2 {
        font-size: 22px;
        width: 100%;
        line-height: 1.3;
        margin: 0 auto 20px;
        box-sizing: border-box;
        padding: 0 15px;
    }
    
    .join-option {
        padding: 20px;
    }
    
    .about-content, .join-content {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .role-list {
        margin: 20px auto 30px;
        padding-right: 0;
        max-width: 75%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .role-list li {
        font-size: 15px;
        line-height: 1.5;
        padding-left: 20px;
        margin-bottom: 10px;
    }
    
    .video-container {
        margin: 30px 0 15px;
    }
    
    .requirements {
        padding: 15px;
    }
    
    .requirements h3 {
        font-size: 18px;
    }
    
    .requirements ul li {
        font-size: 15px;
    }
    .join-options {
      flex-direction: column;
      align-items: center;
    }
}

