/* Pagina promotii index-noua*/

:root {
        /* === CULORI PRINCIPALE === */
    --primary-navy: #1e3a5f;        /* Headers, navigation, footer */
    --primary-coral: #e5475c;       /* CTA-uri, butoane importante */
    --navyblue: #001a79;         /* Success, confirmări, checkmarks */


    /* === BACKGROUNDS === */
    --bg-primary: #ffffff;          /* Background principal */
    --bg-secondary: #f8fafc;        /* Section alternate */
    --bg-card: #ffffff;             /* Cards, calculatoare */

    /* === NEUTRAL === */
    --text-primary: #1e293b;        /* Text principal */
    --text-secondary: #64748b;      /* Text secundar */
    --border: #e2e8f0;              /* Borders */

    /* === ACCENTE === */
    --warning: #f59e0b;             /* DAE, avertismente */
    --success: #10b981;             /* Aprobare */
    --light-blue: #e0f2fe;          /* Background info */

    /* === FONTS === */
    --font-heading: 'Poppins', sans-serif;  /* Headers */
    --font-body: 'Inter', sans-serif;       /* Body text */

    /* === LEGACY COMPATIBILITY === */
    --maro: var(--primary-coral);
    --maro-hover: #d43d52;
    --verde: var(--primary-navy);
    --verde-hover: #2a4a75;
    --seashell-peach: var(--primary-coral);
    --steel-blue: var(--primary-navy);
    --vibrant-coral: var(--primary-coral);
    --teal-ocean: var(--navyblue);
    --soft-blue-gray: var(--bg-secondary);
    --dusty-rose: var(--text-secondary);
    /* --seashell-peach: #F6C992;
    --vibrant-coral: #e5475c;
    --soft-blue-gray: #ACC0D3;
    --dusty-rose: #D396A6;
    --teal-ocean: ##001a79;
    --steel-blue: #5484A4;
    --white: #ffffff;
    --gradient-bg: linear-gradient(90deg, #e5475c 0%, #001a79 100%);

    /* Legacy variable names for backwards compatibility */
    /* --primary-orange: var(--seashell-peach);
    --primary-blue: var(--steel-blue);
    --vibrant-coral: var(--vibrant-coral);
    --darker-teal: var(--teal-ocean);
    --light-bg: var(--soft-blue-gray); */
}
section {
    padding: 30px 0px;
}
/* Hero Section */
section.hero-section {
    padding: 20px 10px!important;
}
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hero-image {
    width: 100%;
    height: auto;
    display: block;
    /* min-height: 500px; */
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(48, 82, 92, 0.95), transparent);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px 0 10px;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.2;
    margin-top: 3rem!important;
}
.hero-subtitle {
    font-size: 20px;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-weight: bold;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}
.soccer-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Team Selection Section */
.team-section {
    padding: 60px 0;
    background: var(--light-bg);
}
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: var(--vibrant-coral);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}
.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.team-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    margin: 40px auto 0;
    max-width: 900px;
}
.team-card {
    flex: 1 1 calc(50% - 10px); /* 50% minus gap/2 */
    min-width: 280px;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}
.team-card:hover::before {
    left: 100%;
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.team-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    font-weight: bold;
    color: white;
}
.team-card.otelul .team-logo {
    background: linear-gradient(135deg, #ff0015, #0054d4);
}
.team-card.arges .team-logo {
    background: linear-gradient(135deg, #410a63, #9264AE);
}
.team-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--vibrant-coral);
}
.team-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}
/* How to Participate Section */
.how-to-section {
    padding: 60px 0;
    background: white;
}
.steps-wrapper {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}
.step-card {
    flex: 0 1 300px;
    text-align: center;
    padding: 30px 20px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
}
.step-card:hover {
    transform: scale(1.05);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.step-number {
    width: 43px;
    height: 43px;
    background: var(--primary-coral);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(213, 134, 96, 0.4);
}
.step-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--vibrant-coral);
    margin-bottom: 15px;
}
.step-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Prizes Section */
.prize-banner {
    background: var(--gradient-bg);
    color: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.prize-banner h2 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-orange);
}
.prize-banner p {
    font-size: 16px;
    line-height: 1.6;
}
.prize-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.prize-item {
    flex: 0 1 400px;
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}
.prize-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.prize-icon {
    font-size: 80px;
    margin-bottom: 20px;
    color: var(--primary-orange);
}
.prize-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--vibrant-coral);
    margin-bottom: 15px;
}
.prize-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/** Scoreboard Section **/
/* ===================================
SCOREBOARD SECTION - MOBILE FIRST
=================================== */

