body {
      box-sizing: border-box;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Roboto', sans-serif;
      overflow-x: hidden;
      width: 100%;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Orbitron', sans-serif;
    }

    /* Animations */
    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-20px); }
    }

    @keyframes glow {
      0%, 100% { box-shadow: 0 0 5px rgba(79, 195, 247, 0.5); }
      50% { box-shadow: 0 0 20px rgba(79, 195, 247, 0.8), 0 0 30px rgba(179, 136, 255, 0.6); }
    }

    @keyframes slideInLeft {
      from { opacity: 0; transform: translateX(-50px); }
      to { opacity: 1; transform: translateX(0); }
    }

    @keyframes slideInRight {
      from { opacity: 0; transform: translateX(50px); }
      to { opacity: 1; transform: translateX(0); }
    }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes typing {
      from { width: 0; }
      to { width: 100%; }
    }

    @keyframes blink {
      50% { border-color: transparent; }
    }

    .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .animate-on-scroll.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .floating-icon {
      position: absolute;
      animation: float 3s ease-in-out infinite;
      opacity: 0.3;
    }

    .game-card {
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .game-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 20px 40px rgba(79, 195, 247, 0.3);
    }

    .game-card-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(79, 195, 247, 0.9), rgba(179, 136, 255, 0.9));
      opacity: 0;
      transition: opacity 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .game-card:hover .game-card-overlay {
      opacity: 1;
    }

    .category-card {
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .category-card:hover {
      transform: perspective(1000px) rotateY(5deg) rotateX(5deg);
      box-shadow: 0 15px 35px rgba(179, 136, 255, 0.4);
    }

    .typewriter {
      overflow: hidden;
      border-right: 3px solid;
      white-space: nowrap;
      animation: typing 3.5s steps(40, end), blink 0.75s step-end infinite;
      display: inline-block;
    }

    .glassmorphism {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .neon-glow {
      animation: glow 2s ease-in-out infinite;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      animation: fadeInUp 0.3s ease-out;
    }

    .modal.active {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .modal-content {
      background: linear-gradient(135deg, #1a1a2e, #16213e);
      padding: 2rem;
      border-radius: 20px;
      max-width: 500px;
      width: 90%;
      animation: fadeInUp 0.4s ease-out;
    }

    .chatbot-button {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: linear-gradient(135deg, #4FC3F7, #B388FF);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 5px 20px rgba(79, 195, 247, 0.5);
      z-index: 999;
      transition: all 0.3s ease;
    }

    .chatbot-button:hover {
      transform: scale(1.1);
      box-shadow: 0 8px 30px rgba(179, 136, 255, 0.6);
    }

    .chatbot-window {
      display: none;
      position: fixed;
      bottom: 100px;
      right: 30px;
      width: 350px;
      height: 500px;
      background: white;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
      z-index: 998;
      flex-direction: column;
      overflow: hidden;
    }

    .chatbot-window.active {
      display: flex;
      animation: fadeInUp 0.3s ease-out;
    }

    .chatbot-header {
      background: linear-gradient(135deg, #4FC3F7, #B388FF);
      padding: 1rem;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .chatbot-messages {
      flex: 1;
      overflow-y: auto;
      padding: 1rem;
      background: #f5f5f7;
    }

    .chatbot-message {
      margin-bottom: 1rem;
      animation: fadeInUp 0.3s ease-out;
    }

    .chatbot-message.bot {
      text-align: left;
    }

    .chatbot-message.user {
      text-align: right;
    }

    .message-bubble {
      display: inline-block;
      padding: 0.75rem 1rem;
      border-radius: 15px;
      max-width: 80%;
    }

    .message-bubble.bot {
      background: linear-gradient(135deg, #4FC3F7, #B388FF);
      color: white;
    }

    .message-bubble.user {
      background: #333;
      color: white;
    }

    .chatbot-input {
      padding: 1rem;
      background: white;
      border-top: 1px solid #ddd;
      display: flex;
      gap: 0.5rem;
    }

    .nav-link {
      position: relative;
      color: #333;
      transition: color 0.3s ease;
    }

    .nav-link:after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: -5px;
      left: 0;
      background: linear-gradient(90deg, #4FC3F7, #B388FF);
      transition: width 0.3s ease;
    }

    .nav-link:hover:after,
    .nav-link.active:after {
      width: 100%;
    }

    .carousel-container {
      overflow-x: auto;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
      scrollbar-color: #4FC3F7 #f5f5f7;
    }

    .carousel-container::-webkit-scrollbar {
      height: 8px;
    }

    .carousel-container::-webkit-scrollbar-track {
      background: #f5f5f7;
    }

    .carousel-container::-webkit-scrollbar-thumb {
      background: linear-gradient(90deg, #4FC3F7, #B388FF);
      border-radius: 10px;
    }

    .counter {
      font-size: 3rem;
      font-weight: 900;
      background: linear-gradient(135deg, #4FC3F7, #B388FF);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    @media (max-width: 768px) {
      .typewriter {
        font-size: 1.5rem;
      }
      
      .chatbot-window {
        width: 90%;
        right: 5%;
      }
      
      .counter {
        font-size: 2rem;
      }
    }
