* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 5px solid #2196f3;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(33, 150, 243, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 900;
    color: #1565c0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
}

.logo-img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.3));
    animation: logoBounce 2s ease-in-out infinite;
    border-radius: 50%;
    border: 4px solid #1565c0;
    background: linear-gradient(145deg, #64b5f6, #42a5f5);
    padding: 5px;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
    border-color: #2196f3;
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.4);
}

@keyframes logoBounce {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(2deg); }
    75% { transform: translateY(-3px) rotate(-1deg); }
}

.logo-text {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #1565c0, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #424242;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 20px;
    border-radius: 25px;
    font-family: 'Fredoka One', cursive;
}

.nav-links a:hover {
    color: #1565c0;
    background: rgba(33, 150, 243, 0.15);
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.cta-button {
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 30px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Fredoka One', cursive;
    border: 3px solid #ff6b35;
}

.cta-button:hover {
    transform: translateY(-6px) scale(1.05) rotate(-2deg);
    box-shadow: 0 15px 35px rgba(255, 87, 34, 0.6);
    animation: buttonWiggle 0.6s ease-in-out;
}

@keyframes buttonWiggle {
    0%, 100% { transform: translateY(-6px) scale(1.05) rotate(-2deg); }
    25% { transform: translateY(-6px) scale(1.05) rotate(3deg); }
    75% { transform: translateY(-6px) scale(1.05) rotate(-4deg); }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    color: white;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero::before {
    content: "🐧💼🐧💼🐧💼🐧💼🐧💼";
    position: absolute;
    top: 15%;
    left: -100%;
    font-size: 3rem;
    opacity: 0.1;
    animation: executiveMarch 20s linear infinite;
    white-space: nowrap;
}

.hero::after {
    content: "💰🐟💰🐟💰🐟💰🐟💰🐟";
    position: absolute;
    bottom: 20%;
    right: -100%;
    font-size: 2.5rem;
    opacity: 0.1;
    animation: moneyFlow 25s linear infinite;
    white-space: nowrap;
}

@keyframes executiveMarch {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes moneyFlow {
    0% { right: -100%; }
    100% { right: 100%; }
}

/* Top Row: Text and Bank Logo */
.hero-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.4);
    background: linear-gradient(45deg, #ffffff, #e1f5fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Fredoka One', cursive;
}

.hero-text .subtitle {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Fredoka One', cursive;
}

/* Penguin Character */
.penguin-character {
    position: relative;
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.penguin-avatar-img {
    width: 350px;
    height: 350px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    border-radius: 50%;
    border: 8px solid #1565c0;
    background: linear-gradient(145deg, #64b5f6, #42a5f5);
    padding: 10px;
    transition: all 0.3s ease;
}

.penguin-avatar-img:hover {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.5));
}

/* Trading Interface */
.trading-interface {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px;
    border: 5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
}

.balance-display {
    text-align: center;
    margin-bottom: 30px;
}

.balance-label {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: 'Fredoka One', cursive;
}

.balance-amount {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    background: linear-gradient(45deg, #ffffff, #e1f5fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Fredoka One', cursive;
}

.fish-inventory {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.fish-item {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.fish-item:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) rotate(3deg);
    border-color: #ffffff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.fish-item.selected {
    background: rgba(255, 193, 7, 0.4);
    border-color: #ffc107;
    transform: scale(1.15);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.4);
}

.fish-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    display: block;
}

.fish-count {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Fredoka One', cursive;
    margin-bottom: 4px;
}

.fish-value {
    font-size: 0.9rem;
    opacity: 0.8;
    font-family: 'Fredoka One', cursive;
    margin-bottom: 8px;
}

.fish-status {
    display: inline-block;
    border-radius: 15px;
    padding: 4px 8px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Fredoka One', cursive;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fish-status::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 ease;
}

.fish-item:hover .fish-status::before {
    left: 100%;
}

.fish-item:hover .fish-status {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Action Buttons */
.action-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.action-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 20px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Fredoka One', cursive;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.08) rotate(3deg);
    border-color: #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.action-btn:active {
    transform: scale(0.95);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    100% { box-shadow: 0 0 0 30px rgba(255, 255, 255, 0); }
}

/* Penguin Friends Section */
.friends-section {
    margin-top: 40px;
}

.friends-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    font-family: 'Fredoka One', cursive;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.friend-card {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.friend-card:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.08) rotate(2deg);
    border-color: #ffffff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.friend-card.selected {
    background: rgba(76, 175, 80, 0.4);
    border-color: #4caf50;
    transform: scale(1.12);
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.4);
}

