/* Team Racket Color Palette */
:root {
    --rocket-red: #C0322F;
    --charcoal-black: #1A1A1A;
    --ivory-cream: #F4EBDD;
    --sun-yellow: #F3C500;
}

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

body {
    font-family: 'Courier New', monospace;
    background-color: var(--ivory-cream);
    color: var(--charcoal-black);
    line-height: 1.6;
    font-size: 16px;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(26, 26, 26, 0.05) 40px,
            rgba(26, 26, 26, 0.05) 80px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 40px,
            rgba(26, 26, 26, 0.05) 40px,
            rgba(26, 26, 26, 0.05) 80px
        );
    position: relative;
}

/* Font Awesome Background Pattern */
.fa-bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    transform: rotate(-15deg);
    transform-origin: center;
}

.fa-bg-pattern::before,
.fa-bg-pattern::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 60px,
            rgba(26, 26, 26, 0.08) 60px,
            rgba(26, 26, 26, 0.08) 64px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(26, 26, 26, 0.08) 80px,
            rgba(26, 26, 26, 0.08) 84px
        );
}

.fa-bg-pattern .fa-bg-icon {
    position: absolute;
    color: rgba(26, 26, 26, 0.08);
    font-size: 24px;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands";
    font-weight: 900;
}

.fa-bg-pattern .fa-bg-icon:nth-child(4n+1) { content: "\f025"; } /* headphones */
.fa-bg-pattern .fa-bg-icon:nth-child(4n+2) { content: "\f206"; } /* bicycle */
.fa-bg-pattern .fa-bg-icon:nth-child(4n+3) { content: "\f1e2"; } /* bomb */
.fa-bg-pattern .fa-bg-icon:nth-child(4n+4) { content: "\f1b8"; } /* recycle */

/* Typography */
h1, h2, h3 {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-family: 'Alfa Slab One', cursive;
    font-size: 2.5em;
    color: var(--rocket-red);
    text-shadow: 2px 2px 0px var(--charcoal-black);
    font-weight: normal;
}

h2 {
    font-size: 1.8em;
    color: var(--charcoal-black);
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--rocket-red);
    padding-bottom: 0.5rem;
}

#hero h2 {
    color: var(--sun-yellow);
    border-bottom: 3px solid var(--sun-yellow);
}

h3 {
    font-size: 1.2em;
    color: var(--rocket-red);
    margin-bottom: 0.5rem;
}

/* Header */
header {
    background-color: var(--charcoal-black);
    color: var(--ivory-cream);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 5px solid var(--rocket-red);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-container {
    margin-bottom: 1rem;
}

.logo {
    max-height: 80px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

.tagline {
    font-size: 1.1em;
    margin-top: 0.5rem;
    color: var(--sun-yellow);
    font-style: italic;
}

/* Navigation */
nav {
    background-color: var(--rocket-red);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav li {
    margin: 0 1rem;
}

nav a {
    color: var(--ivory-cream);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: var(--ivory-cream);
    color: var(--rocket-red);
    border-color: var(--charcoal-black);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    margin: 3rem 0;
    padding: 2rem;
    border: 2px solid var(--charcoal-black);
    background-color: var(--ivory-cream);
    position: relative;
}

section::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background-color: var(--rocket-red);
    z-index: -1;
}

/* Hero Section */
#hero {
    background-color: var(--charcoal-black);
    color: var(--ivory-cream);
    text-align: center;
    padding: 4rem 2rem;
}

#hero::before {
    background-color: var(--sun-yellow);
}

#hero h2 {
    font-size: 2.2em;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    margin-bottom: 2rem;
}

.hero-cat {
    max-height: 150px;
    width: auto;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.7));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Hero Discord Section */
.hero-discord {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: rgba(248, 35, 77, 0.1);
    border: 2px solid var(--rocket-red);
    border-radius: 8px;
}

