/* Container for the Instagram post generation */
.ig-canvas {
    width: 1080px;
    height: 1350px;
    position: relative;
    background: #050a12;
    overflow: hidden;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}



/* Base text styles */
.ig-title-top {
    width: 100%;
    text-align: center;
    font-family: 'Teko', sans-serif;
    color: var(--brand-color, #00d2ff);
    font-size: 36px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding-top: 60px;
    margin-bottom: -15px;
}

/* =========================================
   DETAILED BUILD TEMPLATE (1 WEAPON)
   ========================================= */

.detailed-weapon-name {
    width: 100%;
    text-align: center;
    font-family: 'Teko', sans-serif;
    font-size: 160px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    margin-top: -10px;
}

.detailed-meta-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    padding: 10px 60px 0;
    box-sizing: border-box;
}

/* Unified box style for all info blocks */
.detailed-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    background: rgba(0, 0, 0, 0.65);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--brand-color, #00d2ff);
    text-align: center;
}

.detailed-box-full {
    flex: unset;
    width: 100%;
}

.detailed-box-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    color: #ddd;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.detailed-box-value {
    font-family: 'Teko', sans-serif;
    font-size: 38px;
    color: var(--brand-color, #00d2ff);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}

.detailed-box-highlight {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
}

.detailed-info-row {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
    margin-top: 15px;
}

.detailed-weapon-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 300px;
    padding: 10px 0;
}

.detailed-weapon-img {
    max-width: 85%;
    max-height: 280px;
    object-fit: contain;
}

.detailed-attachments-container {
    width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.detailed-attachment {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 calc(50% - 30px);
    max-width: calc(50% - 15px);
    background: rgba(0, 0, 0, 0.65);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--brand-color, #00d2ff);
}

.detailed-att-type {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #ddd;
    margin-bottom: 4px;
    font-weight: 600;
}

.detailed-att-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    color: var(--brand-color, #00d2ff);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.tier-list-att-type {
    font-size: 12px;
    background: var(--brand-color, #00d2ff);
    color: #000;
}

/* =========================================
   TIER LIST TEMPLATE (5 WEAPONS)
   ========================================= */

.tier-list-title {
    font-family: 'Teko', sans-serif;
    font-size: 120px;
    font-weight: 700;
    color: var(--brand-color, #00d2ff);
    line-height: 1;
    margin-top: 100px;
    background: -webkit-linear-gradient(var(--brand-color, #00d2ff), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tier-subtitle-main {
    position: absolute;
    top: 210px;
    width: 100%;
    text-align: center;
    font-family: 'Teko', sans-serif;
    font-size: 110px;
    font-weight: 700;
    line-height: 1;
    z-index: 3;
    color: var(--brand-color, #00d2ff);
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    background: -webkit-linear-gradient(var(--brand-color, #00d2ff), #0055ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tier-list-container {
    position: absolute;
    top: 380px;
    left: 60px;
    right: 60px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 3;
}

.tier-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    height: 150px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    position: relative;
    overflow: hidden;
}

.tier-list-item-rank {
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, rgba(var(--brand-color-rgb), 0.8) 0%, var(--brand-color, #0055ff) 100%);
    display: flex;
}

.tier-item.rank-1 {
    background: linear-gradient(90deg, var(--brand-color, #00d2ff) 0%, #0055ff 100%);
    border: none;
}

.tier-item-info {
    display: flex;
    flex-direction: column;
    z-index: 3;
}

.tier-item-name {
    font-family: 'Teko', sans-serif;
    font-size: 70px;
    font-weight: 700;
    line-height: 0.9;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.tier-item-playstyle {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.tier-item-img {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    height: 180px;
    z-index: 3;
}

.tier-footer {
    position: absolute;
    top: 1250px;
    width: 100%;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    z-index: 3;
    letter-spacing: 2px;
}

/* Watermark/Footer */
.ig-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
    padding-bottom: 50px;
    padding-top: 15px;
}

.ig-footer-logo {
    width: 60px;
    height: 60px;
    background: #00d2ff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Teko', sans-serif;
    color: #000;
    font-size: 30px;
    font-weight: 700;
}

.ig-footer-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}
