/* ===================================
   VAPORWAVE HISTORIAN STYLESHEET
   ================================ */

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

body {
    font-family: 'Courier Prime', monospace;
    background: linear-gradient(135deg, #1a0033 0%, #2d0050 25%, #1a1a3e 50%, #0d1b2a 100%);
    color: #e0e0ff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 0, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

/* Floating Geometric Shapes */
.floating-shape {
    position: fixed;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    top: 10%;
    left: 5%;
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
    filter: blur(40px);
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #ff0080, #00ff80);
    top: 60%;
    right: 10%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: float 20s ease-in-out infinite reverse;
    filter: blur(35px);
}

.shape-3 {
    width: 180px;
    height: 180px;
    background: linear-gradient(225deg, #ffff00, #ff00ff);
    bottom: 15%;
    left: 15%;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    animation: float 18s ease-in-out infinite;
    filter: blur(45px);
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: linear-gradient(180deg, #00ffff, #ff0080);
    top: 40%;
    right: 5%;
    border-radius: 50%;
    animation: float 22s ease-in-out infinite;
    filter: blur(30px);
}

.shape-5 {
    width: 160px;
    height: 160px;
    background: linear-gradient(270deg, #ffff00, #00ffff);
    top: 25%;
    left: 40%;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation: float 17s ease-in-out infinite reverse;
    filter: blur(38px);
}

.shape-6 {
    width: 140px;
    height: 140px;
    background: linear-gradient(315deg, #ff00ff, #ffff00);
    bottom: 30%;
    right: 25%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: float 19s ease-in-out infinite;
    filter: blur(42px);
}

.shape-7 {
    width: 100px;
    height: 100px;
    background: linear-gradient(90deg, #00ff80, #ff00ff);
    top: 70%;
    left: 30%;
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
    filter: blur(28px);
}

.shape-8 {
    width: 130px;
    height: 130px;
    background: linear-gradient(45deg, #ff0080, #00ffff, #ffff00);
    bottom: 50%;
    right: 40%;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    animation: float 21s ease-in-out infinite;
    filter: blur(35px);
}

.shape-9 {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    top: 15%;
    right: 30%;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    animation: float 23s ease-in-out infinite;
    filter: blur(32px);
}

.shape-10 {
    width: 95px;
    height: 95px;
    background: linear-gradient(225deg, #ffff00, #00ff80);
    top: 50%;
    left: 8%;
    border-radius: 50%;
    animation: float 26s ease-in-out infinite reverse;
    filter: blur(27px);
}

.shape-11 {
    width: 145px;
    height: 145px;
    background: linear-gradient(180deg, #ff0080, #ffff00);
    bottom: 40%;
    left: 50%;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: float 20s ease-in-out infinite;
    filter: blur(40px);
}

.shape-12 {
    width: 125px;
    height: 125px;
    background: linear-gradient(90deg, #00ff80, #00ffff);
    top: 80%;
    right: 15%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: float 24s ease-in-out infinite reverse;
    filter: blur(34px);
}

.shape-13 {
    width: 115px;
    height: 115px;
    background: linear-gradient(315deg, #ff00ff, #00ffff, #ff0080);
    bottom: 10%;
    right: 50%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: float 27s ease-in-out infinite;
    filter: blur(36px);
}


@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, 30px) rotate(5deg);
    }
    50% {
        transform: translate(-15px, 50px) rotate(-5deg);
    }
    75% {
        transform: translate(30px, 20px) rotate(3deg);
    }
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.site-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 10px;
    box-shadow: 
        0 0 30px rgba(255, 0, 255, 0.3),
        0 0 60px rgba(0, 255, 255, 0.2),
        inset 0 0 30px rgba(255, 0, 255, 0.1);
}

/* Glitch Effect for Title */
.glitch-wrapper {
    position: relative;
}

/*.site-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5em;
    font-weight: 900;
    letter-spacing: 8px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 
        0 0 10px rgba(255, 0, 255, 0.8),
        0 0 20px rgba(0, 255, 255, 0.6);
    animation: glow 2s ease-in-out infinite alternate;
}
*/
.site-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5em;
    font-weight: 900;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #ff00ff;
    position: relative;
    text-shadow: 
        0 0 10px rgba(255, 0, 255, 0.8),
        0 0 20px rgba(0, 255, 255, 0.6),
        0 0 30px rgba(255, 0, 255, 0.4);
    animation: glow 3s ease-in-out infinite alternate;
}


@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.8));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.8));
    }
}

/* Optional glitch animation - uncomment to activate */

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
}

.glitch::before {
    animation: glitch-1 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    color: #00ffff;
    z-index: -1;
    text-shadow: 2px 0 rgba(0, 255, 255, 0.8);
}

.glitch::after {
    animation: glitch-2 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite reverse;
    color: #ff0080;
    z-index: -2;
    text-shadow: -2px 0 rgba(255, 0, 128, 0.8);
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(3px, 3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(-3px, 3px); }
    100% { transform: translate(0); }
}



.subtitle {
    font-size: 1.5em;
    color: #ff00ff;
    margin-top: 15px;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

.tagline {
    font-size: 1em;
    color: #00ffff;
    margin-top: 10px;
    letter-spacing: 2px;
    text-transform: lowercase;
}

/* Welcome Box */
.welcome-box {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.2),
        inset 0 0 20px rgba(255, 0, 255, 0.1);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2em;
    text-align: center;
    color: #00ffff;
    margin-bottom: 30px;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
    text-transform: uppercase;
}

.welcome-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #d4d4ff;
    line-height: 1.8;
}

