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

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Layout Components */
.hero-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.hero-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #a8a8a8;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.hero-text p {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 500px;
    margin-bottom: 30px;
    text-align: center;
}

.hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-social svg {
    width: 24px;
    height: 24px;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Comics Grid */
.comics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.comic-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

/* Removed hover effects for comics */

.comic-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comic-description {
    color: #b8b8b8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.comic-image {
    width: 100%;
    max-width: 800px;
    max-height: 720px;
    height: auto;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

/* Designs Grid */
.designs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.design-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

/* Removed hover effects for designs */

.design-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.design-description {
    color: #b8b8b8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.design-image {
    width: 100%;
    max-width: 800px;
    max-height: 720px;
    height: auto;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: contain;
    margin-bottom: 25px;
}

.design-actions {
    margin-top: 20px;
}

.design-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.design-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    color: #ffffff;
}

/* Haikus Grid */
.haikus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.haiku-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.haiku-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.haiku-emoji {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.haiku-text {
    color: #b8b8b8;
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    white-space: pre-line;
}

/* Ideas Grid */
.ideas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.idea-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.idea-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.idea-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
    border-color: rgba(78, 205, 196, 0.3);
}

.idea-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.idea-description {
    color: #b8b8b8;
    font-size: 1rem;
    line-height: 1.6;
}

.link-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.link-card:hover::before {
    transform: scaleX(1);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.link-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.link-image {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.link-card:hover .link-image {
    transform: scale(1.05);
}

.link-text {
    flex: 1;
}

.link-title {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.link-title:hover {
    color: #4ecdc4;
}

.link-title.external-link::after {
    content: ' ↗';
    font-size: 0.8em;
    opacity: 0.7;
}

.link-description {
    color: #b8b8b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

.footer-section h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: #b8b8b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Contact Form */
.contact-form {
    margin-top: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-control[type="text"],
.form-control[type="email"],
.form-control[type="password"],
.form-control[type="search"] {
    min-height: auto;
}

textarea.form-control {
    min-height: 100px;
}

.form-control:focus {
    outline: none;
    border-color: #4ecdc4;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.form-control::placeholder {
    color: #888;
}

.submit-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.form-result {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-result.loading {
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.form-result.success {
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.form-result.error {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b8b8b8;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    border-color: rgba(78, 205, 196, 0.5);
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-link span {
    font-weight: 500;
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-link {
    color: #b8b8b8;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    border-color: rgba(78, 205, 196, 0.5);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright {
    color: #888;
    font-size: 0.9rem;
}

.copyright a {
    color: #4ecdc4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #ff6b6b;
}

.footer-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

.privacy-link {
    color: #888;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #4ecdc4;
}

.footer a {
    color: #4ecdc4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .link-card {
        padding: 20px;
    }
    
    .link-content {
        gap: 15px;
    }
    
    .link-image {
        width: 80px;
        height: 80px;
    }
    
    .hero-social {
        gap: 15px;
    }
    
    .hero-social a {
        width: 45px;
        height: 45px;
    }
    
    .hero-social svg {
        width: 20px;
        height: 20px;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        align-items: center;
    }
    
    .quick-links {
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-divider {
        display: none;
    }
    
    /* Comics and Designs responsive */
    .comic-item,
    .design-item {
        padding: 25px;
    }
    
    .comic-title,
    .design-title {
        font-size: 1.6rem;
    }
    
    .comic-description,
    .design-description {
        font-size: 1rem;
    }
    
    /* Haikus and Ideas responsive */
    .haikus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .haiku-item {
        padding: 20px;
    }
    
    .haiku-emoji {
        font-size: 2.5rem;
    }
    
    .haiku-text {
        font-size: 1rem;
    }
    
    .idea-category {
        padding: 25px;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
    
    .idea-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .idea-title {
        font-size: 1.1rem;
    }
    
    .idea-description {
        font-size: 0.9rem;
    }
    
    /* Privacy Policy responsive */
    .privacy-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section p,
    .privacy-section ul {
        font-size: 0.95rem;
    }
    
    .privacy-footer {
        padding: 20px;
    }
    
         /* Game pages responsive */
     .blame-cards-grid {
         grid-template-columns: 1fr;
         gap: 15px;
     }
     
     .blame-card {
         padding: 20px;
         min-height: 150px;
     }
     
     .blame-card h4 {
         font-size: 1.2rem;
         margin-bottom: 15px;
     }
     
     .blame-card:hover {
         transform: translateY(-5px) rotate(1deg);
     }
    
    .quiz-question {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .question-number {
        font-size: 1.5rem;
    }
    
    .or-image {
        width: 240px;
        height: 240px;
    }
    
    .question-buttons {
        gap: 15px;
    }
    
    .input-section {
        gap: 20px;
    }
    
         .result-display {
         flex-direction: column;
         gap: 15px;
         padding: 20px;
     }
     
     /* Doomsday newspaper responsive */
     #doomsday-publication {
         font-size: 36px !important;
     }
     
     #doomsday-title {
         font-size: 24px !important;
     }
     
     #doomsday-newspaper {
         padding: 20px;
         margin-top: 15px;
     }
     
     /* Mountain story responsive */
     .story-content {
         padding: 25px;
     }
     

     
     .location-header h5 {
         font-size: 1.2rem;
         margin: 0 0 20px 0;
     }
     
     .story-text p {
         font-size: 1rem;
     }
     
     .story-text h5 {
         font-size: 1.1rem;
     }
     
     .story-footer {
         padding: 20px;
     }
     
     .story-footer h3 {
         font-size: 1.3rem;
     }
     
     .story-footer h4 {
         font-size: 1.1rem;
     }
     
          /* Table of Contents responsive */
     .story-footer {
         text-align: left;
     }
     
     .story-footer h4:first-of-type {
         text-align: left;
     }
     
     .story-footer a {
         text-align: left;
     }
     
     /* MadagascArkansas story responsive */
     .madagascarkansas-story .story-content {
         padding: 25px;
     }
     

     
     .madagascarkansas-story .location-header h5 {
         font-size: 1.2rem;
         margin: 0 0 20px 0;
     }
     
     .madagascarkansas-story .story-text p {
         font-size: 1rem;
     }
     
     .madagascarkansas-story .story-text h5 {
         font-size: 1.1rem;
     }
     
     .madagascarkansas-story .story-footer {
         padding: 20px;
     }
     
     .madagascarkansas-story .story-footer h3 {
         font-size: 1.3rem;
     }
     
           .madagascarkansas-story .story-footer h4 {
          font-size: 1.1rem;
      }
      
      /* Time Travel Tuesday story responsive */
      .time-story .story-content {
          padding: 25px;
      }
      
      
      
      .time-story .location-header h5 {
          font-size: 1.2rem;
          margin: 0 0 20px 0;
      }
      
      .time-story .story-text p {
          font-size: 1rem;
      }
      
      .time-story .story-text h5 {
          font-size: 1.1rem;
      }
      
      .time-story .story-footer {
          padding: 20px;
      }
      
      .time-story .story-footer h3 {
          font-size: 1.3rem;
      }
      
      .time-story .story-footer h4 {
          font-size: 1.1rem;
      }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .link-card {
        padding: 15px;
    }
    
    .link-content {
        gap: 12px;
    }
    
    .link-image {
        width: 60px;
        height: 60px;
    }
    
    .link-title {
        font-size: 1.1rem;
    }
    
    .link-description {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-card {
    animation: fadeInUp 0.6s ease forwards;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }
.link-card:nth-child(6) { animation-delay: 0.6s; }
.link-card:nth-child(7) { animation-delay: 0.7s; }
.link-card:nth-child(8) { animation-delay: 0.8s; }
.link-card:nth-child(9) { animation-delay: 0.9s; }
.link-card:nth-child(10) { animation-delay: 1.0s; }
.link-card:nth-child(11) { animation-delay: 1.1s; }
.link-card:nth-child(12) { animation-delay: 1.2s; }
.link-card:nth-child(13) { animation-delay: 1.3s; }
.link-card:nth-child(14) { animation-delay: 1.4s; }
.link-card:nth-child(15) { animation-delay: 1.5s; }
.link-card:nth-child(16) { animation-delay: 1.6s; }
.link-card:nth-child(17) { animation-delay: 1.7s; }
.link-card:nth-child(18) { animation-delay: 1.8s; }
.link-card:nth-child(19) { animation-delay: 1.9s; }
.link-card:nth-child(20) { animation-delay: 2.0s; }
.link-card:nth-child(21) { animation-delay: 2.1s; }
.link-card:nth-child(22) { animation-delay: 2.2s; }
.link-card:nth-child(23) { animation-delay: 2.3s; }
.link-card:nth-child(24) { animation-delay: 2.4s; }
.link-card:nth-child(25) { animation-delay: 2.5s; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.link-title:focus,
.hero-social a:focus {
    outline: 2px solid #4ecdc4;
    outline-offset: 2px;
}

/* Loading states */
.link-image {
    transition: opacity 0.3s ease;
}

.link-image[loading] {
    opacity: 0.7;
}

/* Privacy Policy Page */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-section h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-section p {
    color: #b8b8b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-section ul {
    color: #b8b8b8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 20px;
}

.privacy-section li {
    margin-bottom: 8px;
}

.privacy-section strong {
    color: #ffffff;
    font-weight: 600;
}

.privacy-footer {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px;
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.privacy-footer p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.privacy-footer p:last-child {
    margin-bottom: 0;
}

/* Game Pages Styling */

/* Blame Game */
.blame-game {
    max-width: 800px;
    margin: 0 auto;
}

.problem-section {
    margin-bottom: 40px;
    text-align: center;
}

.problem-card {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
    position: relative;
    overflow: hidden;
    /* Playing card proportions: 2.5:3.5 ratio */
    aspect-ratio: 2.5 / 3.5;
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
}

.problem-card h3 {
    color: #ff6b6b;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.problem-text {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.blame-cards-section {
    margin-bottom: 40px;
    text-align: center;
}

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

.blame-card {
    background: rgba(78, 205, 196, 0.1);
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    /* Playing card proportions: 2.5:3.5 ratio */
    aspect-ratio: 2.5 / 3.5;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.blame-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #6ee7df);
}

.blame-card:hover {
    background: rgba(78, 205, 196, 0.15);
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 20px 50px rgba(78, 205, 196, 0.4);
    border-color: rgba(78, 205, 196, 0.6);
}

.blame-card:active {
    transform: translateY(-4px) rotate(1deg);
    box-shadow: 0 15px 35px rgba(78, 205, 196, 0.3);
}

.blame-card h4 {
    color: #4ecdc4;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.blame-text {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon styling for blame game cards */
.blame-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    line-height: 1;
    text-align: center;
}

.blame-card .blame-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.game-actions {
    text-align: center;
    margin-bottom: 40px;
}

.game-btn {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.game-instructions {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-instructions p {
    color: #b8b8b8;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Doomsday Calculator */
.doomsday-calculator {
    max-width: 600px;
    margin: 0 auto;
}

.date-input-section {
    text-align: center;
    margin-bottom: 40px;
}

.input-label {
    display: block;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.date-input {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.date-input:focus {
    outline: none;
    border-color: #4ecdc4;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.calculator-actions {
    text-align: center;
    margin-bottom: 40px;
}

.evidence-output {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* OR Quiz */
.or-quiz {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-question {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.question-number {
    color: #4ecdc4;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.question-image {
    margin-bottom: 25px;
}

.or-image {
    width: 240px;
    height: 240px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.question-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.oar-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}

.ore-btn {
    background: linear-gradient(45deg, #4ecdc4, #6ee7df);
}

.or-separator {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.quiz-results {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quiz-results h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.answer-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.answer-result:empty {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

.answer-result:not(:empty) {
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
    color: #4ecdc4;
}

/* Earthquake Calculator */
.earthquake-calculator {
    max-width: 600px;
    margin: 0 auto;
}

.input-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.input-group {
    text-align: center;
}

.input-label {
    display: block;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #4ecdc4;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.results-section {
    text-align: center;
    margin-bottom: 40px;
}

.result-display {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.result-label {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
}

.result-value {
    color: #4ecdc4;
    font-size: 1.5rem;
    font-weight: 700;
}

.warning-section {
    text-align: center;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.warning-text {
    color: #ff6b6b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Print styles */
@media print {
    .hero-social,
    .link-card:hover {
        display: none;
    }
    
    .link-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Earthquake shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Mountain Story Page Styling */
.mountain-story {
    max-width: 800px;
    margin: 0 auto;
}

.mountain-story .location-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.story-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.location-header h5 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: normal;
}

.mountain-story .location-header h5 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: normal;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.mountain-story .location-header .speech-button {
    cursor: pointer;
    float: right;
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.story-text {
    margin-bottom: 30px;
}

.story-text p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.story-text h5 {
    color: #4ecdc4;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.story-text h5:hover {
    color: #ff6b6b;
    transform: translateX(5px);
}

.story-text a {
    text-decoration: none;
    color: inherit;
}

.story-text #demoA {
    cursor: pointer;
    float: right;
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
    margin-left: 16px;
}

.story-text #demoA:hover {
    opacity: 1;
}

.story-text #demoA:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Speech button styling for new location-header structure */
.speech-button {
    cursor: pointer;
    float: right;
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
    margin-left: auto;
}

.speech-button:hover {
    opacity: 1;
}

.story-footer {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.story-footer h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-footer h4 {
    color: #4ecdc4;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Table of Contents Styling */
.story-footer h4:first-of-type {
    text-align: left;
    margin-bottom: 15px;
}

.story-footer a {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* Ensure all content in table of contents div is left-aligned */
.story-footer {
    text-align: left;
}

.location-icon {
    font-size: 1.4rem;
    display: inline;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    line-height: 1;
}

/* Location header styling - matching choose-test.html */
.location-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
}

.location-header h5 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: normal;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.location-header .speech-button {
    cursor: pointer;
    float: right;
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.location-header .speech-button:hover {
    opacity: 1;
}

.story-footer a {
    color: #b8b8b8;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    margin: 5px;
}

.story-footer a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    border-color: rgba(78, 205, 196, 0.5);
}

/* MadagascArkansas Adventure Page Styling */
.madagascarkansas-story {
    max-width: 800px;
    margin: 0 auto;
}

.madagascarkansas-story .location-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Time Travel Tuesday Adventure Page Styling */
.time-story {
    max-width: 800px;
    margin: 0 auto;
}

.time-story .story-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.time-story .location-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.time-story .location-header h5 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: normal;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.time-story .location-header .speech-button {
    cursor: pointer;
    float: right;
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.time-story .story-text {
    margin-bottom: 30px;
}

.time-story .story-text p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.time-story .story-text h5 {
    color: #4ecdc4;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.time-story .story-text h5:hover {
    color: #ff6b6b;
    transform: translateX(5px);
}

.time-story .story-text a {
    text-decoration: none;
    color: inherit;
}

.time-story .story-footer {
    text-align: left;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.time-story .story-footer h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.time-story .story-footer h4 {
    color: #4ecdc4;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.time-story .story-footer a {
    color: #b8b8b8;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    margin: 5px;
}

.time-story .story-footer a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    border-color: rgba(78, 205, 196, 0.5);
}

.madagascarkansas-story .story-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}



.madagascarkansas-story .location-header h5 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: normal;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.madagascarkansas-story .location-header .speech-button {
    cursor: pointer;
    float: right;
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.madagascarkansas-story .story-text {
    margin-bottom: 30px;
}

.madagascarkansas-story .story-text p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.madagascarkansas-story .story-text h5 {
    color: #4ecdc4;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.madagascarkansas-story .story-text h5:hover {
    color: #ff6b6b;
    transform: translateX(5px);
}

.madagascarkansas-story .story-text a {
    text-decoration: none;
    color: inherit;
}

.madagascarkansas-story .story-footer {
    text-align: left;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.madagascarkansas-story .story-footer h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.madagascarkansas-story .story-footer h4 {
    color: #4ecdc4;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.madagascarkansas-story .story-footer a {
    color: #b8b8b8;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    margin: 5px;
}

.madagascarkansas-story .story-footer a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    border-color: rgba(78, 205, 196, 0.5);
}

/* Doomsday Calculator Newspaper Styling */
#doomsday-publication {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 48px !important;
    text-transform: uppercase;
    color: #2f2f2f !important;
}

#doomsday-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    font-size: 32px !important;
    text-transform: uppercase;
    text-align: center;
    color: #2f2f2f !important;
}

.doomsday-small {
    font-size: 12px !important;
    text-align: center;
    color: #2f2f2f !important;
}

#doomsday-newspaper {
    background-color: #f9f7f1;
    border: 2px solid #2f2f2f;
    border-radius: 10px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#doomsday-newspaper * {
    font-family: 'Droid Serif', serif;
    font-size: 14px;
    color: #2f2f2f !important;
}

#doomsday-newspaper hr {
    border: 1px solid #2f2f2f !important;
    margin: 20px 0;
}

.doomsday-image {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    width: 100%;
    border-radius: 5px;
}

/* Dune Story Page Styling */
.dune-story {
    max-width: 800px;
    margin: 0 auto;
}

.dune-story .story-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.dune-story .location-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dune-story .location-header h5 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: normal;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.dune-story .location-header .speech-button {
    cursor: pointer;
    float: right;
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.dune-story .story-text {
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.1rem;
}

.dune-story .story-footer {
    text-align: left;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.dune-story .story-footer h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dune-story .story-footer h4 {
    color: #4ecdc4;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.dune-story .story-footer a {
    color: #b8b8b8;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    margin: 5px;
}

.dune-story .story-footer a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    border-color: rgba(78, 205, 196, 0.5);
}

/* Farmer Story Page Styling */
.farmer-story {
    max-width: 800px;
    margin: 0 auto;
}

.farmer-story .story-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.farmer-story .location-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.farmer-story .location-header h5 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: normal;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.farmer-story .location-header .speech-button {
    cursor: pointer;
    float: right;
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.farmer-story .story-text {
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.1rem;
}

.farmer-story .story-footer {
    text-align: left;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.farmer-story .story-footer h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.farmer-story .story-footer h4 {
    color: #4ecdc4;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.farmer-story .story-footer a {
    color: #b8b8b8;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    margin: 5px;
}

.farmer-story .story-footer a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    border-color: rgba(78, 205, 196, 0.5);
}

/* Haunted Story Page Styling */
.haunted-story {
    max-width: 800px;
    margin: 0 auto;
}

.haunted-story .story-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.haunted-story .location-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.haunted-story .location-header h5 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: normal;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.haunted-story .location-header .speech-button {
    cursor: pointer;
    float: right;
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.haunted-story .story-text {
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.1rem;
}

.haunted-story .story-footer {
    text-align: left;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.haunted-story .story-footer h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.haunted-story .story-footer h4 {
    color: #4ecdc4;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.haunted-story .story-footer a {
    color: #b8b8b8;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    margin: 5px;
}

.haunted-story .story-footer a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    border-color: rgba(78, 205, 196, 0.5);
}

/* Choose Story Page Styling */
.choose-story {
    max-width: 800px;
    margin: 0 auto;
}

.choose-story .story-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.choose-story .location-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.choose-story .location-header h5 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: normal;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.choose-story .location-header .speech-button {
    cursor: pointer;
    float: right;
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.choose-story .story-text {
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.1rem;
}

.choose-story .story-footer {
    text-align: left;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.choose-story .story-footer h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.choose-story .story-footer h4 {
    color: #4ecdc4;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.choose-story .story-footer a {
    color: #b8b8b8;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-color: rgba(78, 205, 196, 0.5);
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    margin: 5px;
}

.choose-story .story-footer a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    border-color: rgba(78, 205, 196, 0.5);
}

/* Location-specific color themes for story-content divs */
.story-content.color-303 { 
    background: linear-gradient(135deg, rgba(51, 0, 51, 0.15), rgba(51, 0, 51, 0.05));
    border: 2px solid #303;
    box-shadow: 0 0 20px rgba(51, 0, 51, 0.3), inset 0 0 20px rgba(51, 0, 51, 0.1);
    position: relative;
}
.story-content.color-303::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(255, 255, 255, 0.02) 3px, rgba(255, 255, 255, 0.02) 6px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-303::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255, 255, 255, 0.02) 90deg, transparent 180deg, rgba(255, 255, 255, 0.02) 270deg, transparent 360deg);
    pointer-events: none;
    border-radius: 18px;
    animation: rotate 20s linear infinite;
}

.story-content.color-633 { 
    background: linear-gradient(135deg, rgba(102, 51, 51, 0.15), rgba(102, 51, 51, 0.05));
    border: 2px solid #633;
    box-shadow: 0 0 20px rgba(102, 51, 51, 0.3), inset 0 0 20px rgba(102, 51, 51, 0.1);
    position: relative;
}
.story-content.color-633::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0.03) 70%, transparent 70%),
        radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-633::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-conic-gradient(from 0deg, transparent 0deg, rgba(255, 255, 255, 0.01) 1deg, transparent 2deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-660 { 
    background: linear-gradient(135deg, rgba(102, 102, 0, 0.15), rgba(102, 102, 0, 0.05));
    border: 2px solid #660;
    box-shadow: 0 0 20px rgba(102, 102, 0, 0.3), inset 0 0 20px rgba(102, 102, 0, 0.1);
    position: relative;
}
.story-content.color-660::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
        repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(255, 255, 255, 0.02) 4px, rgba(255, 255, 255, 0.02) 8px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-660::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.01) 2px, rgba(255, 255, 255, 0.01) 4px);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-666 { 
    background: linear-gradient(135deg, rgba(102, 102, 102, 0.15), rgba(102, 102, 102, 0.05));
    border: 2px solid #666;
    box-shadow: 0 0 20px rgba(102, 102, 102, 0.3), inset 0 0 20px rgba(102, 102, 102, 0.1);
    position: relative;
}
.story-content.color-666::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.02) 5px, rgba(255, 255, 255, 0.02) 10px),
        radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-666::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 45deg at 30% 70%, transparent 0deg, rgba(255, 255, 255, 0.015) 45deg, transparent 90deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-333 { 
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.15), rgba(51, 51, 51, 0.05));
    border: 2px solid #333;
    box-shadow: 0 0 20px rgba(51, 51, 51, 0.3), inset 0 0 20px rgba(51, 51, 51, 0.1);
    position: relative;
}
.story-content.color-333::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-333::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(135deg, transparent, transparent 10px, rgba(255, 255, 255, 0.01) 10px, rgba(255, 255, 255, 0.01) 20px);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-033 { 
    background: linear-gradient(135deg, rgba(0, 51, 51, 0.15), rgba(0, 51, 51, 0.05));
    border: 2px solid #033;
    box-shadow: 0 0 20px rgba(0, 51, 51, 0.3), inset 0 0 20px rgba(0, 51, 51, 0.1);
    position: relative;
}
.story-content.color-033::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%),
        repeating-linear-gradient(0deg, transparent, transparent 6px, rgba(255, 255, 255, 0.01) 6px, rgba(255, 255, 255, 0.01) 12px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-033::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255, 255, 255, 0.008) 3px, rgba(255, 255, 255, 0.008) 6px);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-060 { 
    background: linear-gradient(135deg, rgba(0, 102, 0, 0.15), rgba(0, 102, 0, 0.05));
    border: 2px solid #060;
    box-shadow: 0 0 20px rgba(0, 102, 0, 0.3), inset 0 0 20px rgba(0, 102, 0, 0.1);
    position: relative;
}
.story-content.color-060::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
        repeating-linear-gradient(45deg, transparent, transparent 7px, rgba(255, 255, 255, 0.015) 7px, rgba(255, 255, 255, 0.015) 14px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-060::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 90deg at 20% 80%, transparent 0deg, rgba(255, 255, 255, 0.02) 45deg, transparent 90deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-360 { 
    background: linear-gradient(135deg, rgba(51, 102, 0, 0.15), rgba(51, 102, 0, 0.05));
    border: 2px solid #360;
    box-shadow: 0 0 20px rgba(51, 102, 0, 0.3), inset 0 0 20px rgba(51, 102, 0, 0.1);
    position: relative;
}
.story-content.color-360::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(255, 255, 255, 0.02) 8px, rgba(255, 255, 255, 0.02) 16px),
        radial-gradient(ellipse at 60% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-360::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255, 255, 255, 0.01) 12px, rgba(255, 255, 255, 0.01) 24px);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-606 { 
    background: linear-gradient(135deg, rgba(102, 0, 102, 0.15), rgba(102, 0, 102, 0.05));
    border: 2px solid #606;
    box-shadow: 0 0 20px rgba(102, 0, 102, 0.3), inset 0 0 20px rgba(102, 0, 102, 0.1);
    position: relative;
}
.story-content.color-606::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
        repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(255, 255, 255, 0.02) 9px, rgba(255, 255, 255, 0.02) 18px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-606::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.02) 0%, transparent 40%),
        repeating-linear-gradient(90deg, transparent, transparent 6px, rgba(255, 255, 255, 0.01) 6px, rgba(255, 255, 255, 0.01) 12px);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-300 { 
    background: linear-gradient(135deg, rgba(51, 0, 0, 0.15), rgba(51, 0, 0, 0.05));
    border: 2px solid #300;
    box-shadow: 0 0 20px rgba(51, 0, 0, 0.3), inset 0 0 20px rgba(51, 0, 0, 0.1);
    position: relative;
}
.story-content.color-300::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.03) 60%, transparent 60%),
        radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-300::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 180deg at 70% 30%, transparent 0deg, rgba(255, 255, 255, 0.015) 60deg, transparent 120deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-393 { 
    background: linear-gradient(135deg, rgba(51, 153, 51, 0.15), rgba(51, 153, 51, 0.05));
    border: 2px solid #393;
    box-shadow: 0 0 20px rgba(51, 153, 51, 0.3), inset 0 0 20px rgba(51, 153, 51, 0.1);
    position: relative;
}
.story-content.color-393::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
        repeating-linear-gradient(90deg, transparent, transparent 5px, rgba(255, 255, 255, 0.015) 5px, rgba(255, 255, 255, 0.015) 10px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-393::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(135deg, transparent, transparent 8px, rgba(255, 255, 255, 0.012) 8px, rgba(255, 255, 255, 0.012) 16px);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-090 { 
    background: linear-gradient(135deg, rgba(0, 153, 0, 0.15), rgba(0, 153, 0, 0.05));
    border: 2px solid #090;
    box-shadow: 0 0 20px rgba(0, 153, 0, 0.3), inset 0 0 20px rgba(0, 153, 0, 0.1);
    position: relative;
}
.story-content.color-090::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(255, 255, 255, 0.02) 6px, rgba(255, 255, 255, 0.02) 12px),
        radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-090::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 40% 60%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        conic-gradient(from 270deg at 60% 40%, transparent 0deg, rgba(255, 255, 255, 0.01) 30deg, transparent 60deg);
    pointer-events: none;
    border-radius: 18px;
}

/* Additional color themes for other adventure pages */
.story-content.color-663 { 
    background: linear-gradient(135deg, rgba(102, 102, 51, 0.15), rgba(102, 102, 51, 0.05));
    border: 2px solid #663;
    box-shadow: 0 0 20px rgba(102, 102, 51, 0.3), inset 0 0 20px rgba(102, 102, 51, 0.1);
    position: relative;
}
.story-content.color-663::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 20%, rgba(255, 255, 255, 0.04) 20%, rgba(255, 255, 255, 0.04) 80%, transparent 80%),
        radial-gradient(ellipse at 40% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-663::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(135deg, transparent, transparent 11px, rgba(255, 255, 255, 0.015) 11px, rgba(255, 255, 255, 0.015) 22px);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-600 { 
    background: linear-gradient(135deg, rgba(102, 0, 0, 0.15), rgba(102, 0, 0, 0.05));
    border: 2px solid #600;
    box-shadow: 0 0 20px rgba(102, 0, 0, 0.3), inset 0 0 20px rgba(102, 0, 0, 0.1);
    position: relative;
}
.story-content.color-600::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        repeating-linear-gradient(90deg, transparent, transparent 7px, rgba(255, 255, 255, 0.02) 7px, rgba(255, 255, 255, 0.02) 14px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-600::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 135deg at 60% 40%, transparent 0deg, rgba(255, 255, 255, 0.02) 45deg, transparent 90deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-630 { 
    background: linear-gradient(135deg, rgba(102, 51, 0, 0.15), rgba(102, 51, 0, 0.05));
    border: 2px solid #630;
    box-shadow: 0 0 20px rgba(102, 51, 0, 0.3), inset 0 0 20px rgba(102, 51, 0, 0.1);
    position: relative;
}
.story-content.color-630::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(255, 255, 255, 0.03) 6px, rgba(255, 255, 255, 0.03) 12px),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-630::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(255, 255, 255, 0.01) 4px, rgba(255, 255, 255, 0.01) 8px);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-036 { 
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.15), rgba(0, 51, 102, 0.05));
    border: 2px solid #036;
    box-shadow: 0 0 20px rgba(0, 51, 102, 0.3), inset 0 0 20px rgba(0, 51, 102, 0.1);
    position: relative;
}
.story-content.color-036::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
        repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.015) 8px, rgba(255, 255, 255, 0.015) 16px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-036::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 225deg at 30% 70%, transparent 0deg, rgba(255, 255, 255, 0.018) 30deg, transparent 60deg);
    pointer-events: none;
    border-radius: 18px;
}

/* Responsive rules for new story pages */
@media (max-width: 768px) {
    .dune-story .story-content,
    .farmer-story .story-content,
    .haunted-story .story-content,
    .choose-story .story-content,
    .mountain-story .story-content,
    .time-story .story-content,
    .madagascarkansas-story .story-content {
        padding: 25px;
    }
    
    .dune-story .location-header,
    .farmer-story .location-header,
    .haunted-story .location-header,
    .choose-story .location-header,
    .mountain-story .location-header,
    .time-story .location-header,
    .madagascarkansas-story .location-header {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .dune-story .location-header h5,
    .farmer-story .location-header h5,
    .haunted-story .location-header h5,
    .choose-story .location-header h5,
    .mountain-story .location-header h5,
    .time-story .location-header h5,
    .madagascarkansas-story .location-header h5 {
        font-size: 1.2rem;
        margin: 0 0 20px 0;
    }
    
    .dune-story .location-header .speech-button,
    .farmer-story .location-header .speech-button,
    .haunted-story .location-header .speech-button,
    .choose-story .location-header .speech-button,
    .mountain-story .location-header .speech-button,
    .time-story .location-header .speech-button,
    .madagascarkansas-story .location-header .speech-button {
        font-size: 1rem;
    }
    
    .dune-story .story-text,
    .farmer-story .story-text,
    .haunted-story .story-text,
    .choose-story .story-text,
    .mountain-story .story-text,
    .time-story .story-text,
    .madagascarkansas-story .story-text {
        font-size: 1rem;
    }
    
    .dune-story .story-footer,
    .farmer-story .story-footer,
    .haunted-story .story-footer,
    .choose-story .story-footer,
    .mountain-story .story-footer,
    .time-story .story-footer,
    .madagascarkansas-story .story-footer {
        padding: 20px;
    }
    
    .dune-story .story-footer h3,
    .farmer-story .story-footer h3,
    .haunted-story .story-footer h3,
    .choose-story .story-footer h3,
    .mountain-story .story-footer h3,
    .time-story .story-footer h3,
    .madagascarkansas-story .story-footer h3 {
        font-size: 1.3rem;
    }
    
    .dune-story .story-footer h4,
    .farmer-story .story-footer h4,
    .haunted-story .story-footer h4,
    .choose-story .story-footer h4,
    .mountain-story .story-footer h4,
    .time-story .story-footer h4,
    .madagascarkansas-story .story-footer h4 {
        font-size: 1.1rem;
    }
}

/* Animation for rotating background */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Additional color themes for other adventure pages */
.story-content.color-933 { 
    background: linear-gradient(135deg, rgba(153, 51, 51, 0.15), rgba(153, 51, 51, 0.05));
    border: 2px solid #933;
    box-shadow: 0 0 20px rgba(153, 51, 51, 0.3), inset 0 0 20px rgba(153, 51, 51, 0.1);
    position: relative;
}
.story-content.color-933::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.07) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 20px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-933::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 315deg at 80% 20%, transparent 0deg, rgba(255, 255, 255, 0.02) 30deg, transparent 60deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-636 { 
    background: linear-gradient(135deg, rgba(102, 51, 102, 0.15), rgba(102, 51, 102, 0.05));
    border: 2px solid #636;
    box-shadow: 0 0 20px rgba(102, 51, 102, 0.3), inset 0 0 20px rgba(102, 51, 102, 0.1);
    position: relative;
}
.story-content.color-636::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%),
        radial-gradient(ellipse at 60% 40%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-636::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 9px, rgba(255, 255, 255, 0.015) 9px, rgba(255, 255, 255, 0.015) 18px);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-363 { 
    background: linear-gradient(135deg, rgba(51, 102, 51, 0.15), rgba(51, 102, 51, 0.05));
    border: 2px solid #363;
    box-shadow: 0 0 20px rgba(51, 102, 51, 0.3), inset 0 0 20px rgba(51, 102, 51, 0.1);
    position: relative;
}
.story-content.color-363::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 7px, rgba(255, 255, 255, 0.018) 7px, rgba(255, 255, 255, 0.018) 14px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-363::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(255, 255, 255, 0.015) 45deg, transparent 90deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-330 { 
    background: linear-gradient(135deg, rgba(51, 51, 0, 0.15), rgba(51, 51, 0, 0.05));
    border: 2px solid #330;
    box-shadow: 0 0 20px rgba(51, 51, 0, 0.3), inset 0 0 20px rgba(51, 51, 0, 0.1);
    position: relative;
}
.story-content.color-330::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 5px, rgba(255, 255, 255, 0.02) 5px, rgba(255, 255, 255, 0.02) 10px),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-330::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.015) 50%, transparent 100%);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-063 { 
    background: linear-gradient(135deg, rgba(0, 102, 51, 0.15), rgba(0, 102, 51, 0.05));
    border: 2px solid #063;
    box-shadow: 0 0 20px rgba(0, 102, 51, 0.3), inset 0 0 20px rgba(0, 102, 51, 0.1);
    position: relative;
}
.story-content.color-063::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 30% 70%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
        repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.016) 8px, rgba(255, 255, 255, 0.016) 16px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-063::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 270deg at 40% 60%, transparent 0deg, rgba(255, 255, 255, 0.018) 40deg, transparent 80deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-006 { 
    background: linear-gradient(135deg, rgba(0, 0, 102, 0.15), rgba(0, 0, 102, 0.05));
    border: 2px solid #006;
    box-shadow: 0 0 20px rgba(0, 0, 102, 0.3), inset 0 0 20px rgba(0, 0, 102, 0.1);
    position: relative;
}
.story-content.color-006::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 70%),
        repeating-linear-gradient(90deg, transparent, transparent 6px, rgba(255, 255, 255, 0.02) 6px, rgba(255, 255, 255, 0.02) 12px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-006::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 0deg at 20% 80%, transparent 0deg, rgba(255, 255, 255, 0.02) 60deg, transparent 120deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-066 { 
    background: linear-gradient(135deg, rgba(0, 102, 102, 0.15), rgba(0, 102, 102, 0.05));
    border: 2px solid #066;
    box-shadow: 0 0 20px rgba(0, 102, 102, 0.3), inset 0 0 20px rgba(0, 102, 102, 0.1);
    position: relative;
}
.story-content.color-066::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-066::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(135deg, transparent, transparent 12px, rgba(255, 255, 255, 0.015) 12px, rgba(255, 255, 255, 0.015) 24px);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-900 { 
    background: linear-gradient(135deg, rgba(153, 0, 0, 0.15), rgba(153, 0, 0, 0.05));
    border: 2px solid #900;
    box-shadow: 0 0 20px rgba(153, 0, 0, 0.3), inset 0 0 20px rgba(153, 0, 0, 0.1);
    position: relative;
}
.story-content.color-900::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.07) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 9px, rgba(255, 255, 255, 0.02) 9px, rgba(255, 255, 255, 0.02) 18px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-900::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 45deg at 85% 15%, transparent 0deg, rgba(255, 255, 255, 0.02) 45deg, transparent 90deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-366 { 
    background: linear-gradient(135deg, rgba(51, 102, 102, 0.15), rgba(51, 102, 102, 0.05));
    border: 2px solid #366;
    box-shadow: 0 0 20px rgba(51, 102, 102, 0.3), inset 0 0 20px rgba(51, 102, 102, 0.1);
    position: relative;
}
.story-content.color-366::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 60% 40%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
        repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(255, 255, 255, 0.018) 7px, rgba(255, 255, 255, 0.018) 14px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-366::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.015) 50%, transparent 100%);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-336 { 
    background: linear-gradient(135deg, rgba(51, 51, 102, 0.15), rgba(51, 51, 102, 0.05));
    border: 2px solid #336;
    box-shadow: 0 0 20px rgba(51, 51, 102, 0.3), inset 0 0 20px rgba(51, 51, 102, 0.1);
    position: relative;
}
.story-content.color-336::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.016) 10px, rgba(255, 255, 255, 0.016) 20px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-336::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 90deg at 75% 25%, transparent 0deg, rgba(255, 255, 255, 0.018) 40deg, transparent 80deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-669 { 
    background: linear-gradient(135deg, rgba(102, 102, 153, 0.15), rgba(102, 102, 153, 0.05));
    border: 2px solid #669;
    box-shadow: 0 0 20px rgba(102, 102, 153, 0.3), inset 0 0 20px rgba(102, 102, 153, 0.1);
    position: relative;
}
.story-content.color-669::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.02) 8px, rgba(255, 255, 255, 0.02) 16px),
        radial-gradient(ellipse at 40% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-669::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(255, 255, 255, 0.015) 45deg, transparent 90deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-999 { 
    background: linear-gradient(135deg, rgba(153, 153, 153, 0.15), rgba(153, 153, 153, 0.05));
    border: 2px solid #999;
    box-shadow: 0 0 20px rgba(153, 153, 153, 0.3), inset 0 0 20px rgba(153, 153, 153, 0.1);
    position: relative;
}
.story-content.color-999::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 70%),
        repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(255, 255, 255, 0.02) 6px, rgba(255, 255, 255, 0.02) 12px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-999::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 0deg at 30% 70%, transparent 0deg, rgba(255, 255, 255, 0.018) 60deg, transparent 120deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-000 { 
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.05));
    border: 2px solid #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
}
.story-content.color-000::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(255, 255, 255, 0.03) 4px, rgba(255, 255, 255, 0.03) 8px),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-000::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 135deg at 80% 20%, transparent 0deg, rgba(255, 255, 255, 0.02) 50deg, transparent 100deg);
    pointer-events: none;
    border-radius: 18px;
}