/* Base Styles (Mobile - 375px+) */
.scoreboard-section {
    background: linear-gradient(180deg, var(--soft-blue-gray) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.scoreboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(213, 134, 96, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}
/* Header */
.scoreboard-header {
    text-align: center;
    margin-bottom: 20px;
}

.scoreboard-title i {
    color: var(--seashell-peach);
    margin-right: 6px;
    font-size: 20px;
}
.scoreboard-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    padding: 0 5px;
}
/* Grid Layout - Mobile Stacked */
.scoreboard-grid {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 20px;
    align-items: stretch;
    padding: 10px;
}
/* Scor Card - NEW CLASS */
.scor-card {
  flex: 1;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.scor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.arges-card::before {
  background: linear-gradient(90deg, #4B0082 0%, #8B008B 100%);
}

.otelul-card::before {
  background: linear-gradient(90deg, #DC143C 0%, #8B0000 100%);
}
/* Team Header */
.scor-card .team-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  }
.scor-card .team-badge {
  width: 50px;
  height: 50px;
  background: var(--soft-blue-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.scor-card .team-badge img {
  max-width: 35px;
  max-height: 35px;
}

.scor-card .team-name-wrapper {
  text-align: center;
}

.scor-card .team-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--vibrant-coral);
  margin: 0;
  line-height: 1.2;
}

/* Fan Avatar */
.scor-card .fan-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  min-height: 100px;
  flex: 1;
}
.scor-card .fan-avatar img {
  max-width: 125px;
  height: auto;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.1));
}
/* Score Box */
.scor-card .score-box {
  background: linear-gradient(135deg, var(--vibrant-coral) 0%, var(--teal-ocean) 100%);
  border-radius: 10px;
  padding: 8px 8px;
  text-align: center;
  margin-top: auto;
}
.scor-card .score-value {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.scor-card .score-text {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/** VS Divider - Absolute positioning on mobile */
.vs-divider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}
.vs-text {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--seashell-peach) 0%, var(--dusty-rose) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 3px 15px rgba(246, 201, 146, 0.4);
  border: 3px solid var(--soft-blue-gray);
}
/* Footer Info */
.scoreboard-info {
    text-align: center;
    padding: 10px 12px;
    background: rgba(246, 201, 146, 0.1);
    border-radius: 10px;
}
.scoreboard-info i {
    color: var(--seashell-peach);
    font-size: 14px;
    margin-right: 4px;
}
.scoreboard-info p {
    display: inline;
    font-size: 11px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}
/* Team Card */
.team-card {
    flex: 1;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
/** ===================================
TABLET - 768px+
=================================== **/
@media (min-width: 768px) {
    .scoreboard-section {
      padding: 50px 30px;
    }
    .scoreboard-header {
        margin-bottom: 35px;
    }
    .scoreboard-title {
        font-size: 34px;
    }
    .scoreboard-title i {
        font-size: 30px;
    }
    .scoreboard-subtitle {
        font-size: 16px;
        max-width: 600px;
        margin: 0 auto;
    }
    .scoreboard-grid {
        gap: 20px;
        max-width: 850px;
        margin: 0 auto 35px;
        position: relative;
        align-items: center;
    }
    .scor-card {
        padding: 25px 20px;
        border-radius: 16px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .scor-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    .scor-card .team-header {
        flex-direction: row;
        gap: 15px;
        margin-bottom: 20px;
    }
    .team-card {
        padding: 25px 20px;
        border-radius: 16px;
    }
    .team-header {
        flex-direction: row;
        gap: 15px;
        margin-bottom: 20px;
    }
    .team-badge {
        width: 70px;
        height: 70px;
    }
    .team-badge img {
        max-width: 50px;
        max-height: 50px;
    }
    .team-name-wrapper {
        text-align: left;
        flex: 1;
    }
    .team-name {
        font-size: 22px;
    }
    .fan-avatar {
        min-height: 180px;
        margin: 20px 0;
    }
    .fan-avatar img {
        max-width: 150px;
    }
    .score-box {
        padding: 18px 15px;
    }
    .score-value {
        font-size: 52px;
        margin-bottom: 6px;
    }
    .score-text {
        font-size: 12px;
    }
    .vs-divider {
        position: static;
        transform: none;
        flex-shrink: 0;
        align-items: center;
    }
    .vs-text {
        width: 70px;
        height: 70px;
        font-size: 22px;
    }
    .scoreboard-info {
        max-width: 700px;
        margin: 0 auto;
        padding: 15px;
    }
    .scoreboard-info i {
        font-size: 16px;
    }
    .scoreboard-info p {
        font-size: 14px;
    }
    /* Hover Effects on Tablet+ */
    .team-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .team-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    .team-badge {
        transition: transform 0.3s ease;
    }
    .team-card:hover .team-badge {
        transform: scale(1.05) rotate(5deg);
    }
}

/** ===================================
DESKTOP - 992px+
=================================== **/
@media (min-width: 992px) {
    .scoreboard-section {
        padding: 70px 40px;
    }
    .scoreboard-header {
        margin-bottom: 45px;
    }
    .scoreboard-title {
        font-size: 40px;
    }
    .scoreboard-title i {
        font-size: 36px;
    }
    .scoreboard-subtitle {
        font-size: 18px;
        max-width: 700px;
    }
    .scoreboard-grid {
        gap: 30px;
        max-width: 1000px;
        margin-bottom: 45px;
    }
    .scor-card {
        padding: 35px 28px;
    }
    .scor-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    }
    .team-card {
        padding: 35px 28px;
    }
    .team-header {
        gap: 18px;
        margin-bottom: 25px;
    }
    .team-badge {
        width: 80px;
        height: 80px;
    }
    .team-badge img {
        max-width: 58px;
        max-height: 58px;
    }
    .team-name {
        font-size: 26px;
    }
    .fan-avatar {
        min-height: 220px;
        margin: 25px 0;
    }
    .fan-avatar img {
        max-width: 190px;
    }
    .score-box {
        padding: 22px 18px;
    }
    .score-value {
        font-size: 60px;
        margin-bottom: 8px;
    }
    .score-text {
        font-size: 13px;
    }
    .vs-text {
        width: 78px;
        height: 78px;
        font-size: 24px;
    }
    .scoreboard-info {
        max-width: 750px;
        padding: 18px 20px;
    }
    .scoreboard-info p {
        font-size: 15px;
    }
    /** Desktop Animations */
    @keyframes trophyBounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
    .scoreboard-title i {
        animation: trophyBounce 2s ease-in-out infinite;
    }
    @keyframes fanFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }
    .fan-avatar img {
        animation: fanFloat 3.5s ease-in-out infinite;
    }
    @keyframes scoreGlow {
        0%, 100% {
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }
        50% {
            text-shadow: 0 4px 18px rgba(213, 134, 96, 0.5);
        }
    }
    .score-value {
        animation: scoreGlow 2.5s ease-in-out infinite;
    }
    .team-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    }
}

