/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background: #0a1929;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Fish Background Animation */
.fish-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #0d1b2a 0%, #1b263b 50%, #415a77 100%);
    overflow: hidden;
}

/* Fish Animation will be handled by JS */
.fish {
    position: absolute;
    font-size: 24px;
    opacity: 0.6;
    user-select: none;
    pointer-events: none;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.logo-text {
    color: #ffffff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffffff;
}

.btn-login {
    background: #ffffff;
    color: #0d1b2a;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-btn span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.content-wrapper {
    width: 100%;
    max-width: 500px;
}

.card-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: center;
}

.card-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(13, 27, 42, 0.05);
    border-radius: 8px;
}

.feature-icon {
    font-size: 24px;
}

.feature-text {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-primary,
.btn-secondary {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-primary {
    background: #1b263b;
    color: #ffffff;
}

.btn-primary:hover {
    background: #415a77;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 38, 59, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #1b263b;
    border: 2px solid #1b263b;
}

.btn-secondary:hover {
    background: rgba(27, 38, 59, 0.1);
}

.card-info {
    padding: 15px;
    background: rgba(13, 27, 42, 0.05);
    border-radius: 8px;
    border-left: 4px solid #415a77;
}

.info-text {
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.6;
}

.info-text strong {
    color: #1b263b;
}

/* Footer */
.footer {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-icon {
    font-size: 20px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.mobile-menu-close span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

.mobile-menu-close span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-close span:nth-child(2) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-link {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s;
}

.mobile-menu-link:hover {
    color: #ffffff;
}

.mobile-menu-link-primary {
    background: #ffffff;
    color: #0d1b2a;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
    border: none;
}

.mobile-menu-link-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.mobile-menu-divider {
    margin: 20px 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .btn-login {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .header-container {
        padding: 12px 15px;
    }

    .card-form {
        padding: 30px 20px;
    }

    .card-title {
        font-size: 24px;
    }

    .card-subtitle {
        font-size: 14px;
    }

    .footer-container {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 16px;
    }

    .card-form {
        padding: 25px 15px;
    }
}
