/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #ff3333;
    --dark-red: #cc0000;
    --blood-red: #8b0000;
    --bg-dark: #0a0000;
    --bg-darker: #050000;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --text-dark-gray: #999999;
    --border-red: #ff3333;
    --glow-red: rgba(255, 51, 51, 0.6);
    --card-bg: rgba(20, 0, 0, 0.8);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Teko', sans-serif;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #1a0000 100%);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-red);
    z-index: 1000;
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 2px;
    text-shadow: 0 0 20px var(--glow-red);
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
    text-shadow: 0 0 10px var(--glow-red);
}

.icon {
    font-size: 1rem;
}

/* Section Styles */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.content-container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Home Section */
.home-section {
    position: relative;
    background: radial-gradient(circle at center, rgba(139, 0, 0, 0.2) 0%, var(--bg-darker) 70%);
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, var(--primary-red), transparent),
        radial-gradient(2px 2px at 60% 70%, var(--primary-red), transparent),
        radial-gradient(1px 1px at 50% 50%, var(--primary-red), transparent),
        radial-gradient(1px 1px at 80% 10%, var(--primary-red), transparent);
    background-size: 200% 200%;
    animation: float 20s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%; }
    50% { background-position: 100% 100%, 0% 0%, 80% 80%, 20% 80%; }
}

.main-title {
    font-size: 8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    line-height: 1;
}

.glow-text {
    color: var(--primary-red);
    text-shadow: 
        0 0 10px var(--glow-red),
        0 0 20px var(--glow-red),
        0 0 40px var(--glow-red),
        0 0 80px var(--glow-red);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        text-shadow: 
            0 0 10px var(--glow-red),
            0 0 20px var(--glow-red),
            0 0 40px var(--glow-red);
    }
    50% { 
        text-shadow: 
            0 0 20px var(--glow-red),
            0 0 40px var(--glow-red),
            0 0 60px var(--glow-red),
            0 0 100px var(--glow-red);
    }
}

.subtitle {
    font-size: 2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    letter-spacing: 2px;
    font-weight: 400;
}

.button-group {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1.2rem 3rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--text-light);
    box-shadow: 0 0 20px var(--glow-red);
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--glow-red);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--text-light);
    transform: scale(1.05);
}

.discord-icon {
    font-size: 1.2rem;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-down:hover {
    background: var(--primary-red);
    color: var(--text-light);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Titles */
.section-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-red);
    letter-spacing: 3px;
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Join Section */
.join-section {
    background: radial-gradient(ellipse at top, rgba(139, 0, 0, 0.15) 0%, transparent 60%);
}

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

.join-card {
    background: var(--card-bg);
    border: 2px solid var(--border-red);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.join-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--glow-red);
    border-color: var(--primary-red);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.join-card h3 {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: 600;
}

.join-card p {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.server-name {
    background: rgba(255, 51, 51, 0.2);
    border: 1px solid var(--primary-red);
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-red);
    margin: 1rem 0;
}

.connection-info {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-red);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.info-line {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin: 0.5rem 0;
}

.highlight {
    color: var(--primary-red);
    font-weight: 600;
}

.small-text {
    font-size: 1rem;
    color: var(--text-dark-gray);
}

.expect-list {
    list-style: none;
    text-align: left;
    font-size: 1.2rem;
    line-height: 2;
}

.expect-list li {
    color: var(--text-gray);
}

/* Donations Section */
.donations-section {
    background: radial-gradient(circle at center, rgba(139, 0, 0, 0.1) 0%, transparent 70%);
}

.donation-highlight {
    background: var(--card-bg);
    border: 2px solid var(--border-red);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    backdrop-filter: blur(10px);
}

.star-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.donation-highlight h3 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.donation-highlight p {
    font-size: 1.4rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.tier-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tier-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    border: 2px solid;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
}

.tier-btn.silver {
    background: transparent;
    border-color: #c0c0c0;
    color: #c0c0c0;
}

.tier-btn.silver:hover {
    background: #c0c0c0;
    color: #000;
}

.tier-btn.gold {
    background: transparent;
    border-color: #ffd700;
    color: #ffd700;
}

.tier-btn.gold:hover {
    background: #ffd700;
    color: #000;
}

.tier-btn.platinum {
    background: transparent;
    border-color: #e5e4e2;
    color: #e5e4e2;
}

.tier-btn.platinum:hover {
    background: #e5e4e2;
    color: #000;
}

.supporter-info {
    background: rgba(139, 0, 0, 0.2);
    border-left: 4px solid var(--primary-red);
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
    border-radius: 8px;
}

.badge {
    font-size: 2rem;
    margin-right: 1rem;
}

.supporter-info p {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.support-cta {
    margin-top: 3rem;
}

.support-cta h3 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.support-cta p {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    background: radial-gradient(ellipse at bottom, rgba(139, 0, 0, 0.15) 0%, transparent 60%);
}

.staff-header {
    font-size: 3rem;
    color: var(--primary-red);
    margin: 3rem 0 2rem;
    font-weight: 600;
}

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

.staff-card {
    background: var(--card-bg);
    border: 2px solid var(--border-red);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.staff-card.featured {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--glow-red);
}

.staff-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.staff-role {
    font-size: 1.1rem;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.staff-card h4 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.staff-card p {
    color: var(--text-gray);
    font-size: 1.2rem;
    line-height: 1.6;
}

.staff-desc {
    margin-top: 1rem;
}

/* Contact Section */
.contact-section {
    background: radial-gradient(circle at top, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
}

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

.contact-card {
    background: var(--card-bg);
    border: 2px solid var(--border-red);
    border-radius: 15px;
    padding: 3rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--glow-red);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 2.2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.contact-card p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    color: var(--primary-red);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--primary-red);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary-red);
    color: var(--text-light);
}

/* Community Section */
.community-section {
    background: radial-gradient(ellipse at center, rgba(139, 0, 0, 0.15) 0%, transparent 60%);
}

.demo-badge {
    background: var(--primary-red);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 600;
}

.community-form {
    max-width: 600px;
    margin: 3rem auto;
    background: var(--card-bg);
    border: 2px solid var(--border-red);
    border-radius: 15px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 2rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-red);
    border-radius: 8px;
    color: var(--text-light);
    font-family: 'Teko', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 10px var(--glow-red);
}

