/**
 * Borsihai Landing Page Styles
 * Futuristic design with ocean waves and shark fin animation
 *
 * @package InvestHub
 * @since 1.2.0
 */

/* ========================================
   OCEAN WAVES ANIMATION
   ======================================== */

.ih-borsihai-ocean {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: -2px;
}

.ih-borsihai-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
}

.ih-borsihai-wave svg {
    width: 100%;
    height: 100%;
}

.ih-borsihai-wave-1 {
    animation: ih-wave-drift 7s ease-in-out infinite;
    opacity: 0.6;
}

.ih-borsihai-wave-2 {
    animation: ih-wave-drift 11s ease-in-out infinite reverse;
    opacity: 0.4;
    bottom: -5px;
}

.ih-borsihai-wave-3 {
    animation: ih-wave-drift 15s ease-in-out infinite;
    opacity: 0.25;
    bottom: -10px;
}

@keyframes ih-wave-drift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-25%); }
}

/* ========================================
   SHARK FIN ANIMATION
   ======================================== */

.ih-borsihai-fin-container {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 60%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.ih-borsihai-fin {
    position: absolute;
    animation: ih-fin-swim 12s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

@keyframes ih-fin-swim {
    0% { left: -60px; top: 50%; transform: translateY(-50%) scaleX(1); }
    45% { left: 75%; top: 35%; transform: translateY(-50%) scaleX(1); }
    50% { left: 80%; top: 40%; transform: translateY(-50%) scaleX(-1); }
    95% { left: 5%; top: 55%; transform: translateY(-50%) scaleX(-1); }
    100% { left: -60px; top: 50%; transform: translateY(-50%) scaleX(1); }
}

/* ========================================
   HERO SECTION
   ======================================== */

.ih-borsihai-landing {
    position: relative;
    z-index: 1;
}

.ih-borsihai-hero {
    position: relative;
    padding: 120px 40px 60px;
    text-align: center;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ih-borsihai-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 150, 57, 0.15), transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(168, 85, 247, 0.08), transparent),
        radial-gradient(ellipse 50% 50% at 20% 70%, rgba(0, 107, 43, 0.1), transparent);
    pointer-events: none;
    z-index: 0;
}

.ih-borsihai-hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.ih-borsihai-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 150, 57, 0.12);
    border: 1px solid rgba(0, 150, 57, 0.25);
    border-radius: 40px;
    font-size: 13px;
    color: #4ade80;
    font-weight: 500;
    margin-bottom: 24px;
}

.ih-borsihai-hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: ih-pulse-dot 2s infinite;
}

