  :root {
    --primary: #001f3f;
    --secondary: #ffffff;
    --accent: #001f3f;
    --light: #f8fafc;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border: rgba(0, 31, 63, 0.1);
    --shadow-light: rgba(0, 31, 63, 0.05);
    --shadow-medium: rgba(0, 31, 63, 0.1);
    --shadow-heavy: rgba(0, 31, 63, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: "Vazirmatn", sans-serif;
    background: rgb(235, 237, 252);
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.6;
    color: var(--text-primary);
    position: relative;
    scroll-behavior: smooth;
    min-width: 300px;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  /* Header - Mobile Optimized */
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.08);
    backdrop-filter: blur(10px);
  }

  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
  }

  .logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px var(--shadow-light);
    overflow: hidden;
    flex-shrink: 0;
  }

  .logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

  .logo-text {
    flex: 1;
    min-width: 0;
  }

  .logo-text h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Login Button */
  .login-btn {
    background: linear-gradient(135deg, var(--primary), #003366);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 31, 63, 0.2);
    font-size: 0.8rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 31, 63, 0.3);
    background: linear-gradient(135deg, #003366, #0066cc);
  }

  /* Main Content */
  .main {
    padding: 2rem 0;
  }

  /* Gallery Slider */
  .gallery {
    margin-bottom: 4rem;
  }

  .slider-container {
    position: relative;
    height: 84vh;
    min-height: 300px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px var(--shadow-light);
  }

  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
  }

  .slide.active {
    opacity: 1;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Hero Section */
  .hero {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px var(--shadow-light);
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
  }

  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .stat {
    text-align: center;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    min-width: 130px;
  }

  .stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-medium);
  }

  .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
  }

  .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
  }

  /* Section Titles */
  .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2.5rem;
    position: relative;
  }

  .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), #003366);
    margin: 1rem auto 0;
    border-radius: 2px;
  }

  /* Services Section */
  .services {
    margin-bottom: 4rem;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .service-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.8rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.08);
  }

  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.12);
  }

  .service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--primary), #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
  }

  .service-card:hover .service-icon {
    transform: scale(1.05);
  }

  .service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
  }

  .service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
  }

  /* Teachers Section */
  .teachers-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px var(--shadow-light);
  }

  .teachers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
  }

  .teacher-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.05);
  }

  .teacher-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 31, 63, 0.1);
  }

  .teacher-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.3s ease;
  }

  .teacher-card:hover .teacher-avatar {
    transform: scale(1.05);
  }

  .teacher-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
  }

  .teacher-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
  }

  /* Contact Info Section */
  .contact-info {
    margin-bottom: 4rem;
  }

  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
  }

  .info-card {
    background: rgba(230, 247, 252, 0.966);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.08);
  }

  .info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 31, 63, 0.12);
  }

  .card-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
  }

  .info-card:hover .card-icon {
    transform: scale(1.05);
  }

  .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
  }

  .card-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
  }

  .contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    margin-bottom: 0.6rem;
    transition: all 0.2s ease;
  }

  .contact-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(-4px);
  }

  .contact-item .label {
    font-weight: 600;
    color: var(--text-primary);
  }

  .contact-item .value {
    color: var(--primary);
    font-weight: 600;
    direction: ltr;
  }

  .address {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
  }

  /* Footer */
  .footer {
    background: linear-gradient(135deg, var(--primary), #003366);
    color: white;
    padding: 2.5rem 0 1rem;
    position: relative;
    overflow: hidden;
  }

  .footer-content {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .footer-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: white;
  }

  .footer-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.2rem;
    text-align: center;
  }

  .footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
  }

  /* Teacher Modal */
  .teacher-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: modalFadeIn 0.3s ease-out;
    overflow: hidden;
  }

  .teacher-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .teacher-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.8);
    transition: all 0.2s ease;
  }

  .teacher-modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 31, 63, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    height: auto;
    max-height: 80vh;
    padding: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 31, 63, 0.2);
    animation: modalSlideIn 0.3s ease-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .teacher-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary), #003366);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 31, 63, 0.2);
    font-size: 16px;
  }

  .teacher-close-btn:hover {
    background: linear-gradient(135deg, #003366, #0066cc);
    transform: scale(1.05);
  }

  .teacher-modal-body {
    padding: 1.5rem 0.5rem 1rem;
    text-align: center;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .teacher-modal-body h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
  }

  .teacher-modal-body .teacher-subject {
    display: block;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
  }

  .teacher-detail {
    margin-bottom: 0.8rem;
    text-align: right;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 31, 63, 0.08);
    border-radius: 8px;
    padding: 0.8rem;
  }

  .teacher-detail h4 {
    color: var(--primary);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
  }

  .teacher-detail p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
  }

  .teacher-bio {
    margin-top: 0.8rem;
    text-align: right;
    background: linear-gradient(135deg, rgba(0, 31, 63, 0.05), rgba(0, 102, 204, 0.05));
    border: 1px solid rgba(0, 31, 63, 0.1);
    border-radius: 10px;
    padding: 1rem;
  }

  .teacher-bio h4 {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
  }

  .teacher-bio p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
  }

  /* Top Banner Section */
  .top-banner-section {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 31, 63, 0.1);
  }

  .top-banner-section picture,
  .top-banner-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  /* Schedule Banner */
  .schedule-banner {
    margin: 1.2rem 0;
    padding: 0 1rem;
  }

  .banner-link {
    display: block;
    text-decoration: none;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(30, 100, 200, 0.15);
    transition: all 0.2s ease;
    border: 1px solid #90caf9;
    max-width: 100%;
    margin: 0 auto;
  }

  .banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 100, 200, 0.25);
    background: linear-gradient(135deg, #e8f4ff, #c3e0ff);
  }

  .banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .banner-text {
    text-align: center;
    flex: 1;
  }

  .banner-text h2 {
    color: #1565c0;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
  }

  .banner-subtitle {
    color: #547cb4;
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
  }

  /* Animations */
  @keyframes modalFadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  @keyframes modalSlideIn {
    from {
      transform: scale(0.95) translateY(10px);
      opacity: 0;
    }
    to {
      transform: scale(1) translateY(0);
      opacity: 1;
    }
  }

  /* Responsive Design - Mobile First */
  @media (max-width: 768px) {
    .header {
      padding: 0.7rem 0;
    }
    
    .header-content {
      gap: 0.6rem;
    }
    
    .logo {
      gap: 0.6rem;
    }
    
    .logo-circle {
      width: 45px;
      height: 45px;
    }
    
    .logo-text h1 {
      font-size: 1rem;
    }
    
    .logo-text p {
      font-size: 0.7rem;
    }
    
    .login-btn {
      padding: 0.5rem 0.8rem;
      font-size: 0.75rem;
    }
    
    .slider-container {
      height: 40vh;
      min-height: 250px;
      border-radius: 12px;
    }

    .hero {
      padding: 2rem 1rem;
    }

    .hero-stats {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }

    .stat {
      width: 100%;
      max-width: 180px;
    }

    .services-grid {
      grid-template-columns: 1fr;
    }

    .service-card {
      padding: 1.5rem;
    }

    .service-icon {
      width: 60px;
      height: 60px;
      font-size: 1.5rem;
    }

    .teachers-section {
      padding: 2rem 1rem;
    }

    .teacher-card {
      flex-direction: column;
      text-align: center;
      gap: 0.75rem;
    }

    .info-card {
      padding: 1.2rem;
    }

    .card-header {
      flex-direction: column;
      text-align: center;
      gap: 0.75rem;
    }

    .teacher-modal-content {
      width: 95%;
      padding: 1.2rem;
    }

    .schedule-banner {
      margin: 1rem 0;
      padding: 0 0.8rem;
    }

    .banner-link {
      padding: 0.8rem 1.2rem;
    }

    .banner-text h2 {
      font-size: 1.3rem;
    }
  }

  @media (max-width: 480px) {
    .header {
      padding: 0.6rem 0;
    }
    
    .logo-circle {
      width: 40px;
      height: 40px;
    }
    
    .logo-text h1 {
      font-size: 0.9rem;
    }
    
    .login-btn {
      padding: 0.5rem 0.8rem;
      font-size: 0.7rem;
    }
    
    .login-btn span {
      display: inline;
    }

    .slider-container {
      height: 35vh;
      min-height: 140px;
    }

    .hero {
      padding: 1.5rem 1rem;
    }

    .section-title {
      font-size: 1.7rem;
      margin-bottom: 2rem;
    }

    .info-grid {
      grid-template-columns: 1fr;
    }

    .teacher-modal-body {
      padding: 1.2rem 0.5rem 1rem;
    }

    .schedule-banner {
      margin: 0.8rem 0;
      padding: 0 0.5rem;
    }

    .banner-link {
      padding: 0.7rem 1rem;
    }

    .banner-text h2 {
      font-size: 1.2rem;
    }
  }

  /* برای نمایش بهتر در موبایل‌های با عرض کم (300px - 400px) */
  @media (max-width: 400px) {
    .container {
      padding: 0 0.8rem;
    }
    
    .logo-text h1 {
      font-size: 0.85rem;
    }
    
    .logo-text p {
      font-size: 0.65rem;
    }
    
    .login-btn {
      padding: 0.5rem 0.7rem;
      font-size: 0.65rem;
      gap: 0.3rem;
    }
    
    .hero-title {
      font-size: 1.5rem;
    }
    
    .hero-subtitle {
      font-size: 0.9rem;
    }
    
    .section-title {
      font-size: 1.5rem;
    }
    
    .service-card h3 {
      font-size: 1.1rem;
    }
    
    .service-card p {
      font-size: 0.85rem;
    }
    
    .teachers-list {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    
    .teacher-card {
      padding: 1rem;
    }
    
    .info-card {
      padding: 1rem;
    }
    
    .contact-item {
      padding: 0.6rem;
      font-size: 0.85rem;
    }
    
    .footer-info h3 {
      font-size: 1.1rem;
    }
    
    .footer-info p {
      font-size: 0.85rem;
    }
  }

  /* برای نمایش بهتر در موبایل‌های با عرض بسیار کم (300px و کمتر) */
  @media (max-width: 300px) {
    .container {
      padding: 0 0.5rem;
    }
    
    .header {
      padding: 0.5rem 0;
    }
    
    .logo {
      gap: 0.4rem;
    }
    
    .logo-circle {
      width: 35px;
      height: 35px;
    }
    
    .logo-text h1 {
      font-size: 0.75rem;
    }
    
    .logo-text p {
      font-size: 0.6rem;
    }
    
    .login-btn {
      padding: 0.4rem 0.6rem;
      font-size: 0.6rem;
    }
    
    .login-btn span {
      display: inline;
    }
    
    .main {
      padding: 1rem 0;
    }
    
    .slider-container {
      height: 30vh;
      min-height: 120px;
      border-radius: 8px;
    }
    
    .hero {
      padding: 1rem 0.8rem;
      border-radius: 16px;
    }
    
    .hero-title {
      font-size: 1.3rem;
      margin-bottom: 1rem;
    }
    
    .hero-subtitle {
      font-size: 0.8rem;
      margin-bottom: 1.5rem;
    }
    
    .stat {
      padding: 0.8rem;
      min-width: 100px;
    }
    
    .stat-number {
      font-size: 1.5rem;
    }
    
    .stat-label {
      font-size: 0.75rem;
    }
    
    .section-title {
      font-size: 1.3rem;
      margin-bottom: 1.5rem;
    }
    
    .service-card {
      padding: 1rem;
    }
    
    .service-icon {
      width: 50px;
      height: 50px;
      font-size: 1.2rem;
    }
    
    .service-card h3 {
      font-size: 1rem;
    }
    
    .service-card p {
      font-size: 0.8rem;
    }
    
    .teachers-section {
      padding: 1.5rem 1rem;
    }
    
    .teacher-card {
      padding: 0.8rem;
    }
    
    .teacher-avatar {
      width: 45px;
      height: 45px;
      font-size: 1.1rem;
    }
    
    .teacher-info h3 {
      font-size: 0.9rem;
    }
    
    .teacher-info p {
      font-size: 0.75rem;
    }
    
    .info-card {
      padding: 1rem;
    }
    
    .card-icon {
      width: 45px;
      height: 45px;
      font-size: 1.1rem;
    }
    
    .card-header h3 {
      font-size: 1rem;
    }
    
    .contact-item {
      padding: 0.5rem;
      font-size: 0.75rem;
    }
    
    .address {
      font-size: 0.9rem;
    }
    
    .footer {
      padding: 1.5rem 0 0.8rem;
    }
    
    .footer-info h3 {
      font-size: 1rem;
    }
    
    .footer-info p {
      font-size: 0.8rem;
    }
    
    .footer-bottom p {
      font-size: 0.75rem;
    }
    
    .banner-link {
      padding: 0.6rem 0.8rem;
    }
    
    .banner-text h2 {
      font-size: 1rem;
    }
    
    .banner-subtitle {
      font-size: 0.75rem;
    }
  }






















  /* استایل‌های جدید برای دکمه‌های تورنومنت */
  .tournament-buttons-section {
    margin: 2rem 0;
  }

  .tournament-buttons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .tournament-btn {
    display: block;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(230, 247, 252, 0.95));
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 31, 63, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 31, 63, 0.1);
    position: relative;
    overflow: hidden;
  }

  .tournament-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), #003366);
    border-radius: 0 16px 16px 0;
  }

  .tournament-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 31, 63, 0.2);
  }

  .tournament-btn-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
  }

  .tournament-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.2);
    transition: all 0.3s ease;
  }

  .tournament-btn:hover .tournament-icon {
    transform: scale(1.1) rotate(5deg);
  }

  .foosball-btn .tournament-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  }

  .match-btn .tournament-icon {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
  }

  .tournament-text {
    flex: 1;
    text-align: right;
  }

  .tournament-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
  }

  .tournament-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
  }

  .tournament-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 31, 63, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .tournament-btn:hover .tournament-arrow {
    background: var(--primary);
    color: white;
    transform: translateX(-5px);
  }

  /* افکت‌های ویژه برای دکمه‌ها */
  .foosball-btn {
    position: relative;
    overflow: hidden;
  }

  .foosball-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .foosball-btn:hover::after {
    opacity: 1;
  }

  .match-btn {
    position: relative;
    overflow: hidden;
  }

  .match-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
  }

  .match-btn:hover::after {
    transform: translateX(100%);
  }

  /* ریسپانسیو برای موبایل */
  @media (max-width: 768px) {
    .tournament-buttons-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tournament-btn {
        padding: 1.2rem;
    }
    
    .tournament-btn-content {
        gap: 1rem;
    }
    
    .tournament-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .tournament-text h3 {
        font-size: 1.2rem;
    }
    
    .tournament-text p {
        font-size: 0.85rem;
    }
    
    .tournament-arrow {
        width: 35px;
        height: 35px;
    }
  }

  @media (max-width: 480px) {
    .tournament-btn {
        padding: 1rem;
    }
    
    .tournament-btn-content {
        gap: 0.8rem;
    }
    
    .tournament-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .tournament-text h3 {
        font-size: 1.1rem;
    }
    
    .tournament-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
  } 

















  /* استایل‌های جدید برای دکمه تورنومنت ویژه */
