/* ==============================================
   UTILITY CLASSES FOR PROFESSIONAL STYLING
   ============================================== */

/* === TYPOGRAPHY UTILITIES === */
.text-xs {
    font-size: 0.75rem;     /* 12px */
    line-height: 1.5;
}

.text-sm {
    font-size: 0.875rem;    /* 14px */
    line-height: 1.5;
}

.text-base {
    font-size: 1rem;        /* 16px */
    line-height: 1.6;
}

.text-lg {
    font-size: 1.125rem;    /* 18px */
    line-height: 1.6;
}

.text-xl {
    font-size: 1.25rem;     /* 20px */
    line-height: 1.4;
}

.text-2xl {
    font-size: 1.5rem;      /* 24px */
    line-height: 1.3;
}

.text-3xl {
    font-size: 2rem;        /* 32px */
    line-height: 1.2;
}

.text-4xl {
    font-size: 2.5rem;      /* 40px */
    line-height: 1.1;
}

/* Font Weights */
.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

/* Line Heights */
.leading-tight {
    line-height: 1.2;
}

.leading-normal {
    line-height: 1.6;
}

.leading-relaxed {
    line-height: 1.8;
}

/* Letter Spacing */
.tracking-tight {
    letter-spacing: -0.02em;
}

.tracking-normal {
    letter-spacing: 0;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

/* === IMAGE SIZING === */
.badge-icon-size {
    width: 28px;
    height: 28px;
    object-fit: contain;
    vertical-align: middle;
}

.icon-sm {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.icon-md {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.icon-lg {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.logo-xl {
    width: 320px;
    height: 320px;
    object-fit: contain;
}

.icon-floating {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.icon-action {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.icon-announcement {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.icon-brand {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

/* === ANIMATION DELAYS === */
.fade-in-1 {
    animation-delay: 0.1s;
}

.fade-in-2 {
    animation-delay: 0.2s;
}

.fade-in-3 {
    animation-delay: 0.3s;
}

.fade-in-4 {
    animation-delay: 0.4s;
}

.fade-in-5 {
    animation-delay: 0.5s;
}

.fade-in-6 {
    animation-delay: 0.6s;
}

.fade-in-7 {
    animation-delay: 0.7s;
}

.fade-in-8 {
    animation-delay: 0.8s;
}

.fade-in-9 {
    animation-delay: 0.9s;
}

/* === PROFESSIONAL HOVER EFFECTS === */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hover-lift-subtle {
    transition: transform 0.2s ease;
}

.hover-lift-subtle:hover {
    transform: translateY(-2px);
}

/* === SPACING UTILITIES === */
.section-spacing {
    padding: 6rem 0;
}

.section-spacing-sm {
    padding: 4rem 0;
}

.section-spacing-lg {
    padding: 8rem 0;
}

@media (max-width: 767.98px) {
    .section-spacing {
        padding: 4rem 0;
    }

    .section-spacing-sm {
        padding: 3rem 0;
    }

    .section-spacing-lg {
        padding: 5rem 0;
    }
}

/* === CARD ELEVATIONS === */
.card-elevation-sm {
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card-elevation-sm:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-elevation-md {
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card-elevation-md:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* === TEXT STYLES === */
.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-solid-primary {
    color: var(--badminton-primary);
}

.text-solid-dark {
    color: var(--badminton-dark);
}

/* === REMOVE CHILDISH ANIMATIONS === */
/* Disable floating animations - keep only hover effects */
.no-float * {
    animation: none !important;
}

/* === PROFESSIONAL FADE IN === */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fade-in-up 0.6s ease-out backwards;
}

/* === RESPONSIVE IMAGE SIZES === */
@media (max-width: 767.98px) {
    .logo-xl {
        width: 200px;
        height: 200px;
    }

    .icon-lg {
        width: 80px;
        height: 80px;
    }

    .icon-md {
        width: 56px;
        height: 56px;
    }
}

/* === ICON COLOR VARIANTS === */
.sport-icon-success,
.stat-icon-success {
    background: var(--gradient-success) !important;
}

.sport-icon-warning,
.stat-icon-warning {
    background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%) !important;
}

.sport-icon-danger,
.stat-icon-danger {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
}

.sport-icon-purple,
.stat-icon-purple {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%) !important;
}

/* === SPINNER SIZING === */
.spinner-standard {
    width: 3rem;
    height: 3rem;
}

/* === MODAL UTILITIES === */
.modal-backdrop-dark {
    background-color: rgba(0, 0, 0, 0.5);
}