@keyframes ih-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.ih-borsihai-hero h1 {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #4ade80 0%, #009639 40%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ih-borsihai-hero h2 {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 400;
    color: var(--text-secondary, #a1a1aa);
    margin: 0 0 20px 0;
}

.ih-borsihai-hero p {
    font-size: 16px;
    color: var(--text-secondary, #a1a1aa);
    line-height: 1.6;
    margin: 0 0 32px 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.ih-borsihai-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.ih-borsihai-cta-primary {
    padding: 14px 32px;
    background: linear-gradient(135deg, #009639 0%, #006b2b 100%);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 150, 57, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ih-borsihai-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 150, 57, 0.4);
    color: #fff;
}

.ih-borsihai-cta-secondary {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary, #fff);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.ih-borsihai-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 150, 57, 0.3);
    color: #4ade80;
}

/* ========================================
   SECTIONS
   ======================================== */

.ih-borsihai-section {
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ih-borsihai-section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary, #fff);
}

.ih-borsihai-section-desc {
    font-size: 16px;
    color: var(--text-secondary, #a1a1aa);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* What is Borsihai */
.ih-borsihai-what {
    background: rgba(0, 150, 57, 0.04);
    border-radius: 24px;
    border: 1px solid rgba(0, 150, 57, 0.12);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto 48px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ih-borsihai-what p {
    font-size: 16px;
    color: var(--text-secondary, #a1a1aa);
    line-height: 1.7;
    margin: 0;
}

/* Steps / How to participate */
.ih-borsihai-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.ih-borsihai-step {
    background: rgba(26, 26, 36, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.ih-borsihai-step:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 150, 57, 0.3);
    box-shadow: 0 16px 40px rgba(0, 150, 57, 0.1);
}

.ih-borsihai-step-num {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #009639 0%, #006b2b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 16px;
}

.ih-borsihai-step h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin: 0 0 8px 0;
}

.ih-borsihai-step p {
    font-size: 14px;
    color: var(--text-muted, #71717a);
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   PARTICIPANTS TABLE (PUBLIC)
   ======================================== */

.ih-borsihai-participants {
    margin-top: 48px;
}

.ih-borsihai-pub-table-wrap {
    background: rgba(26, 26, 36, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
}

.ih-borsihai-pub-table {
    width: 100%;
    border-collapse: collapse;
}

.ih-borsihai-pub-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, #71717a);
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ih-borsihai-pub-table td {
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-primary, #fff);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ih-borsihai-pub-table tr:last-child td {
    border-bottom: none;
}

.ih-borsihai-pub-table tr:hover td {
    background: rgba(0, 150, 57, 0.04);
}

.ih-borsihai-pub-table .nickname {
    font-weight: 600;
    color: #4ade80;
}

.ih-borsihai-pub-table .season-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(0, 150, 57, 0.1);
    color: #4ade80;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.ih-borsihai-pub-table .resident-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(0, 150, 57, 0.15);
    color: #4ade80;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.ih-borsihai-pub-table .guest-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted, #71717a);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.ih-borsihai-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted, #71717a);
    font-size: 15px;
}

/* ========================================
   PRIZES SECTION
   ======================================== */

.ih-borsihai-prizes {
    max-width: 800px;
    margin: 0 auto;
}

.ih-borsihai-prize-main {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.08) 0%, rgba(168, 85, 247, 0.06) 100%);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.ih-borsihai-prize-main::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(234, 179, 8, 0.03), transparent 30%);
    animation: ih-prize-shine 6s linear infinite;
    pointer-events: none;
}

@keyframes ih-prize-shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ih-borsihai-prize-main .prize-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.ih-borsihai-prize-main .prize-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #eab308;
    font-weight: 600;
    margin-bottom: 8px;
}

.ih-borsihai-prize-main .prize-amount {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, #eab308 0%, #f59e0b 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    line-height: 1.2;
}

.ih-borsihai-prize-main .prize-source {
    font-size: 14px;
    color: var(--text-muted, #71717a);
}

.ih-borsihai-prizes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.ih-borsihai-prize-card {
    background: rgba(26, 26, 36, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.3s;
}

.ih-borsihai-prize-card:hover {
    border-color: rgba(0, 150, 57, 0.2);
    transform: translateY(-2px);
}

.ih-borsihai-prize-card .prize-emoji {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.ih-borsihai-prize-card .prize-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin: 0 0 4px 0;
}

.ih-borsihai-prize-card .prize-text p {
    font-size: 13px;
    color: var(--text-muted, #71717a);
    margin: 0;
    line-height: 1.4;
}

.ih-borsihai-prize-note {
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary, #a1a1aa);
    line-height: 1.5;
}

.ih-borsihai-prize-note .note-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .ih-borsihai-prizes-grid {
        grid-template-columns: 1fr;
    }
    .ih-borsihai-prize-main .prize-amount {
        font-size: 32px;
    }
}

/* ========================================
   CTA SECTION
   ======================================== */

.ih-borsihai-cta-section {
    text-align: center;
    padding: 80px 40px;
    position: relative;
    z-index: 1;
}

.ih-borsihai-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0, 150, 57, 0.12), transparent 70%);
    pointer-events: none;
}

.ih-borsihai-cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary, #fff);
    margin-bottom: 24px;
    position: relative;
}

/* ========================================
   FOOTER
   ======================================== */

.ih-borsihai-footer {
    text-align: center;
    padding: 32px 40px;
    color: var(--text-muted, #71717a);
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

/* ========================================
   GREEN PARTICLES
   ======================================== */

.ih-borsihai-particles .ih-particle {
    background: rgba(0, 150, 57, 0.4);
}

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

@media (max-width: 1024px) {
    .ih-borsihai-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ih-borsihai-hero {
        padding: 100px 20px 40px;
        min-height: 60vh;
    }

    .ih-borsihai-section {
        padding: 48px 20px;
    }

    .ih-borsihai-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ih-borsihai-what {
        padding: 24px;
    }

    .ih-borsihai-ocean {
        height: 120px;
    }

    .ih-borsihai-cta-section {
        padding: 48px 20px;
    }

    .ih-borsihai-pub-table th,
    .ih-borsihai-pub-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .ih-borsihai-reg {
        padding: 40px 20px;
    }

    .ih-borsihai-reg-form-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   REGISTRATION FORM
   ======================================== */

.ih-borsihai-reg {
    max-width: 560px;
    margin: 0 auto;
    padding: 60px 20px;
}

.ih-borsihai-reg-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 150, 57, 0.25);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.ih-borsihai-reg-header {
    text-align: center;
    margin-bottom: 32px;
}

.ih-borsihai-reg-header .reg-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.ih-borsihai-reg-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.ih-borsihai-reg-header p {
    font-size: 14px;
    color: var(--text-muted, #a1a1aa);
    margin: 0;
    line-height: 1.5;
}

.ih-borsihai-reg-form .ih-form-group {
    margin-bottom: 18px;
}

.ih-borsihai-reg-form .ih-form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-muted, #a1a1aa);
    margin-bottom: 6px;
    font-weight: 500;
}

.ih-borsihai-reg-form .ih-form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.ih-borsihai-reg-form .ih-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.ih-borsihai-reg-form .ih-form-group input:focus {
    border-color: #009639;
    box-shadow: 0 0 0 3px rgba(0, 150, 57, 0.15);
}

.ih-borsihai-reg-form .ih-form-group input.has-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.ih-borsihai-reg-form .field-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
    display: none;
}

.ih-borsihai-reg-form .field-error.visible {
    display: block;
}

.ih-borsihai-reg-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 14px;
    color: #fca5a5;
    display: none;
}

.ih-borsihai-reg-error.visible {
    display: block;
}

.ih-borsihai-reg-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #009639, #006b2b);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 8px;
}

.ih-borsihai-reg-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 150, 57, 0.3);
}