.discord-cta {
    color: var(--sun-yellow);
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.btn-primary {
    background-color: var(--rocket-red);
    color: var(--ivory-cream);
    border-color: var(--ivory-cream);
}

.btn-primary:hover {
    background-color: var(--ivory-cream);
    color: var(--rocket-red);
    border-color: var(--rocket-red);
}

.btn-secondary {
    background-color: transparent;
    color: var(--sun-yellow);
    border-color: var(--sun-yellow);
}

.btn-secondary:hover {
    background-color: var(--sun-yellow);
    color: var(--charcoal-black);
}

.btn-discord {
    background-color: #5865F2;
    color: white;
    border-color: #5865F2;
    margin: 1rem 0;
    font-size: 1.1em;
    padding: 1.2rem 2.5rem;
}

.btn-discord:hover {
    background-color: #4752C4;
    border-color: #4752C4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

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

.manifesto-item {
    background-color: var(--charcoal-black);
    color: var(--ivory-cream);
    padding: 1.5rem;
    border: 2px solid var(--rocket-red);
    position: relative;
}

.manifesto-item::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background-color: var(--rocket-red);
    z-index: -1;
}

.manifesto-item h3 {
    color: var(--sun-yellow);
    margin-bottom: 1rem;
}

/* Events Section */
.events-content {
    text-align: center;
}

.event-placeholder {
    background-color: var(--charcoal-black);
    color: var(--ivory-cream);
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid var(--rocket-red);
}

.event-placeholder h3 {
    color: var(--sun-yellow);
    font-size: 1.5em;
    margin-bottom: 1rem;
}

/* Artists Section */
.artists-content {
    text-align: center;
}

.artist-feature {
    margin: 3rem 0;
}

.artist-card {
    background-color: var(--charcoal-black);
    color: var(--ivory-cream);
    padding: 2.5rem;
    margin: 2rem 0;
    border: 2px solid var(--rocket-red);
    text-align: left;
    position: relative;
}

.artist-card::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background-color: var(--rocket-red);
    z-index: -1;
}

.artist-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--rocket-red);
    padding-bottom: 1rem;
}

.artist-logo {
    flex-shrink: 0;
}

.artist-logo-img {
    max-height: 80px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.8));
}

.artist-info {
    flex: 1;
}

.artist-header h3 {
    color: var(--sun-yellow);
    font-size: 1.8em;
    margin-bottom: 0.5rem;
}

.artist-role {
    color: var(--ivory-cream);
    font-size: 1.1em;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.artist-bio p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05em;
}

.artist-bio p:last-child {
    margin-bottom: 0;
}

.artist-roster {
    background-color: var(--rocket-red);
    color: var(--ivory-cream);
    padding: 2rem;
    margin: 3rem 0;
    border: 2px solid var(--charcoal-black);
    text-align: center;
}

.artist-roster h3 {
    color: var(--sun-yellow);
    font-size: 1.5em;
    margin-bottom: 1rem;
}

.artist-roster p {
    margin-bottom: 1rem;
    font-size: 1.05em;
}

.roster-cta {
    font-weight: bold;
    color: var(--sun-yellow) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Music and Community Grids */
.music-grid, .community-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.music-item, .community-item {
    background-color: var(--rocket-red);
    color: var(--ivory-cream);
    padding: 1.5rem;
    border: 2px solid var(--charcoal-black);
}

.music-item h3, .community-item h3 {
    color: var(--sun-yellow);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-content {
    text-align: center;
}

.contact-info {
    background-color: var(--charcoal-black);
    color: var(--ivory-cream);
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid var(--rocket-red);
}

.discord-section {
    text-align: center;
}

.discord-section h3 {
    color: var(--sun-yellow);
    font-size: 1.5em;
    margin-bottom: 1rem;
}

.discord-section p {
    margin-bottom: 1.5rem;
}

.discord-note {
    font-size: 0.9em;
    color: var(--sun-yellow);
    font-style: italic;
    margin-top: 1rem !important;
}

/* Footer */
footer {
    background-color: var(--charcoal-black);
    color: var(--ivory-cream);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 5px solid var(--rocket-red);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-content p:last-child {
    color: var(--sun-yellow);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav li {
        margin: 0.5rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    section {
        padding: 1rem;
    }
    
    .manifesto-grid {
        grid-template-columns: 1fr;
    }
    
    .artist-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .artist-logo-img {
        max-height: 60px;
    }
}

/* Glitch Effect for Headers */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

h1:hover {
    animation: glitch 0.3s ease-in-out;
}

/* Punk-style underlines */
a {
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sun-yellow);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Distorted borders */
.manifesto-item,
.event-placeholder,
.artist-card,
.artist-roster,
.music-item,
.community-item,
.contact-info {
    clip-path: polygon(0 0, 98% 0, 100% 95%, 2% 100%);
}
