/* =====================================================
   छत्रपती शिवाजी महाराज चषक - Common Components
   Shared styling for cards, boxes, and elements across all pages
   ===================================================== */

/* Hide Registration Buttons Globally */
.btn-register,
a.btn-register,
.hero-cta-bottom .btn-register,
.cta-section .btn-register,
.page-header .btn-register {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide hero CTA container that wraps registration button */
.hero-cta-bottom {
    display: none !important;
    visibility: hidden !important;
}

/* ==========================================
   CARD BASE STYLES - Used across all pages
   ========================================== */

/* Generic Card Container */
.card-base,
.mv-card,
.value-card,
.feature-card,
.journey-item,
.step-card,
.format-card,
.timeline-item,
.stat-card,
.player-card,
.team-card,
.auction-item-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Decorative corner accent - Applied to all cards */
.card-base::after,
.mv-card::after,
.value-card::after,
.feature-card::after,
.journey-item::after,
.step-card::after,
.format-card::after,
.timeline-item::after,
.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, transparent 100%);
    opacity: 0.1;
    border-radius: 0 15px 0 100%;
}

/* Hover effect - lift and highlight */
.card-base:hover,
.mv-card:hover,
.value-card:hover,
.feature-card:hover,
.journey-item:hover,
.step-card:hover,
.format-card:hover,
.timeline-item:hover,
.stat-card:hover,
.player-card:hover,
.team-card:hover,
.auction-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.15);
    overflow: visible;
}

/* ==========================================
   ICON CIRCLES - Gradient background icons
   ========================================== */

.icon-circle,
.mv-icon,
.value-icon,
.feature-icon,
.timeline-icon,
.stat-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.3);
    transition: transform 0.3s ease;
}

/* Center icons horizontally within cards */
.mv-icon {
    margin: 0 auto 1.5rem;
}

/* Icon circle hover - scale up */
.card-base:hover .icon-circle,
.mv-card:hover .mv-icon,
.value-card:hover .value-icon,
.feature-card:hover .feature-icon,
.timeline-item:hover .timeline-icon,
.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.icon-circle i,
.mv-icon i,
.value-icon i,
.feature-icon i,
.timeline-icon i,
.stat-icon i {
    font-size: 2rem;
    color: white;
}

/* Centered icon (for value cards, feature cards) */
.value-icon,
.feature-icon {
    margin: 0 auto 1.5rem;
}

/* ==========================================
   TEXT STYLES - Consistent typography
   ========================================== */

/* Card titles */
.card-base h3,
.mv-card h3,
.value-card h3,
.feature-card h3,
.journey-content h3,
.step-content h3,
.format-card h3,
.timeline-content h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Smaller card titles */
.value-card h3,
.step-content h3,
.format-card h3 {
    font-size: 1.3rem;
}

/* Card descriptions */
.card-base p,
.mv-card p,
.value-card p,
.feature-card p,
.journey-content p,
.step-content p,
.format-card p,
.timeline-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================
   SPECIAL COMPONENTS
   ========================================== */

/* Step Numbers */
.step-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.3);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

/* Journey Year Badge */
.journey-year {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.3);
}

/* Timeline/Step Lists with Icons */
.step-content ul li,
.timeline-content ul li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.step-content ul li i,
.timeline-content ul li i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Date/Time badges */
.timeline-content .date,
.event-date,
.badge-date {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--secondary-light);
    border-radius: 20px;
}

/* ==========================================
   INLINE/HORIZONTAL CARDS
   ========================================== */

/* Auction Item, Points Row - Horizontal layouts */
.auction-item,
.points-row {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.auction-item::after,
.points-row::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, transparent 100%);
    opacity: 0.1;
    border-radius: 0 15px 0 100%;
}

.auction-item {
    gap: 1rem;
}

.points-row {
    justify-content: space-between;
}

.auction-item:hover,
.points-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.15);
    overflow: visible;
}

/* Auction/Points Icons - Smaller circles */
.auction-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.3);
    flex-shrink: 0;
}

.auction-icon i {
    color: white;
    font-size: 1.3rem;
}

/* Points/Auction Content */
.auction-item h4,
.points-label {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.auction-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.points-label i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.points-value {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

/* ==========================================
   GRID ITEMS - Small cards in grids
   ========================================== */

/* Included Items, Fort Items */
.included-item,
.fort-item {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.fort-item {
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    color: var(--text-primary);
    transition: none;
}

.included-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.15);
    overflow: visible;
}

.included-item i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.3);
    transition: transform 0.3s ease;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.included-item:hover i {
    transform: scale(1.1);
}

.fort-item i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.fort-item .fort-logo {
    display: block;
    width: 150px;
    height: 150px;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 0.5rem;
    border-radius: 8px;
}

.fort-item span {
    display: block;
}

.included-item h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.included-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================
   HIGHLIGHTS & ACCENTS
   ========================================== */

/* Format highlight - Large colored numbers/text */
.format-highlight {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Note boxes */
.composition-note,
.players-note,
.info-note {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.composition-note i,
.players-note i,
.info-note i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.composition-note p,
.players-note p,
.info-note p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */

@media (max-width: 768px) {

    /* Reduce card padding on mobile */
    .card-base,
    .mv-card,
    .value-card,
    .feature-card,
    .journey-item,
    .step-card,
    .format-card,
    .timeline-item,
    .stat-card {
        padding: 1.5rem;
    }

    /* Responsive fort logos */
    .fort-item .fort-logo {
        width: 120px;
        height: 120px;
    }
}

/* Tablet responsive styles for fort logos */
@media (max-width: 992px) and (min-width: 769px) {
    .fort-item .fort-logo {
        width: 130px;
        height: 130px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .fort-item .fort-logo {
        width: 100px;
        height: 100px;
    }

    /* Smaller icons on mobile */
    .icon-circle,
    .mv-icon,
    .value-icon,
    .feature-icon,
    .timeline-icon,
    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .icon-circle i,
    .mv-icon i,
    .value-icon i,
    .feature-icon i,
    .timeline-icon i,
    .stat-icon i {
        font-size: 1.5rem;
    }

    /* Smaller step numbers */
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Stack auction items vertically */
    .auction-item {
        flex-direction: column;
        text-align: center;
    }

    /* Adjust text sizes */
    .card-base h3,
    .mv-card h3,
    .feature-card h3,
    .journey-content h3,
    .timeline-content h3 {
        font-size: 1.3rem;
    }

    .value-card h3,
    .step-content h3,
    .format-card h3 {
        font-size: 1.1rem;
    }
}

/* ==========================================
   SPECIAL STATES
   ========================================== */

/* Highlighted/Featured cards (first item, special emphasis) */
.timeline-item:first-child,
.journey-item.journey-future {
    background: linear-gradient(135deg,
            rgba(234, 88, 12, 0.03) 0%,
            var(--bg-card) 50%,
            var(--bg-secondary) 100%);
}

.timeline-item:first-child .timeline-icon,
.journey-item.journey-future .journey-year {
    box-shadow: 0 5px 20px rgba(234, 88, 12, 0.5);
}