@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #050505;
    --bg-card: rgba(20, 20, 24, 0.4);
    --bg-card-solid: #111116;
    --bg-input: rgba(255, 255, 255, 0.02);

    --primary: #9d4edd;
    --primary-glow: #c77dff;
    --secondary: #3a0ca3;
    --secondary-glow: #4cc9f0;
    --accent: #f72585;

    --success: #00f5d4;
    --danger: #ef233c;
    --warning: #fee440;

    --text-main: #ffffff;
    --text-muted: #8b8b9a;

    --border: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(255, 255, 255, 0.15);

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.8);
    --shadow-neon: 0 0 30px rgba(157, 78, 221, 0.5);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 2rem;
    position: relative;
}

/* Hyper-Animated Background */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: radial-gradient(circle at 50% 50%, rgba(58, 12, 163, 0.1), var(--bg-main));
    pointer-events: none;
    overflow: hidden;
}

.background-pattern::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(157, 78, 221, 0.15), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(76, 201, 240, 0.15), transparent 30%),
        radial-gradient(circle at 50% 90%, rgba(247, 37, 133, 0.08), transparent 40%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography elements */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.04em;
}

/* Header */
header {
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

header:hover {
    box-shadow: var(--shadow-neon);
    border-color: rgba(157, 78, 221, 0.3);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-glow), var(--secondary-glow), transparent);
    animation: scanline 3s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(76, 201, 240, 0.2));
    border: 1px solid rgba(157, 78, 221, 0.4);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-glow);
    box-shadow: inset 0 0 20px rgba(157, 78, 221, 0.2), 0 0 30px rgba(157, 78, 221, 0.3);
    animation: floatIcon 4s ease-in-out infinite;
}

.header-icon svg {
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
        box-shadow: inset 0 0 20px rgba(157, 78, 221, 0.2), 0 15px 35px rgba(157, 78, 221, 0.5);
    }
}

.header-text h1 {
    font-size: 2.8rem;
    background: linear-gradient(to right, #fff 20%, var(--primary-glow) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 40px rgba(157, 78, 221, 0.2);
}

.subtitle {
    color: var(--secondary-glow);
    font-size: 1.05rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
}

.header-stats {
    display: flex;
    gap: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3), 0 0 40px var(--primary-glow);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 2.5rem;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-card {
    background: rgba(15, 15, 18, 0.5);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.dashboard-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.dashboard-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(157, 78, 221, 0.2);
    transform: translateY(-4px);
}

.card-title-section {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
}

.card-icon {
    display: none;
}

.card-title-section h2 {
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-description {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
}

/* Forms */
.attack-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.form-group:hover label {
    color: var(--secondary-glow);
}

.label-icon {
    color: var(--primary-glow);
    display: flex;
    align-items: center;
}

input,
select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.05rem;
    padding: 1.1rem 1.4rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

input:hover,
select:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

input:focus,
select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-glow);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(157, 78, 221, 0.2);
    transform: scale(1.02);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238b8b9a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.25rem;
    cursor: pointer;
}

select option,
select optgroup {
    background-color: var(--bg-main);
    color: #fff;
    font-family: var(--font-body);
}

/* Layer Tabs */
.layer-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.4rem;
    border-radius: var(--radius-sm);
    gap: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.layer-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.layer-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
    opacity: 0;
}

.layer-tab.active::before {
    width: 200%;
    height: 200%;
    opacity: 1;
}

.layer-tab span {
    position: relative;
    z-index: 1;
}