.special-tournament-section {
  margin: 2rem 0 3rem;
}

.special-tournament-btn {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #1a3a5f, #2c5282, #4a90e2);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow: 0 15px 35px rgba(41, 98, 255, 0.2);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  min-height: 140px;
}

.special-tournament-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.special-tournament-btn:hover::before {
  transform: translateX(100%);
}

.special-tournament-btn:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(41, 98, 255, 0.3);
  background: linear-gradient(135deg, #2c5282, #4a90e2, #63b3ed);
}

.special-tournament-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  height: 100%;
}

.special-tournament-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: white;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 165, 0, 0.9));
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.special-tournament-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.special-tournament-btn:hover .special-tournament-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 25px rgba(255, 215, 0, 0.6);
}

.special-tournament-btn:hover .special-tournament-icon::before {
  opacity: 1;
}

.special-tournament-text {
  flex: 1;
  text-align: right;
  color: white;
}

.special-tournament-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to right, #ffffff, #e6f7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.special-tournament-text p {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.9;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.special-tournament-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.4s ease;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.special-tournament-btn:hover .special-tournament-arrow {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-8px);
  border-color: rgba(255, 255, 255, 0.5);
}

.special-tournament-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #ff4757, #ff3742);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(255, 71, 87, 0.4);
  animation: pulse 2s infinite;
  z-index: 3;
}

