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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #fff;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
  width: 100%;
  margin: 0;
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 32px;
  width: auto;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-right: 2rem;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: #1d1d1f;
  font-weight: 400;
  font-size: 1rem;
  padding: 0.5rem 0;
  border-radius: 0;
  background: none;
  transition: color 0.2s;
}

.nav-links a.active {
  color: #007AFF;
  font-weight: 500;
}

.nav-links a:hover {
  color: #007AFF;
}

/* Hero Section */
.hero {
    padding: 80px 2rem 60px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* .hero-content styles are now defined above with the liquid glass effect */

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #d62800 0%, #ffce00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 4px 8px rgba(214, 40, 0, 0.4));
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero p {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #d62800 0%, #ffce00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-weight: 400;
}

.publisher-credit {
    font-size: 1rem;
    background: linear-gradient(135deg, #d62800 0%, #ffce00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 2rem;
}

/* Apps Section */
.apps-section {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.section-header p {
    font-size: 1.2rem;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.app-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.app-card-header {
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.comic-spinnah .app-card-header {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
}

.comic-reader .app-card-header {
    background: linear-gradient(135deg, #A8E6CF 0%, #3D5A80 100%);
}

.script-spinnah .app-card-header {
    background: linear-gradient(135deg, #48CAE4 0%, #023047 100%);
}

.app-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.app-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.app-status {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.app-card-body {
    padding: 2rem;
}

.app-description {
    font-size: 1.1rem;
    color: #6e6e73;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.app-description {
    font-size: 1.1rem;
    color: #6e6e73;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.app-features {
    list-style: none;
    margin-bottom: 2rem;
}

.app-features li {
    padding: 0.5rem 0;
    color: #1d1d1f;
    position: relative;
    padding-left: 1.5rem;
}

.app-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #34c759;
    font-weight: bold;
}

.app-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.app-actions .btn {
    width: 100%;
    text-align: center;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #007AFF;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #007AFF;
    border: 2px solid #007AFF;
}

.btn-secondary:hover {
    background: #007AFF;
    color: white;
}

.btn-github {
    background: #24292e;
    color: white;
}

.btn-github:hover {
    background: #1a1e22;
}

.btn-coming-soon {
    background: #f0f0f0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    border: 2px solid #ddd !important;
}

.btn-coming-soon:hover {
    background: #f0f0f0 !important;
    color: #999 !important;
    transform: none !important;
}

/* Footer */
footer {
    background: #f5f5f7;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid #d2d2d7;
}

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

.footer-content p {
    color: #6e6e73;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.footer-links a {
    color: #007AFF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hamburger Menu Button */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-button .bar {
    width: 100%;
    height: 3px;
    background-color: #1d1d1f;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation when Menu is Open */
.mobile-menu-button.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-button.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .app-actions {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Mobile Navigation */
    .mobile-menu-button {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1.1rem;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
}

