body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #fffef9, #f2e7dc);
    color: #3d2e28;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .fade-in {
    opacity: 1;
  }
  
  .fade-out {
    opacity: 0;
  }
  
  header {
    background: rgba(255, 244, 234, 0.8);
    padding: 1rem 2rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
    backdrop-filter: blur(8px);
  }
  
  header.glass {
    background: rgba(255, 244, 234, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .logo-link {
    text-decoration: none;
    display: block;
  }
  
  .text-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #d17c5d;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  }
  
  .text-logo:hover {
    transform: scale(1.05);
  }
  
  .cart-link {
    position: relative;
  }
  
  .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #d17c5d;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .cart-count.has-items {
    opacity: 1;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
  }
  
  nav a {
    text-decoration: none;
    color: #5f4436;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
  }
  
  nav a:hover {
    color: #d17c5d;
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
  }
  
  nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #d17c5d;
    transition: all 0.3s ease;
  }
  
  nav a:hover::after {
    width: 80%;
    left: 10%;
  }
  
  .hero {
    background: url("images/ghibli-kitchen.jpg") no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: heroFade 1.5s ease-in-out;
  }
  
  @keyframes heroFade {
    from { opacity: 0.7; transform: scale(1.05); }
    to { opacity: 1; transform: scale(1); }
  }
  
  .hero .overlay {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: overlaySlide 1s ease-out 0.5s both;
  }
  
  @keyframes overlaySlide {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  .hero h2 {
    color: #8c4a39;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    animation: textFade 1s ease-out 0.8s both;
  }
  
  .hero p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #5f4436;
    animation: textFade 1s ease-out 1s both;
  }
  
  @keyframes textFade {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  .buttons {
    margin-top: 1.5rem;
    animation: textFade 1s ease-out 1.2s both;
  }
  
  .btn, .btn-outline {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    margin: 0 0.5rem;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .btn {
    background: #d17c5d;
    color: white;
  }
  
  .btn:hover {
    background: #bb674c;
  }
  
  .btn-outline {
    border: 2px solid #d17c5d;
    color: #d17c5d;
  }
  
  .btn-outline:hover {
    background: #d17c5d;
    color: white;
  }
  
  .menu {
    padding: 3rem 2rem;
    background-color: #fdfaf5;
  }
  
  .fancy {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #8c4a39;
  }
  
  .menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .menu-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
  }
  
  .menu-img {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
  }
  
  .food-icon {
    font-size: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 100px;
    background: rgba(209, 124, 93, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .menu-card:hover .food-icon {
    transform: scale(1.1);
    background: rgba(209, 124, 93, 0.2);
  }
  
  .add-to-cart-btn {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #d17c5d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
  }
  
  .add-to-cart-btn:hover {
    background: #bb674c;
    transform: translateY(-2px);
  }
  
  .menu-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(209, 124, 93, 0.3);
    border-color: rgba(209, 124, 93, 0.2);
  }
  
  .glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    mix-blend-mode: soft-light;
  }
  
  .menu-card:hover .glow-effect {
    opacity: 1;
    transform: scale(1.1);
  }
  
  .menu-card h3 {
    margin-bottom: 0.5rem;
  }
  
  .menu-card .price {
    display: block;
    margin-top: 0.5rem;
    font-weight: bold;
    color: #ba5c43;
    font-size: 1.2rem;
  }
  
  .about {
    padding: 3rem 2rem;
    background-color: #fffdf8;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
  }
  
  .about-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .about-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  .about-section h3 {
    margin-bottom: 1rem;
    color: #8c4a39;
  }
  
  .history-section {
    background-color: rgba(209, 124, 93, 0.1);
    border-left: 4px solid #d17c5d;
  }
  
  .inspiration-section {
    background-color: rgba(95, 158, 160, 0.1);
    border-left: 4px solid cadetblue;
  }
  
  .philosophy-section {
    background-color: rgba(107, 142, 35, 0.1);
    border-left: 4px solid olivedrab;
  }
  
  .chefs {
    list-style: circle;
    padding-left: 2rem;
    margin-top: 1rem;
  }
  
  footer {
    background: #f3e4d9;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d17c5d, transparent);
  }

  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 1000px;
  }

  .footer-section {
    flex: 1;
    min-width: 200px;
    text-align: left;
  }

  .footer-section h4 {
    color: #8c4a39;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
  }
  
  .footer-section h4::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d17c5d;
    transition: width 0.3s ease;
  }
  
  .footer-section:hover h4::after {
    width: 100%;
  }

  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links li {
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
  }
  
  .footer-links li:hover {
    transform: translateX(5px);
  }

  .footer-links a {
    color: #5f4436;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer-links a:hover {
    color: #d17c5d;
  }

  .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    justify-content: center;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    background: #d17c5d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  }

  .social-icon:hover {
    transform: translateY(-5px) rotate(5deg);
    background: #bb674c;
    box-shadow: 0 8px 20px rgba(209, 124, 93, 0.4);
  }

  .newsletter-form {
    display: flex;
    margin-top: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .newsletter-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(209, 124, 93, 0.3);
  }

  .newsletter-input {
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 30px 0 0 30px;
    flex-grow: 1;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    min-width: 180px;
  }

  .newsletter-input:focus {
    background: white;
  }

  .newsletter-btn {
    background: #d17c5d;
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
  }

  .newsletter-btn:hover {
    background: #bb674c;
    letter-spacing: 1px;
  }

  .copyright {
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(95, 68, 54, 0.2);
  }
  
  .featured-items {
    padding: 4rem 2rem;
    background-color: #fffdf8;
    text-align: center;
  }
  
  .featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .featured-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(209, 124, 93, 0.2);
    border-color: rgba(209, 124, 93, 0.2);
  }
  
  .featured-card h3 {
    margin: 1rem 0 0.5rem;
    color: #8c4a39;
  }
  
  .featured-card p {
    margin-bottom: 1.5rem;
    color: #5f4436;
  }
  
  .featured-card .btn-outline {
    margin-top: auto;
  }
  
  .cart-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .clear-cart-btn {
    flex: 1;
  }
  
  .checkout-btn {
    flex: 2;
  }
  
  .confirm-clear {
    text-align: center;
  }
  
  .confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  .music-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #d17c5d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
  }
  
  .music-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(209, 124, 93, 0.4);
  }
  
  .sprite-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
  }
  
  .falling-sprite {
    position: absolute;
    top: -20px;
    animation: fall linear forwards;
    opacity: 0.7;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
  }
  
  @keyframes fall {
    0% {
      transform: translateY(-20px) rotate(0deg);
      opacity: 0;
    }
    10% {
      opacity: 0.7;
    }
    100% {
      transform: translateY(100vh) rotate(360deg);
      opacity: 0;
    }
  }
  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(209, 124, 93, 0.4);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(209, 124, 93, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(209, 124, 93, 0);
    }
  }
  
  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  .cursor-outer, .cursor-inner {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
  }
  
  .cursor-outer {
    width: 40px;
    height: 40px;
    background-color: rgba(209, 124, 93, 0.2);
    transition: transform 0.1s, width 0.3s, height 0.3s, background-color 0.3s;
  }
  
  .cursor-inner {
    width: 8px;
    height: 8px;
    background-color: #d17c5d;
    box-shadow: 0 0 10px rgba(209, 124, 93, 0.5);
  }
  
  .cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(209, 124, 93, 0.3);
  }
  
  .cursor-inner.cursor-hover {
    background-color: #fff;
  }
  
  .cursor-click {
    transform: translate(-50%, -50%) scale(0.9);
    background-color: rgba(209, 124, 93, 0.5);
  }
  
  body {
    cursor: none;
  }
  
  a, button, .menu-card, .btn, .btn-outline {
    cursor: none;
  }
  
  @media (hover: hover) {
    a, button, .menu-card, .btn, .btn-outline {
      cursor: none;
    }
  }
  
  @media (hover: none) {
    .cursor-outer, .cursor-inner {
      display: none;
    }
  }
  