@keyframes pulse {
  0% {
      transform: scale(1);
      box-shadow: 0 4px 10px rgba(255, 71, 87, 0.4);
  }
  50% {
      transform: scale(1.05);
      box-shadow: 0 6px 15px rgba(255, 71, 87, 0.6);
  }
  100% {
      transform: scale(1);
      box-shadow: 0 4px 10px rgba(255, 71, 87, 0.4);
  }
}

.special-tournament-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
  border-radius: 20px;
}

.background-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: -30px;
  right: -30px;
  animation-delay: 0s;
}

.shape-2 {
  width: 70px;
  height: 70px;
  bottom: -20px;
  left: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 50px;
  height: 50px;
  top: 50%;
  left: -20px;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
      transform: translateY(0) rotate(0deg);
  }
  50% {
      transform: translateY(-10px) rotate(180deg);
  }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .special-tournament-section {
      margin: 1.5rem 0 2rem;
  }
  
  .special-tournament-btn {
      padding: 1.5rem;
      min-height: 120px;
  }
  
  .special-tournament-content {
      gap: 1rem;
  }
  
  .special-tournament-icon {
      width: 60px;
      height: 60px;
      font-size: 1.8rem;
  }
  
  .special-tournament-text h2 {
      font-size: 1.5rem;
  }
  
  .special-tournament-text p {
      font-size: 0.95rem;
  }
  
  .special-tournament-arrow {
      width: 40px;
      height: 40px;
  }
  
  .special-tournament-badge {
      top: 0.8rem;
      left: 0.8rem;
      padding: 0.3rem 0.8rem;
      font-size: 0.7rem;
  }
  
  .shape-1 {
      width: 80px;
      height: 80px;
  }
  
  .shape-2 {
      width: 50px;
      height: 50px;
  }
  
  .shape-3 {
      width: 40px;
      height: 40px;
  }
}