.form-input::placeholder {
    color: var(--text-dark-gray);
}

.demo-text {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-dark-gray);
}

/* Media Section */
.media-section {
    background: radial-gradient(circle at bottom, rgba(139, 0, 0, 0.1) 0%, transparent 60%);
}

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

.media-card {
    background: var(--card-bg);
    border: 2px solid var(--border-red);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.media-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--glow-red);
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.play-icon {
    font-size: 4rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.media-card:hover .play-icon {
    transform: scale(1.2);
}

.video-placeholder p {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Video Container for Embedded YouTube Videos */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

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

.media-card p {
    padding: 1rem;
    font-size: 1.3rem;
    color: var(--text-gray);
}

/* Clickable Video Cards */
.media-card.video-clickable {
    cursor: pointer;
}

.media-card.video-clickable:hover {
    border-color: var(--primary-red);
    box-shadow: 0 10px 50px var(--glow-red);
}

.video-active {
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.2) 0%, rgba(139, 0, 0, 0.4) 100%);
}

.video-active .play-icon {
    font-size: 5rem;
    animation: pulse-play 2s ease-in-out infinite;
}

@keyframes pulse-play {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.media-card.video-clickable .small-text {
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Thumbnail with Image */
.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.media-card.video-clickable:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.media-card.video-clickable:hover .play-overlay {
    background: rgba(139, 0, 0, 0.5);
}

.play-overlay .play-icon {
    font-size: 5rem;
    color: var(--primary-red);
    text-shadow: 0 0 20px var(--glow-red);
    animation: pulse-play 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.8));
}

.video-info {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
}

.video-info p {
    margin: 0.3rem 0;
    font-size: 1.4rem;
    color: var(--text-light);
}

.video-info .small-text {
    font-size: 1rem;
}

/* Footer */
.footer {
    background: rgba(5, 0, 0, 0.95);
    border-top: 2px solid var(--border-red);
    padding: 2rem;
    text-align: center;
}

.footer-content p {
    color: var(--text-gray);
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.footer-content a {
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-content a:hover {
    color: var(--text-light);
    text-shadow: 0 0 10px var(--glow-red);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        position: fixed;
        top: 70px;
        right: -100%;
        background: rgba(10, 0, 0, 0.98);
        width: 100%;
        padding: 2rem;
        transition: right 0.3s ease;
    }

    .main-title {
        font-size: 4rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .join-grid,
    .staff-grid,
    .contact-grid,
    .media-grid {
        grid-template-columns: 1fr;
    }

    .tier-buttons {
        flex-direction: column;
    }

    .tier-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .section {
        padding: 6rem 1rem 2rem;
    }
}