.welcome-content strong {
    color: #ff00ff;
    font-weight: bold;
}

.welcome-content em {
    color: #00ffff;
    font-style: italic;
}

.chill-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 0, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.chill-notice .emoji {
    font-size: 2em;
}

.chill-notice p {
    margin: 0;
    font-style: italic;
    color: #ffccff;
}

/* Navigation Grid */
.main-nav {
    margin-bottom: 60px;
}

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

.nav-card {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 0, 255, 0.4);
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-card:hover::before {
    left: 100%;
}

.nav-card:hover {
    border-color: rgba(0, 255, 255, 0.8);
    box-shadow: 
        0 0 30px rgba(255, 0, 255, 0.4),
        0 0 50px rgba(0, 255, 255, 0.3);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 15px;
    text-align: center;
}

.nav-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4em;
    color: #ff00ff;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 2px;
}

.nav-card p {
    font-size: 0.95em;
    color: #c0c0ff;
    text-align: center;
    line-height: 1.6;
}

/* Featured Section */
.featured-section {
    margin-bottom: 60px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.featured-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.featured-item:hover {
    border-color: rgba(255, 0, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.featured-item .date {
    display: inline-block;
    font-size: 0.85em;
    color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.featured-item h4 {
    font-size: 1.2em;
    color: #ff00ff;
    margin-bottom: 12px;
}

.featured-item p {
    font-size: 0.95em;
    color: #d0d0ff;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.stat-box {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 0, 255, 0.4);
    border-radius: 12px;
    padding: 30px 40px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
    transform: scale(1.05);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3em;
    font-weight: 900;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.stat-label {
    font-size: 1em;
    color: #ff00ff;
    margin-top: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 2px solid rgba(255, 0, 255, 0.3);
    padding: 40px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-aesthetic {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    color: #ff00ff;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

.footer-text {
    font-size: 0.9em;
    color: #b0b0d0;
    margin: 10px 0;
}

.footer-text a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-text a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-title {
        font-size: 2em;
        letter-spacing: 4px;
    }
    
    .subtitle {
        font-size: 1.2em;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-section {
        flex-direction: column;
        align-items: center;
    }
    
    .welcome-box {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5em;
        letter-spacing: 2px;
    }
    
    .section-title {
        font-size: 1.5em;
    }
    
    .container {
        padding: 20px 15px;
    }
}