@media (max-width: 480px) {
  .special-tournament-btn {
      padding: 1.2rem;
      min-height: 100px;
  }
  
  .special-tournament-content {
      gap: 0.8rem;
  }
  
  .special-tournament-icon {
      width: 50px;
      height: 50px;
      font-size: 1.5rem;
  }
  
  .special-tournament-text h2 {
      font-size: 1.3rem;
  }
  
  .special-tournament-text p {
      font-size: 0.85rem;
  }
  
  .special-tournament-arrow {
      width: 35px;
      height: 35px;
      font-size: 0.9rem;
  }
  
  .special-tournament-badge {
      top: 0.6rem;
      left: 0.6rem;
      padding: 0.2rem 0.6rem;
      font-size: 0.65rem;
  }
}













/* کانتینر اصلی نقشه */
.clean-map-container {
  margin-top: 1.5rem;
  text-align: center;
}

/* لینک قابل کلیک */
.clean-map-link {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}



/* خود تصویر نقشه */
.clean-map-img {
  width: 100%;
  
  height: auto;
  border-radius: 18px;
  display: block;
  filter: grayscale(15%) contrast(110%);
  transition: all 0.3s ease;
}

.clean-map-link:hover .clean-map-img {
  filter: grayscale(0%) contrast(120%);
}

/* لایه نیمه شفاف هنگام هاور */
.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .3s ease;
}

.clean-map-link:hover .map-overlay {
  background: rgba(0,0,0,0.15);
  opacity: 1;
}

/* نوشته داخل هاور */
.overlay-content {
  background: rgba(255,255,255,0.95);
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #003366;
  font-weight: 600;
  font-size: .85rem;
  transform: translateY(10px);
  transition: all .3s ease;
}

.clean-map-link:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content i {
  font-size: 1rem;
}

/* توضیح زیر نقشه (اختیاری) */
.map-guide-text {
  margin-top: .7rem;
  font-size: .85rem;
  color: #6c757d;
}

/* حالت موبایل */
@media (max-width: 600px) {
  .clean-map-link {
      border-radius: 14px;
  }
  .clean-map-img {
      border-radius: 14px;
  }
  .overlay-content {
      padding: .5rem 1rem;
      font-size: .8rem;
  }
}

/* حالت خیلی کوچک */
@media (max-width: 350px) {
  .clean-map-link {
      border-radius: 10px;
  }
  .clean-map-img {
      border-radius: 10px;
  }
}
