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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #f5f5f7;
    background-color: #121212;
}

/* Game-inspired Color Palette */
:root {
    --primary-blue: #0b57a4;
    --light-blue: #42a5f5;
    --neon-blue: #00c8ff;
    --dark-gray: #1d1d1f;
    --light-gray: #86868b;
    --very-light-gray: #f5f5f7;
    --neon-red: #ff3b30;
    --neon-green: #34c759;
    --neon-yellow: #ffcc00;
    --neon-orange: #ff9500;
    --neon-purple: #af52de;
    --game-bg: #121212;
    --section-bg: #1e1e1e;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--very-light-gray);
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.8rem;
    color: var(--neon-yellow);
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.3rem;
    color: var(--neon-green);
}

p {
    margin-bottom: 1rem;
    color: var(--very-light-gray);
}

/* Header */
header {
    background-color: var(--dark-gray);
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--neon-blue);
}

.tagline {
    text-align: center;
    color: var(--light-gray);
    font-size: 1.2rem;
}

/* Intro Section */
.intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
}

/* Game Section */
#game-section {
    margin-bottom: 3rem;
}

#game-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
    border: 2px solid var(--neon-blue);
}

#gameCanvas {
    display: block;
    width: 100%;
    height: auto;
    background-color: #000;
}

/* Game Overlay Screens */
.overlay-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 2rem;
}

.overlay-screen h2 {
    color: var(--neon-yellow);
    border: none;
    margin-top: 0;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.hidden {
    display: none;
}

.game-button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
}

.game-button:hover {
    background-color: var(--neon-blue);
    transform: scale(1.05);
}

/* Game Stats */
#game-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-box {
    background-color: var(--section-bg);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    flex: 1;
    margin: 0 0.5rem;
    text-align: center;
    font-weight: 600;
    border: 1px solid #333;
}

/* Mobile Controls */
#mobile-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.5);
}

#left-control, #right-control {
    width: 50%;
    height: 100%;
}

/* Content Sections */
section {
    background-color: var(--section-bg);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

.content-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.column {
    flex: 1;
    min-width: 250px;
}

/* Power-ups Section */
.power-up-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.power-up-item {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    background-color: rgba(30, 30, 30, 0.7);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #333;
}

.power-up-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.power-up-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.expand {
    background-color: var(--neon-blue);
}

.multi-ball {
    background-color: var(--neon-red);
}

.slow {
    background-color: var(--neon-purple);
}

.extra-life {
    background-color: var(--neon-green);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    border-radius: 8px;
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid #333;
    transition: transform 0.2s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid #333;
}

.faq-item h3 {
    color: var(--neon-orange);
    margin-bottom: 0.5rem;
}

/* Lists */
ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--very-light-gray);
    padding: 2rem 0;
    text-align: center;
    border-top: 3px solid var(--neon-blue);
}

footer a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--light-blue);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .content-columns {
        flex-direction: column;
    }
    
    #game-stats {
        flex-direction: column;
    }
    
    .stat-box {
        margin: 0.5rem 0;
    }
    
    .power-up-grid, 
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(0, 200, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 200, 255, 0.8); }
    100% { box-shadow: 0 0 5px rgba(0, 200, 255, 0.5); }
}

#game-container {
    animation: glow 3s infinite;
}

/* Navigation Bar */
.main-nav {
    margin: 1.5rem 0 0.5rem;
    text-align: center;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: var(--neon-blue);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.2s;
    font-weight: 500;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--neon-blue);
}

.main-nav a:hover {
    background-color: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive navigation for mobile */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0.25rem;
    }
    
    .main-nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Add this to your CSS file */
html {
    scroll-behavior: smooth;
  }

  /* About Page Specific Styles */
.featured-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 2rem;
    display: block;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
}

.about-image {
    text-align: center;
    margin-bottom: 2rem;
}

.cta-button-container {
    text-align: center;
    margin: 2rem 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--neon-blue);
    color: #000;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.8);
}

#team p {
    font-size: 1.1rem;
    line-height: 1.7;
}

#play-now {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(rgba(30, 30, 30, 0.7), rgba(30, 30, 30, 0.9)), 
                url('images/arcade-background.jpg') center/cover no-repeat;
    border-radius: 8px;
    margin-bottom: 2rem;
}

#play-now h2 {
    color: var(--neon-yellow);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

#play-now p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* styles.css */
#love-tester {
    color: #FFC0CB;
  }

/* Social Share Sidebar */
.social-share-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1d1d1f;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    border-right: 2px solid var(--neon-blue);
  }
  
  .share-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    color: var(--very-light-gray);
  }
  
  .count {
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .label {
    font-size: 0.8rem;
    opacity: 0.8;
  }
  
  .share-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .share-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2a2a2a;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    padding: 0;
  }
  
  .share-button svg {
    width: 20px;
    height: 20px;
  }
  
  .share-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.5);
  }
  
  .facebook:hover {
    background-color: #3b5998;
  }
  
  .twitter:hover {
    background-color: #1da1f2;
  }
  
  .email:hover {
    background-color: #4285f4;
  }
  
  .more:hover {
    background-color: #6c757d;
  }
  
  /* Share Modal */
  .share-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
  }
  
  .share-modal-content {
    background-color: #1e1e1e;
    margin: 15% auto;
    padding: 20px;
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
    position: relative;
  }
  
  .close-modal {
    color: var(--light-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .close-modal:hover {
    color: var(--neon-blue);
  }
  
  .share-modal h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--neon-blue);
  }
  
  .share-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
  }
  
  .share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    border-radius: 8px;
    background-color: #2a2a2a;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: var(--very-light-gray);
  }
  
  .share-option svg {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
  }
  
  .share-option span {
    font-size: 0.9rem;
  }
  
  .share-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .linkedin:hover {
    background-color: #0077b5;
  }
  
  .pinterest:hover {
    background-color: #e60023;
  }
  
  .reddit:hover {
    background-color: #ff4500;
  }
  
  .whatsapp:hover {
    background-color: #25d366;
  }
  
  .telegram:hover {
    background-color: #0088cc;
  }
  
  .copy-link {
    border: none;
    font-family: inherit;
    font-size: inherit;
  }
  
  /* Mobile Responsiveness for Share Sidebar */
  @media (max-width: 768px) {
    .social-share-sidebar {
      bottom: 0;
      top: auto;
      left: 0;
      right: 0;
      transform: none;
      flex-direction: row;
      justify-content: center;
      border-radius: 8px 8px 0 0;
      border-right: none;
      border-top: 2px solid var(--neon-blue);
      padding: 10px;
    }
    
    .share-count {
      margin-bottom: 0;
      margin-right: 15px;
    }
    
    .share-buttons {
      flex-direction: row;
    }
  }
