/* ----------------------------------------
   IMPORTS & GLOBAL SETTINGS
---------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&family=Playfair+Display:wght@700&family=Oswald:wght@300;700&display=swap');

body {
    font-family: 'Oswald', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    background-attachment: fixed;
    color: #d4e157;
    text-align: center;
}

::selection {
    background: #76ff03;
    color: #0d0d0d;
}

/* ----------------------------------------
   TYPOGRAPHY
---------------------------------------- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #76ff03;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(212, 229, 87, 0.8), 0 0 20px rgba(212, 229, 87, 0.6);
}

p {
    font-size: 1.5em;
    max-width: 600px;
    line-height: 1.5;
    margin: 0 auto;
}

.glow {
    color: #76ff03;
    text-shadow: 0 0 5px #76ff03, 0 0 10px #76ff03, 0 0 20px #76ff03;
}

/* ----------------------------------------
   HEADER & NAVIGATION
---------------------------------------- */
header {
    color: #d4e157;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

nav {
    margin: 30px 0;
    text-align: right;
}

nav a {
    color: #d4e157;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #333;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

nav a:hover {
    background: #333;
    color: #76ff03;
}

/* ----------------------------------------
   HERO SECTION
---------------------------------------- */
.hero {
    background: url('https://picsum.photos/1920/1080') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4e157;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.hero h1 {
    font-size: 4em;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.overlay {
    background: rgba(0, 0, 0, 0.8);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.links {
    margin-top: 30px;
}

.links a {
    background: linear-gradient(135deg, #d4e157, #76ff03);
    color: #000;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(118, 255, 3, 0.5);
}

.links a:hover {
    background: linear-gradient(135deg, #76ff03, #d4e157);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(118, 255, 3, 0.8);
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(212, 229, 87, 0.7);
    color: #000;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.back-button:hover {
    background: rgba(212, 229, 87, 1);
    transform: scale(1.1);
}

/* ----------------------------------------
   CONTENT LAYOUT
---------------------------------------- */
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-in-out;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.grid-item, .card, .story {
    background: #141414;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.grid-item:hover, .card:hover, .story:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(118, 255, 3, 0.8);
}

.story h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 64, 129, 0.6);
}

/* ----------------------------------------
   ELEMENT STYLING
---------------------------------------- */
button, .links a {
    background: linear-gradient(135deg, #76ff03, #64dd17);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(118, 255, 3, 0.5);
}

button:hover, .links a:hover {
    background: linear-gradient(135deg, #64dd17, #76ff03);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(118, 255, 3, 0.8);
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #333;
    border-radius: 5px;
    background: #1a1a1a;
    color: #d4e157;
}

input:focus, textarea:focus {
    border-color: #76ff03;
    outline: none;
}

a {
    color: #d4e157;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #64dd17;
}

/* Style for unordered lists */
ul {
    list-style-type: none; /* Removes the default dots */
    padding: 0;
    margin: 0;
}

ul li {
    transition: color 0.3s ease;
}

/* Optional: Add custom icons for list items */
ul li::before {
    content: ">";
    color: #76ff03;
    margin-right: 10px;
    font-size: 1.2em;
}

/* ----------------------------------------
   COMPONENTS
---------------------------------------- */
.image-overlay-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.image-overlay-container img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
    filter: brightness(0.7);
}

.image-overlay-container:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.9));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #d4e157;
    font-size: 1.2rem;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay-container:hover .image-overlay {
    opacity: 1;
}

.tag {
    display: inline-block;
    background: #333;
    color: #d4e157;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.tag:hover {
    background: #d4e157;
    color: #000;
    cursor: pointer;
}

.modal {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 0 15px rgba(118, 255, 3, 0.8);
}

.modal h2 {
    margin-bottom: 15px;
}

.modal p {
    line-height: 1.8;
    font-size: 1.1rem;
}

.fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #76ff03;
    color: #000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    box-shadow: 0 4px 10px rgba(118, 255, 3, 0.5);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.fab:hover {
    background: #64dd17;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(118, 255, 3, 0.8);
}

.footer {
    background: #1b1b1b;
    color: #d4e157;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #333;
    position: relative;
    width: 100%;
    bottom: 0;
}

/* ----------------------------------------
   ANIMATIONS
---------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulseEffect {
    0%, 100% {
        box-shadow: 0 0 15px rgba(118, 255, 3, 0.8);
    }
    50% {
        box-shadow: 0 0 15px 10px rgba(118, 255, 3, 0);
    }
}

.pulse {
    animation: pulseEffect 2s infinite;
}

/* ----------------------------------------
   STORY LIST
---------------------------------------- */
.story-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.story-list li {
    margin: 15px 0;
    padding: 10px;
    background: #1a1a1a;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.story-list li:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(118, 255, 3, 0.8);
}

.story-list a {
    text-decoration: none;
    color: #d4e157;
    font-size: 1.2em;
    transition: color 0.3s;
}

.story-list a:hover {
    color: #76ff03;
}

/* ----------------------------------------
   INDEX SECTION
---------------------------------------- */
.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.index-section {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.index-section h3 {
    font-size: 1.5em;
    color: #76ff03;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(118, 255, 3, 0.8);
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.index-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.index-section li {
    margin: 10px 0;
    padding: 10px;
    background: #141414;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.index-section li:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(118, 255, 3, 0.8);
}

.index-section a {
    text-decoration: none;
    color: #d4e157;
    font-size: 1.1em;
    transition: color 0.3s;
}

.index-section a:hover {
    color: #76ff03;
}
