/**
 * Page-Specific Styles
 * Styles for individual pages - No duplicates
 */

/* ============================================
   TECHATHON PAGE STYLES
   ============================================ */
.techathon-hero {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.techathon-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://uraanpakistan.pk/uraanai/assets/images/hero-bg.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.techathon-hero > * {
    position: relative;
    z-index: 1;
}

.phase-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
}

.problem-card {
    transition: all 0.15s ease;
}

.problem-card:hover {
    transform: scale(1.05);
    border-color: var(--color-primary-pink);
}

.award-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ============================================
   ARENA CARD STYLES
   ============================================ */
.arena-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    transform: translateZ(0);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
    will-change: transform;
}

.arena-card:hover {
    transform: translateY(-6px);
}

.arena-card .glow-ring {
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    filter: blur(16px);
    transition: opacity .15s ease;
    background:
        radial-gradient(circle at 20% 25%, rgba(255,0,110,.28), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(131,56,236,.20), transparent 55%),
        radial-gradient(circle at 50% 85%, rgba(58,134,255,.22), transparent 55%);
}

.arena-card:hover .glow-ring {
    opacity: 1;
}

.arena-card::after {
    content: "";
    position: absolute;
    top: -35%;
    left: -75%;
    width: 60%;
    height: 170%;
    transform: rotate(18deg);
    background: linear-gradient(to right, transparent, rgba(255,255,255,.14), transparent);
    opacity: 0;
    pointer-events: none;
}

.arena-card:hover::after {
    opacity: 1;
    animation: shimmerMove 0.6s ease forwards;
}

@keyframes shimmerMove {
    0% { transform: translateX(0) rotate(18deg); opacity: 0; }
    15% { opacity: .9; }
    100% { transform: translateX(300%) rotate(18deg); opacity: 0; }
}

.arena-iconWrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    border: none;
    background: rgba(255,255,255,.06);
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
    position: relative;
    overflow: hidden;
}

.arena-iconWrap::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.22), transparent 55%);
    opacity: 0;
    transition: opacity .15s ease;
}

.arena-card:hover .arena-iconWrap {
    transform: translateY(-2px) rotate(-2deg);
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.20);
}

.arena-card:hover .arena-iconWrap::before {
    opacity: 1;
}

.arena-trace {
    height: 2px;
    width: 34px;
    border-radius: 999px;
    opacity: .75;
    transition: width .15s ease, opacity .15s ease;
}

.arena-card:hover .arena-trace {
    width: 58px;
    opacity: 1;
}

.arena-title {
    transition: transform .15s ease, opacity .15s ease;
}

.arena-card:hover .arena-title {
    transform: translateX(2px);
}

.arena-in {
    opacity: 0;
    transform: translateY(14px) scale(.985);
    animation: arenaIn .35s ease forwards;
}

@keyframes arenaIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================
   WOMEN IN TECH CARD STYLES
   ============================================ */
.wm-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    transform: translateZ(0);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
    will-change: transform;
}

.wm-card:hover {
    transform: translateY(-6px);
}

.wm-card::after {
    content: "";
    position: absolute;
    top: -35%;
    left: -75%;
    width: 60%;
    height: 170%;
    transform: rotate(18deg);
    background: linear-gradient(to right, transparent, rgba(255,255,255,.14), transparent);
    opacity: 0;
    pointer-events: none;
}

.wm-card:hover::after {
    opacity: 1;
    animation: wmShimmer 0.6s ease forwards;
}

@keyframes wmShimmer {
    0% { transform: translateX(0) rotate(18deg); opacity: 0; }
    15% { opacity: .9; }
    100% { transform: translateX(300%) rotate(18deg); opacity: 0; }
}

.wm-glow {
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    filter: blur(16px);
    transition: opacity .15s ease;
    background:
        radial-gradient(circle at 20% 25%, rgba(255,0,110,.28), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(131,56,236,.20), transparent 55%),
        radial-gradient(circle at 50% 85%, rgba(58,134,255,.22), transparent 55%);
}

.wm-card:hover .wm-glow {
    opacity: 1;
}

.wm-iconWrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    border: none;
    background: rgba(255,255,255,.06);
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.wm-iconWrap::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.22), transparent 55%);
    opacity: 0;
    transition: opacity .15s ease;
}

.wm-card:hover .wm-iconWrap {
    transform: translateY(-2px) rotate(-2deg) scale(1.02);
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.20);
}

.wm-card:hover .wm-iconWrap::before {
    opacity: 1;
}

.wm-in {
    opacity: 0;
    transform: translateY(14px) scale(.985);
    animation: wmIn .35s ease forwards;
}

@keyframes wmIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================
   SUMMIT PAGE STYLES
   ============================================ */
.summit-detail-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    transform: translateZ(0);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    will-change: transform;
}

.summit-detail-card:hover {
    transform: translateY(-6px);
}

.summit-about-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    transform: translateZ(0);
    transition: transform .15s ease, box-shadow .15s ease;
}

.summit-about-card:hover {
    transform: translateY(-4px);
}