.friend-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    display: block;
    margin: 0 auto 10px;
    border: 4px solid #1565c0;
    background: linear-gradient(145deg, #64b5f6, #42a5f5);
    padding: 5px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.friend-card:hover .friend-avatar-img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
}

.friend-card.selected .friend-avatar-img {
    border-color: #4caf50;
    transform: scale(1.15);
    filter: drop-shadow(0 15px 30px rgba(76, 175, 80, 0.4));
}

.friend-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Fredoka One', cursive;
}

.friend-status {
    font-size: 0.8rem;
    opacity: 0.8;
    font-family: 'Fredoka One', cursive;
}

/* Separator */
.separator {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.separator::before {
    content: "🐧💼🐧💼🐧💼🐧💼🐧💼";
    position: absolute;
    top: 50%;
    left: -100%;
    transform: translateY(-50%);
    font-size: 2rem;
    opacity: 0.1;
    animation: separatorMarch 15s linear infinite;
    white-space: nowrap;
}

@keyframes separatorMarch {
    0% { left: -100%; }
    100% { left: 100%; }
}

.separator-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.separator-text {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.5);
    background: linear-gradient(45deg, #ffffff, #e1f5fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    animation: separatorGlow 2s ease-in-out infinite alternate;
}

@keyframes separatorGlow {
    0% { text-shadow: 4px 4px 8px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.3); }
    100% { text-shadow: 4px 4px 8px rgba(0,0,0,0.5), 0 0 30px rgba(255,255,255,0.6); }
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #1565c0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
    font-family: 'Fredoka One', cursive;
}

.section-subtitle {
    font-size: 1.4rem;
    color: #424242;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 600;
    font-family: 'Fredoka One', cursive;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.feature-card {
    background: white;
    padding: 3.5rem;
    border-radius: 35px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 5px solid transparent;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #2196f3, #03a9f4, #00bcd4, #009688);
}

.feature-card:hover {
    transform: translateY(-25px) scale(1.03);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
    border-color: #2196f3;
}

.feature-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #2196f3, #03a9f4);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(33, 150, 243, 0.4);
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 20px 45px rgba(33, 150, 243, 0.6);
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    color: #1565c0;
    font-family: 'Fredoka One', cursive;
}

.feature-description {
    color: #424242;
    line-height: 1.7;
    font-weight: 500;
    font-size: 1.1rem;
    font-family: 'Fredoka One', cursive;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
    transition: all 0.3s ease;
    padding: 18px 35px;
    border-radius: 35px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    font-family: 'Fredoka One', cursive;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.12) rotate(3deg);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: 'Fredoka One', cursive;
}

/* Notification */
.notification {
    position: fixed;
    top: 120px;
    right: 20px;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 25px 35px;
    border-radius: 25px;
    font-weight: 800;
    transform: translateX(400px);
    transition: all 0.5s ease;
    z-index: 2000;
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
    border: 4px solid rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    font-family: 'Fredoka One', cursive;
}

.notification.show {
    transform: translateX(0);
}

/* Trading Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    backdrop-filter: blur(10px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
    padding: 40px;
    border-radius: 35px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    border: 5px solid #2196f3;
}

.modal-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #1565c0;
    text-align: center;
    font-family: 'Fredoka One', cursive;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

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

    .hero-top-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .penguin-avatar-img {
        width: 280px;
        height: 280px;
    }

    .trading-interface {
        padding: 30px 20px;
    }

    .fish-inventory {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }

    .action-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .friends-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .separator-text {
        font-size: 2rem;
    }
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
} 