@charset "utf-8";

    :root {
      --primary-color: #fff;
      --secondary-color: #457b9d;
      --background-color: #f1faee;
      --dark-color: #1d3557;
      --light-color: #a8dadc;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Helvetica Neue', Arial, sans-serif;
    }

    body {
      background-color: var(--background-color);
      color: var(--dark-color);
      line-height: 1.6;
    }

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



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

    .logo {
      display: flex;
      align-items: center;
    }

    /* Hero Section */
    .hero {
      background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/bg.jpg') no-repeat center center/cover;
      height: 600px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: white;
      padding: 0 20px;
      margin-bottom: 100px;
    }

    .hero h2 {
    }

    .hero p {
      font-size: 2.0rem;
      max-width: 600px;
    }

    /* Main Content */
    .main-content {
      padding: 20px 0 60px;
    }

    .tools-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-bottom: 60px;
    }

    .tool-card {
      background-color: rgba(0, 0, 0, 0.45);
      border-radius: 10px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: transform 0.3s;
      text-align: center;
    }

    .tool-card:hover {
      transform: translateY(-5px);
    }

    .tool-img {
      height: 160px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
    }

    .tool-content {
      padding: 20px;
    }

    .tool-content h3 {
      font-size: 2.0rem;
      margin-bottom: 15px;
      color: #fff;
    }

    .tool-content p {
      font-size: 1.6rem;
      color: #fff;
      margin-bottom: 20px;
      text-align: left;
      line-height: 2;
    }

    .btn {
      display: inline-block;
      background-color: #c1121f;
      color: white;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-size: 1.6rem;
      font-weight: 700;
      transition: background-color 0.3s;

      background-color: #40a0ff;
      color: #fff;
      background-color: #0d0300;
      border: 2px solid #666;

    }

    .btn:hover {
      opacity: .5;
      transform: translateY(-2px);
    }

    .section-title {
      text-align: center;
      margin-bottom: 40px;
    }

    .section-title h2 {
      font-size: 2.6rem;
      color: var(--primary-color);
      position: relative;
      display: inline-block;
      padding-bottom: 10px;
    }

    .section-title h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background-color: var(--primary-color);
    }

    /* Rankings Section */
    .rankings {
      padding: 20px 0 60px;
    }

    .rankings-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-bottom: 40px;
    }

    .ranking-link-card {
      background-color: rgba(0, 0, 0, 0.45);
      border-radius: 10px;
      padding: 30px 25px;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s;
      text-align: center;
    }

    .ranking-link-card:hover {
      transform: translateY(-5px);
    }

    .ranking-icon {
      font-size: 3rem;
      margin-bottom: 20px;
      color: var(--secondary-color);
    }

    .ranking-link-card h3 {
      font-size: 2.0rem;
      margin-bottom: 15px;
      color: #fff;
    }

    .ranking-link-card p {
      font-size: 1.6rem;
      color: #fff;
      margin-bottom: 20px;
      line-height: 2;
      text-align: left;
    }

    /* Footer */
    footer {
      background-color: var(--dark-color);
      color: white;
      padding: 30px 0;
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .footer-logo {
      display: flex;
      align-items: center;
    }

    .footer-logo img {
      height: 40px;
      margin-right: 10px;
    }


    .footer-copyright {
      font-size: 1.2rem;
      color: #aaa;
    }

    /* Media Queries */
    @media (max-width: 768px) {
      .header-container {
        flex-direction: column;
        text-align: center;
      }

      .logo {
        margin-bottom: 15px;
        justify-content: center;
      }

      .hero h2 {
        font-size: 3.6rem;
      }

      .hero p {
        font-size: 1.6rem;
      }

      .footer-content {
        flex-direction: column;
        text-align: center;
      }

      .footer-logo {
        margin-bottom: 15px;
        justify-content: center;
      }
    }