.story-content.color-690 { 
    background: linear-gradient(135deg, rgba(102, 153, 0, 0.15), rgba(102, 153, 0, 0.05));
    border: 2px solid #690;
    box-shadow: 0 0 20px rgba(102, 153, 0, 0.3), inset 0 0 20px rgba(102, 153, 0, 0.1);
    position: relative;
}
.story-content.color-690::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
        repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(255, 255, 255, 0.018) 8px, rgba(255, 255, 255, 0.018) 16px);
    pointer-events: none;
    border-radius: 18px;
}
.story-content.color-690::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 225deg at 30% 70%, transparent 0deg, rgba(255, 255, 255, 0.016) 35deg, transparent 70deg);
    pointer-events: none;
    border-radius: 18px;
}

/* Flash Games Page Styles */
.flash-games-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.game-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.game-content {
    min-width: 0;
}

.game-sidebar {
    min-width: 0;
    min-height: 720px;
}

.flash-games-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.flash-games-container h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

.flash-games-container p {
    color: #b8b8b8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
}

/* Navigation styling */
nav[aria-label="Breadcrumb"] {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

nav[aria-label="Breadcrumb"] a {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav[aria-label="Breadcrumb"] a:hover {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* Game object styling */
object[type="application/x-shockwave-flash"] {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* Button styling */
.btn-primary {
    background: linear-gradient(45deg, #006633, #004499);
    color: #ffffff;
    border: 3px solid #00ff00;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    box-shadow: 
        0 0 0 2px #000000,
        0 0 0 4px #00ff00,
        0 4px 8px rgba(0, 255, 0, 0.3);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 0 2px #000000,
        0 0 0 4px #00ff00,
        0 8px 16px rgba(0, 255, 0, 0.5),
        0 0 20px rgba(0, 255, 0, 0.3);
    color: #ffffff;
    text-decoration: none;
    border-color: #00ffff;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 
        0 0 0 2px #000000,
        0 0 0 4px #00ff00,
        0 2px 4px rgba(0, 255, 0, 0.3);
}

/* Game links styling */
.game-link {
    display: block;
    color: #4ecdc4;
    text-decoration: none;
    padding: 8px 12px;
    margin: 2px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 5px;
}

.game-link:hover {
    color: #ff6b6b;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* Games container styling */
#games-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    text-align: left;
}

/* Flash Games Responsive adjustments */
@media (max-width: 768px) {
    .flash-games-container,
    .game-container {
        padding: 20px;
    }
    
    .flash-games-container h1 {
        font-size: 2rem;
    }
    
    .flash-games-container h2 {
        font-size: 1.5rem;
    }
    
    nav[aria-label="Breadcrumb"] {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    #games-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .game-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    #games-container {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

