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

        body {
            font-family: 'Segoe UI', 'Tahoma', 'IRANSans', 'B Nazanin', 'Tahoma', sans-serif;
            background: #f5f9ff;
            color: #1a405e;
            line-height: 1.5;
        }
.ltr {
	 direction: ltr;
}

        /* ===== منوی کرکره‌ای ===== */
        .navbar {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.94);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(30, 74, 118, 0.08);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0.9rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 600;
            color: #1a5480;
            letter-spacing: -0.3px;
        }

        .logo span {
            color: #e8a72b;
            font-weight: 700;
        }

        .hamburger {
            display: flex;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 8px;
            background: rgba(26, 84, 128, 0.05);
            border-radius: 12px;
            transition: 0.2s;
        }

        .hamburger:hover {
            background: rgba(26, 84, 128, 0.1);
        }

        .hamburger span {
            width: 26px;
            height: 2px;
            background: #1a5480;
            border-radius: 2px;
        }

        .side-menu {
            position: fixed;
            top: 0;
            right: -320px;
            width: 300px;
            height: 100%;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
            padding: 5rem 1.8rem;
            transition: 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            z-index: 102;
            overflow-y: auto;
            border-right: 1px solid rgba(30, 74, 118, 0.1);
        }

        .side-menu ul {
            list-style: none;
        }

        .side-menu li {
            margin-bottom: 1.5rem;
        }

        .side-menu > ul > li > a {
            text-decoration: none;
            color: #1a5480;
            font-size: 1.1rem;
            font-weight: 500;
            display: block;
        }

        .submenu-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }

        .submenu-toggle span:first-child {
            font-size: 1.1rem;
            font-weight: 500;
            color: #1a5480;
        }

        .arrow {
            font-size: 0.8rem;
            color: #8aa9c2;
        }

        .submenu {
            padding-right: 1.2rem;
            margin-top: 0.8rem;
            display: none;
        }

        .submenu.show {
            display: block;
        }

        .submenu li {
            margin-bottom: 0.8rem;
        }

        .submenu a {
            text-decoration: none;
            font-size: 0.9rem;
            color: #5a7f9e;
        }

        .side-menu.open {
            right: 0;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 64, 94, 0.25);
            backdrop-filter: blur(4px);
            z-index: 101;
            opacity: 0;
            visibility: hidden;
        }

        .overlay.show {
            opacity: 1;
            visibility: visible;
        }

        /* ===== بخش اصلی ===== */
        .hero {
            max-width: 1000px;
            margin: 2.5rem auto 1.5rem;
            padding: 0 1.5rem;
            text-align: center;
        }

        .hero h1 {
            font-size: 2rem;
            font-weight: 500;
            color: #1a5480;
        }

        .hero p {
            color: #6b8dab;
            font-size: 0.9rem;
        }

        /* باکس‌های مربعی */
        .grid {
            max-width: 1000px;
            margin: 2rem auto;
            padding: 0 1.5rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
            gap: 1.5rem;
        }

        .card {
            background: #ffffff;
            border-radius: 1.2rem;
            aspect-ratio: 1 / 0.95;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: #1a405e;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
            border: 1px solid #6A83D0;
            transition: 0.25s ease;
            padding: 1.2rem;
            text-align: center;
        }
		.card2 {
            background: #ffffff;
            border-radius: 0.7rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: #1a405e;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
            border: 1px solid #6A83D0;
            transition: 0.25s ease;
            padding: 0.2rem;
            text-align: center;
			width: 100px;
			cursor: pointer;
        }

        .card:hover {
            transform: translateY(-4px);
            border-color: #d4e3f5;
        }

        .card-icon {
            font-size: 2.2rem;
            margin-bottom: 0.8rem;
            opacity: 0.8;
        }
        .card h3 {
            font-size: 1rem;
            font-weight: 600;
            color: #1a5480;
        }

        .card span {
            font-size: 0.7rem;
            color: #8aa9c2;
        }

        /* ===== جدول مسابقات جاری ===== */
        .current-section {
            max-width: 1000px;
            margin: 3rem auto 2rem;
            padding: 0 1.5rem;
        }

        .section-title {
            font-size: 1.3rem;
            font-weight: 500;
            color: #1a5480;
            border-right: 3px solid #e8a72b;
            padding-right: 0.8rem;
            margin-bottom: 1.5rem;
        }

        .tournament-table {
            width: 100%;
            border-collapse: collapse;
            background: #ffffff;
            border-radius: 1.2rem;
            overflow: hidden;
            border: 1px solid #eef3fc;
        }

        .tournament-table th {
            background: #f8fbfe;
            padding: 1rem 0.8rem;
            font-size: 0.85rem;
            font-weight: 600;
            color: #1a5480;
            border-bottom: 1px solid #eef3fc;
        }

        .tournament-table td {
            padding: 0.9rem 0.8rem;
            font-size: 0.85rem;
            color: #3a6b8f;
            border-bottom: 1px solid #f0f5fc;
        }

        .status-badge {
            background: #e3f0fa;
            color: #1a5480;
            padding: 0.2rem 0.8rem;
            border-radius: 2rem;
            font-size: 0.7rem;
            display: inline-block;
        }

        /* ===== فرم  ===== */
        .form-section {
            max-width: 1000px;
            margin: 3rem auto 2rem;
            padding: 0 1.5rem;
        }

        .form-container {
            background: #ffffff;
            border-radius: 1.5rem;
            border: 1px solid #eef3fc;
            padding: 2rem;
        }

        .form-group {
            margin-bottom: 1.2rem;
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 1rem;
        }

        .form-group label {
            font-weight: 500;
            color: #1a5480;
            font-size: 0.85rem;
        }

        .form-group input {
            flex: 1;
            min-width: 200px;
            padding: 0.7rem 1rem;
            border: 1px solid #525252;
            border-radius: 1rem;
            font-size: 0.85rem;
            font-family: inherit;
            background: #fefefe;
            transition: 0.2s;
        }

        .form-group input:focus {
            outline: none;
            border-color: #e8a72b;
            box-shadow: 0 0 0 2px rgba(232, 167, 43, 0.1);
        }

        .divider {
            height: 1px;
            background: #eef3fc;
            margin: 1.2rem 0;
        }

        .group {
            background: #fafdff;
            padding: 1rem 1rem 0.5rem 1rem;
            border-radius: 1rem;
            margin-bottom: 1rem;
            border: 1px solid #eef3fc;
        }

        .add-btn {
            text-align: center;
            padding: 0.7rem;
            background: #f0f6fe;
            color: #1a5480;
            border-radius: 2rem;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 500;
            margin: 1rem 0;
            transition: 0.2s;
            border: 1px dashed #caddf0;
        }

        .add-btn:hover {
            background: #e8f0fa;
            border-color: #e8a72b;
        }

        .submit-btn {
            background: #1a5480;
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            border-radius: 2rem;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            transition: 0.2s;
            width: 100%;
            max-width: 200px;
            display: block;
            margin: 1.5rem auto 0;
        }

        .submit-btn:hover {
            background: #0e3d5e;
        }

        .footer {
            margin-top: 4rem;
            padding: 1.5rem;
            text-align: center;
            border-top: 1px solid #eaf0f8;
            font-size: 0.7rem;
            color: #8aa9c2;
        }

        @media (max-width: 680px) {
            .form-group {
                flex-direction: column;
                gap: 0.3rem;
            }
            .form-group label {
                width: auto;
            }
            .form-container {
                padding: 1.2rem;
            }
        }