.card-glow {
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    filter: blur(16px);
    transition: opacity .15s ease;
    background:
        radial-gradient(circle at 20% 25%, rgba(255,0,110,.28), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(131,56,236,.20), transparent 55%),
        radial-gradient(circle at 50% 85%, rgba(58,134,255,.22), transparent 55%);
}

.summit-about-card:hover .card-glow {
    opacity: 1;
}

.list-item-in {
    opacity: 0;
    transform: translateX(-20px);
    animation: listItemIn 0.3s ease forwards;
}

@keyframes listItemIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-bounce-slow {
    animation: bounceSlow 3s ease-in-out infinite;
}

@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   EXPO PAGE STYLES
   ============================================ */
.expo-list-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: expoListItemIn 0.3s ease forwards;
}

.expo-list-item:nth-child(1) { animation-delay: 0.05s; }
.expo-list-item:nth-child(2) { animation-delay: 0.1s; }
.expo-list-item:nth-child(3) { animation-delay: 0.15s; }
.expo-list-item:nth-child(4) { animation-delay: 0.2s; }
.expo-list-item:nth-child(5) { animation-delay: 0.25s; }
.expo-list-item:nth-child(6) { animation-delay: 0.3s; }
.expo-list-item:nth-child(7) { animation-delay: 0.35s; }
.expo-list-item:nth-child(8) { animation-delay: 0.4s; }

@keyframes expoListItemIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pavilion-card {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pavilion-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.25);
}

.pavilion-glow {
    position: absolute;
    inset: -2px;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.15s ease;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.4), transparent);
}

.pavilion-card:hover .pavilion-glow {
    opacity: 1;
}

.pavilion-icon {
    display: inline-block;
}

.pavilion-card:hover .pavilion-icon {
    transform: scale(1.2) rotate(10deg);
}

.pavilion-title {
    transition: transform 0.15s ease;
}

.pavilion-card:hover .pavilion-title {
    transform: translateX(4px);
}

.pavilion-cta {
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.pavilion-card:hover .pavilion-cta {
    transform: translateX(6px);
    opacity: 1;
}

.pavilion-in {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: pavilionIn 0.35s ease forwards;
}

@keyframes pavilionIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

[data-tilt-pavilion] {
    transition: transform 0.08s ease-out;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

.about-card {
    position: relative;
    transition: all 0.15s ease;
}

.about-card:hover {
    box-shadow: 0 20px 50px rgba(255, 20, 147, 0.2);
}

.about-icon {
    transition: transform 0.15s ease;
}

.about-card:hover .about-icon {
    transform: scale(1.15) rotate(5deg);
}

/* .about-in {
    opacity: 0;
    transform: translateY(20px);
    animation: aboutIn 0.7s ease forwards;
} */

/* @keyframes aboutIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

.about-stat {
    transition: transform 0.15s ease;
}

/* Intent Cards */
.intent-card {
    position: relative;
    overflow: hidden;
    transition: all 0.15s ease;
}

.intent-card:hover {
    box-shadow: 0 15px 35px rgba(255, 20, 147, 0.25);
}

.intent-glow {
    position: absolute;
    inset: -2px;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.15s ease;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.4), transparent);
}

.intent-card:hover .intent-glow {
    opacity: 1;
}

.intent-icon {
    transition: transform 0.15s ease;
}

.intent-card:hover .intent-icon {
    transform: scale(1.2) rotate(10deg);
}

.intent-title {
    transition: transform 0.15s ease;
}

.intent-card:hover .intent-title {
    transform: translateY(-2px);
}

.intent-in {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    animation: intentIn 0.35s ease forwards;
}

@keyframes intentIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

[data-animate] {
    opacity: 0;
}

[data-animate].animated {
    opacity: 1;
}

/* ============================================
   ACCESSIBILITY - REDUCE MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .arena-card, .arena-card::after, .arena-in,
    .wm-card, .wm-card::after, .wm-in,
    .list-item-in, .animate-bounce-slow,
    .expo-list-item, .pavilion-in,
    .about-in, .intent-in {
        transition: none !important;
        animation: none !important;
    }
}

/* ============================================
   GLOBAL - REMOVE "BOX" BORDERS
   Keep separators like border-b/border-t/border-l/border-r intact.
   This only targets container-like elements using Tailwind's `border` / `border-2` utilities.
   (Intentionally does NOT target `span` so pill badges can keep borders if desired.)
   ============================================ */
div[class~="border"],
section[class~="border"],
article[class~="border"],
form[class~="border"],
header[class~="border"],
footer[class~="border"],
nav[class~="border"],
main[class~="border"],
a[class~="border"],
button[class~="border"],
img[class~="border"],
figure[class~="border"],
video[class~="border"],
iframe[class~="border"] {
    border-width: 0 !important;
    border-style: none !important;
}

div[class~="border-2"],
section[class~="border-2"],
article[class~="border-2"],
form[class~="border-2"],
a[class~="border-2"],
button[class~="border-2"],
img[class~="border-2"],
figure[class~="border-2"],
video[class~="border-2"],
iframe[class~="border-2"] {
    border-width: 0 !important;
    border-style: none !important;
}