/* ===================================
LARGE DESKTOP - 1200px+
=================================== */
@media (min-width: 1200px) {
    .scoreboard-section {
        padding: 60px 10px;
    }
    .scoreboard-title {
        font-size: 42px;
    }
    .scoreboard-grid {
        gap: 40px;
        max-width: 960px;
        max-height: 440px;
    }
    .team-card {
        padding: 40px 32px;
    }
    .team-badge {
        width: 85px;
        height: 85px;
    }
    .team-badge img {
        max-width: 62px;
        max-height: 62px;
    }
    .team-name {
        font-size: 28px;
    }
    .fan-avatar {
        min-height:60px;
        margin: 30px 0;
    }
    .scor-card .fan-avatar img {
        max-width: 210px;
    }
    .score-box {
        padding: 20px 20px;
    }
    .score-value {
        font-size: 28px;
    }
    .score-text {
        font-size: 14px;
    }
    .vs-text {
        width: 82px;
        height: 82px;
        font-size: 26px;
    }
    .scoreboard-info {
        max-width: 800px;
    }
    .scor-card .team-badge img {
        max-width: 80px;
        max-height: 80px;
    }
    @keyframes vsRotate {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
}

/* ===================================
EXTRA SMALL MOBILE - max 375px
=================================== */
@media (max-width: 375px) {
    .scoreboard-section {
        padding: 25px 10px;
    }
    .scoreboard-title {
        font-size: 20px;
    }
    .scoreboard-title i {
        font-size: 18px;
    }
    .scoreboard-subtitle {
        font-size: 11px;
    }
    .scoreboard-grid {
        gap: 6px;
    }
    .team-card {
        padding: 10px 6px;
    }
    .team-badge {
        width: 45px;
        height: 45px;
    }
    .team-badge img {
        max-width: 32px;
        max-height: 32px;
    }
    .team-name {
        font-size: 20px;
    }
    .fan-avatar {
        min-height: 70px;
    }
    .fan-avatar img {
        max-width: 140px;
    }
    .score-box {
        padding: 10px 6px;
        border-radius: 8px;
    }
    .score-value {
        font-size: 32px;
    }
    .score-text {
        font-size: 8px;
    }
    .vs-text {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
    .scoreboard-info {
        padding: 8px 10px;
    }
    .scoreboard-info i {
        font-size: 12px;
    }
    .scoreboard-info p {
        font-size: 10px;
    }
}


/** CTA Section **/
.cta-section {
    background: var(--light-bg);
    /* color: white; */
    padding: 25px 0;
    text-align: center;
}
.cta-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
}
.cta-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
}
.btn-cta {
    background: white;
    color: var(--vibrant-coral);
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid var(--primary-orange);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    background: var(--primary-orange);
    color: white;
}
/* Regulations Section */
.regulations-section {
    padding: 30px 0;
    background: var(--light-bg);
    text-align: center;
}
.regulations-link {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--vibrant-coral);
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}
.regulations-link:hover {
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
    .hero-sub {
        color: var(--vibrant-coral);
    }
    .hero-subtitle {
        font-size: 17px;
    }
    .section-title {
        font-size: 28px;
    }
    .team-cards-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .team-card {
        flex: 0 1 100%;
        max-width: 400px;
    }
    .prize-banner h2 {
        font-size: 32px;
    }
    .cta-title {
        font-size: 32px;
    }
}

/* Animation delays for staggered effect */
.step-card:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}
.step-card:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}
.step-card:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.6s backwards;
}