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

body {
    font-family: 'Poppins', sans-serif !important;
    /* background: linear-gradient(135deg, #1565C0 0%, #4A6B2A 30%, #6B4423 70%, #8B4513 100%); */
    background-image: url('../background.png');
    background-size: auto;
    background-repeat: repeat;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 10;
    animation: slideDown 1s ease-out;
}

.nav-container {
    background: #42A5F5;
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 8px 32px rgba(19, 95, 139, 0.3);
    border: 1px solid rgba(218, 165, 32, 0.3);
    transition: transform 0.3s ease;
    position: relative;
}

.nav-container:hover {
    transform: translateY(-2px);
}

.logo {
    font-weight: 700;
    font-size: 18px;
    color: #fffaf3;
    animation: pulse 3s infinite;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0 20px;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #8B2635;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #8B2635;
    transition: all 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.search-btn {
    background: #0D47A1;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fffaf3;
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.5);
}

.login-btn {
    background: #0D47A1;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    color: #fffaf3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: #0D47A1;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #1565C0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(245, 222, 179, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-top: 10px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.4);
    border: 1px solid rgba(218, 165, 32, 0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 20px;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-nav-links a {
    display: block;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    background: rgba(139, 38, 53, 0.1);
    color: #8B2635;
    transform: translateX(10px);
}

.mobile-auth-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-top: 15px;
    border-top: 1px solid rgba(218, 165, 32, 0.2);
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Top Section */
.top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: white;
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.2);
    border: 1px solid rgba(218, 165, 32, 0.3);
}

/* Top Section */
.top-section2 {
    display: grid;
    gap: 30px;
    background: white;
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.2);
    border: 1px solid rgba(218, 165, 32, 0.3);
}

/* Left Box - Visual Area */
.visual-area {
    border: 3px solid #1565C0;
    border-radius: 20px;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ball-3d {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 30% 30%, #FF6B6B, #FF4757, #C44569);
    border-radius: 50%;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset -10px -10px 20px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.visual-title {
    /* color: white; */
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.visual-subtitle {
    /* color: rgba(255, 255, 255, 0.9); */
    font-size: 1rem;
    text-align: center;
    margin-top: 10px;
}

/* Right Box - Details Area */
.details-area {
    background: #f8f9fa;
    border: 3px solid #1565C0;
    border-radius: 20px;
    padding: 30px;
}

.details-title {
    color: #000000;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 3px solid #DAA520;
    padding-bottom: 10px;
}

.detail-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 5px;
}

.detail-line:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-label {
    color: #000000;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 20px;
}

.details-title {
    color: #161615e6;
    font-weight: 500;
    text-align: right;
    flex: 1;
}

.badge {
    background: #DAA520;
    color: #fffaf3;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Bottom Section - Control Buttons */
.bottom-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    background: white;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(139, 69, 19, 0.2);
    border: 1px solid rgba(218, 165, 32, 0.3);
}

.control-button {
    background: #42A5F5;
    border: 3px solid #1565C0;
    border-radius: 15px;
    height: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fffaf3;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.control-button::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;
}

.control-button:hover::before {
    left: 100%;
}

.control-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgb(25 135 84 / 30%);
    background: rgb(25 135 84 / 50%);
    color: white;
}

.control-button.active {
    transform: translateY(-5px) scale(1.05);
    background: #1565C0;
    color: white;
}

.button-icon {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.button-text {
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

    .main-container {
        padding: 15px;
    }

    .top-section,
    .bottom-section {
        padding: 25px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        border-radius: 25px;
        padding: 15px 25px;
    }

    .main-container {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px;
    }

    .nav-container {
        padding: 12px 20px;
        border-radius: 20px;
    }

    .logo {
        font-size: 16px;
    }

    .main-container {
        padding: 10px;
    }

    .top-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .visual-area {
        height: 250px;
    }

    .ball-3d {
        width: 80px;
        height: 80px;
    }

    .visual-title {
        font-size: 1.2rem;
    }

    .visual-subtitle {
        font-size: 0.9rem;
    }

    .details-area {
        padding: 20px;
    }

    .details-title {
        font-size: 1.2rem;
    }

    .detail-line {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0;
    }

    .detail-label {
        margin-bottom: 5px;
        margin-right: 0;
    }

    .detail-value {
        text-align: left;
    }

    .bottom-section {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 20px;
    }

    .control-button {
        height: 60px;
    }

    .button-icon {
        font-size: 1.4rem;
        margin-bottom: 3px;
    }

    .button-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        margin: 0 10px;
        padding: 10px 15px;
    }

    .auth-buttons {
        gap: 10px;
    }

    .search-btn,
    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
    }

    .login-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .main-container {
        padding: 5px;
    }

    .top-section,
    .bottom-section {
        padding: 15px;
    }

    .visual-area {
        height: 200px;
    }

    .ball-3d {
        width: 60px;
        height: 60px;
    }

    .visual-title {
        font-size: 1rem;
    }

    .visual-subtitle {
        font-size: 0.8rem;
    }

    .details-title {
        font-size: 1.1rem;
    }

    .detail-label,
    .detail-value {
        font-size: 0.9rem;
    }

    .bottom-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .control-button {
        height: 55px;
    }

    .button-icon {
        font-size: 1.2rem;
    }

    .button-text {
        font-size: 0.65rem;
    }
}