.ih-borsihai-reg-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ih-borsihai-reg-links {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted, #a1a1aa);
    line-height: 1.8;
}

.ih-borsihai-reg-links a {
    color: #4ade80;
    text-decoration: none;
    font-weight: 500;
}

.ih-borsihai-reg-links a:hover {
    text-decoration: underline;
}

/* Success Card (check your email) */
.ih-borsihai-reg-success {
    text-align: center;
    padding: 32px;
    display: none;
}

.ih-borsihai-reg-success.visible {
    display: block;
}

.ih-borsihai-reg-success .success-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.ih-borsihai-reg-success h3 {
    font-size: 20px;
    font-weight: 700;
    color: #4ade80;
    margin: 0 0 12px;
}

.ih-borsihai-reg-success p {
    font-size: 14px;
    color: var(--text-muted, #a1a1aa);
    line-height: 1.6;
    margin: 8px 0;
}

.ih-borsihai-reg-success .sent-email {
    color: #fff;
    font-weight: 600;
}

.ih-borsihai-reg-success .resend-btn {
    background: none;
    border: 1px solid rgba(0, 150, 57, 0.4);
    color: #4ade80;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    margin-top: 16px;
    transition: background 0.2s;
}

.ih-borsihai-reg-success .resend-btn:hover {
    background: rgba(0, 150, 57, 0.1);
}

.ih-borsihai-reg-success .resend-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ih-borsihai-reg-success .resend-status {
    font-size: 12px;
    color: #4ade80;
    margin-top: 8px;
    display: none;
}

/* Verification Error Card */
.ih-borsihai-verify-error {
    max-width: 480px;
    margin: 40px auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 16px;
    padding: 40px;
}

.ih-borsihai-verify-error .error-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.ih-borsihai-verify-error h3 {
    font-size: 18px;
    color: #fca5a5;
    margin: 0 0 8px;
}

.ih-borsihai-verify-error p {
    font-size: 14px;
    color: var(--text-muted, #a1a1aa);
    margin: 8px 0;
}

.ih-borsihai-verify-error .resend-form {
    display: flex;
    gap: 10px;
    max-width: 360px;
    margin: 20px auto 0;
}

.ih-borsihai-verify-error .resend-form input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

.ih-borsihai-verify-error .resend-form input:focus {
    border-color: #009639;
}

.ih-borsihai-verify-error .resend-form button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #009639, #006b2b);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

/* Welcome message on profile */
.ih-borsihai-welcome-msg {
    background: rgba(0, 150, 57, 0.1);
    border: 1px solid rgba(0, 150, 57, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #4ade80;
    text-align: center;
}

@media (max-width: 480px) {
    .ih-borsihai-reg-card {
        padding: 28px 20px;
    }

    .ih-borsihai-verify-error .resend-form {
        flex-direction: column;
    }
}