.layer-tab:not(.active):hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.layer-tab.active {
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.6), 0 0 20px rgba(247, 37, 133, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.btn-icon-danger {
    color: var(--danger);
    background: rgba(239, 35, 60, 0.1);
    border-color: rgba(239, 35, 60, 0.2);
}

.btn-icon-danger:hover {
    background: rgba(239, 35, 60, 0.2);
    color: #ff4d6d;
    border-color: rgba(239, 35, 60, 0.5);
    box-shadow: 0 0 25px rgba(239, 35, 60, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(100%);
}

.spinner {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    display: inline-block;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Attacking Status Panels */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.panel-title-section h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.panel-actions {
    display: flex;
    gap: 0.8rem;
}

/* Attack Items */
.attacks-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.attacks-list::-webkit-scrollbar {
    width: 8px;
}

.attacks-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.attacks-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.attacks-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.attack-item {
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInAttack 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInAttack {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.attack-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-glow);
    box-shadow: 0 0 15px var(--primary-glow);
}

.attack-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(5px);
}

.attack-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.attack-checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.attack-checkbox {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--text-muted);
    border-radius: 6px;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-right: 1.25rem;
}

.attack-checkbox:checked+.checkbox-custom {
    background: var(--primary-glow);
    border-color: var(--primary-glow);
    box-shadow: 0 0 10px var(--primary-glow);
}

.attack-checkbox:checked+.checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.attack-target-info {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.info-value {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.attack-info {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.attack-info .info-value {
    font-size: 1.05rem;
    color: var(--secondary-glow);
}

.progress-bar {
    height: 8px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
    border-radius: 4px;
    box-shadow: 0 0 15px var(--primary-glow);
    transition: width 1s linear;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loadingShine 2s infinite;
}

@keyframes loadingShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.time-remaining {
    font-size: 0.9rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
    text-align: center;
}

.empty-state-icon {
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.05));
}

.empty-state p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

/* Messages */
.message {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 600;
    display: none;
    border-left: 4px solid transparent;
    animation: slideInMsg 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

@keyframes slideInMsg {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message.show {
    display: block;
}

.message.success {
    background: rgba(0, 245, 212, 0.1);
    border-left-color: var(--success);
    color: var(--success);
    box-shadow: 0 4px 15px rgba(0, 245, 212, 0.1);
}

.message.error {
    background: rgba(239, 35, 60, 0.1);
    border-left-color: var(--danger);
    color: #ff758f;
    box-shadow: 0 4px 15px rgba(239, 35, 60, 0.1);
}

/* Popup */
.confirm-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.confirm-popup.show {
    opacity: 1;
    pointer-events: auto;
}

.confirm-popup-content {
    background: var(--bg-card-solid);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 0, 0, 0.6);
}

.confirm-popup.show .confirm-popup-content {
    transform: scale(1) translateY(0);
}

.confirm-popup-icon {
    color: var(--warning);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    filter: drop-shadow(0 0 15px rgba(254, 228, 64, 0.4));
}

.confirm-popup-content h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.confirm-popup-content p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.confirm-popup-buttons {
    display: flex;
    gap: 1.25rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
    flex: 1;
    box-shadow: 0 4px 15px rgba(239, 35, 60, 0.3);
}

.btn-danger:hover {
    background: #d90429;
    box-shadow: 0 8px 25px rgba(239, 35, 60, 0.5);
}

/* Login Page Styling Special */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
}

.login-card {
    background: rgba(15, 15, 18, 0.7);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(157, 78, 221, 0.15);
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
}

.login-header {
    text-align: center;
    margin-bottom: 3rem;
}

.login-icon {
    color: var(--primary-glow);
    margin-bottom: 1.5rem;
    display: inline-flex;
    padding: 1.25rem;
    border-radius: 50%;
    background: rgba(157, 78, 221, 0.05);
    box-shadow: inset 0 0 30px rgba(157, 78, 221, 0.2), 0 0 20px rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.login-header h1 {
    font-size: 2.2rem;
    color: #fff;
    letter-spacing: 0.05em;
}

/* Custom check animations */
@keyframes check {
    0% {
        height: 0;
        width: 0;
    }

    25% {
        height: 0;
        width: 5px;
    }

    50% {
        height: 10px;
        width: 5px;
    }
}

/* Rocket Launch Animation Fix */
.rocket-animation {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
    /* Hide perfectly unless it's launching */
    display: none;
}

.rocket-svg {
    width: 60px;
    height: 60px;
    color: var(--primary-glow);
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

.rocket-animation.launching {
    display: block;
    opacity: 1;
    animation: launchSequence 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes launchSequence {
    0% {
        transform: translate(-50%, -50%) scale(0.5) translateY(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1) translateY(-1000px);
    }
}