/* === BASE STYLES === */:root {
      --primary: #FF5E57;
      --secondary: #2A2D3A;
      --accent: #00D9FF;
      --success: #00FF88;
      --warning: #FFB800;
      --dark: #1A1B26;
      --light: #F8F9FA;
      --gradient-primary: linear-gradient(135deg, #FF5E57 0%, #FF8A00 100%);
      --gradient-accent: linear-gradient(135deg, #00D9FF 0%, #0099FF 100%);
      --gradient-dark: linear-gradient(180deg, #2A2D3A 0%, #1A1B26 100%);
      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
      --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
      --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
      --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
      --border-radius: 16px;
      --border-radius-sm: 8px;
      --border-radius-lg: 24px;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      overflow-x: hidden;
      max-width: 100vw;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      background: var(--dark);
      color: var(--light);
      line-height: 1.6;
    }

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

    h1, h2, h3, h4, h5, h6 {
      font-weight: 700;
      line-height: 1.2;
      color: var(--light);
    }

    h1 { 
      font-size: clamp(2.5rem, 5vw, 4.5rem); 
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 1.5rem;
    }

    h2 { 
      font-size: clamp(2rem, 4vw, 3rem);
      margin-bottom: 1.5rem;
      position: relative;
      padding-bottom: 1rem;
    }

    h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 80px;
      height: 4px;
      background: var(--gradient-accent);
      border-radius: 2px;
    }

    h3 { 
      font-size: clamp(1.5rem, 3vw, 2rem);
      margin-bottom: 1rem;
      color: var(--accent);
    }

    p {
      margin-bottom: 1.25rem;
      color: rgba(248, 249, 250, 0.85);
      font-size: 1.05rem;
    }

    a {
      color: var(--accent);
      text-decoration: none;
      transition: var(--transition);
    }

    a:hover {
      color: var(--primary);
      text-decoration: underline;
    }

    .btn {
      display: inline-block;
      padding: 14px 32px;
      font-size: 1.1rem;
      font-weight: 600;
      text-align: center;
      text-decoration: none;
      border-radius: var(--border-radius-sm);
      transition: var(--transition);
      cursor: pointer;
      border: none;
      position: relative;
      overflow: hidden;
    }

    .btn-primary {
      background: var(--gradient-primary);
      color: white;
      box-shadow: 0 4px 15px rgba(255, 94, 87, 0.4);
      transform: translateY(0);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(255, 94, 87, 0.6);
      color: white;
      text-decoration: none;
    }

    .btn-primary::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    .btn-primary:active::before {
      width: 300px;
      height: 300px;
    }

    .btn-secondary {
      background: transparent;
      color: var(--accent);
      border: 2px solid var(--accent);
    }

    .btn-secondary:hover {
      background: var(--accent);
      color: var(--dark);
      box-shadow: 0 4px 20px rgba(0, 217, 255, 0.4);
    }

    .card {
      background: linear-gradient(145deg, #2A2D3A, #1F2029);
      border-radius: var(--border-radius);
      padding: 2rem;
      box-shadow: var(--shadow-lg);
      transition: var(--transition);
      border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-xl);
      border-color: var(--accent);
    }

    .table-responsive {
      overflow-x: auto;
      margin: 1.5rem 0;
      border-radius: var(--border-radius-sm);
      background: rgba(42, 45, 58, 0.3);
      padding: 1rem;
    }

    table {
      width: 100%;
      border-collapse: collapse;
    }

    th, td {
      padding: 1rem;
      text-align: left;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    th {
      background: rgba(0, 217, 255, 0.1);
      color: var(--accent);
      font-weight: 600;
    }

    .content-image {
      max-width: 100%;
      margin: 1.5rem auto;
      text-align: center;
    }

    .content-image img {
      max-width: 100%;
      height: auto;
      max-height: 400px;
      object-fit: contain;
      border-radius: var(--border-radius-sm);
      box-shadow: var(--shadow-lg);
    }

    .content-image.portrait img {
      max-height: 350px;
      max-width: 300px;
    }

    .content-image.wide img {
      max-height: 300px;
      max-width: 100%;
    }

    .content-image figcaption {
      margin-top: 0.5rem;
      font-size: 0.875rem;
      opacity: 0.8;
    }

    /* === LAYOUT STYLES === */
    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(26, 27, 38, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding: 1rem 0;
    }

    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 2rem;
    }

    .logo {
      flex-shrink: 0;
    }

    .logo-text {
      font-size: 1.75rem;
      font-weight: 800;
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.5px;
    }

    .main-navigation {
      flex-grow: 1;
      display: flex;
      justify-content: center;
    }

    .nav-list {
      display: flex;
      list-style: none;
      gap: 2.5rem;
      margin: 0;
      padding: 0;
    }

    .nav-list a {
      color: var(--light);
      font-weight: 500;
      font-size: 1rem;
      position: relative;
      transition: var(--transition);
    }

    .nav-list a::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--gradient-accent);
      transition: width 0.3s;
    }

    .nav-list a:hover {
      color: var(--accent);
      text-decoration: none;
    }

    .nav-list a:hover::after {
      width: 100%;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .hamburger-menu {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 30px;
      height: 24px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
    }

    .hamburger-menu span {
      width: 100%;
      height: 3px;
      background: var(--light);
      border-radius: 2px;
      transition: var(--transition);
    }

    .hamburger-menu[aria-expanded="true"] span:first-child {
      transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger-menu[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
    }

    .hamburger-menu[aria-expanded="true"] span:last-child {
      transform: rotate(-45deg) translate(8px, -8px);
    }

    footer {
      background: var(--gradient-dark);
      padding: 3rem 0;
      margin-top: 5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-nav {
      text-align: center;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      list-style: none;
      gap: 2rem;
      flex-wrap: wrap;
      padding: 0;
      margin: 0;
    }

    .footer-links a {
      color: rgba(248, 249, 250, 0.7);
      font-size: 0.95rem;
      transition: var(--transition);
    }

    .footer-links a:hover {
      color: var(--accent);
    }

    @media (max-width: 767px) {
      header {
        padding: 0.75rem 0;
      }

      .header-container {
        flex-wrap: wrap;
      }

      .main-navigation {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 1rem;
      }

      .main-navigation.active {
        display: block;
      }

      .nav-list {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
      }

      .hamburger-menu {
        display: flex;
      }

      .header-actions .btn-primary {
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .footer-links {
        flex-direction: column;
        gap: 1rem;
      }
    }

@media (max-width: 767px) {
      header {
        padding: 0.75rem 0;
      }

      .header-container {
        flex-wrap: wrap;
      }

      .main-navigation {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 1rem;
      }

      .main-navigation.active {
        display: block;
      }

      .nav-list {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
      }

      .hamburger-menu {
        display: flex;
      }

      .header-actions .btn-primary {
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .footer-links {
        flex-direction: column;
        gap: 1rem;
      }
    }