/* style.css - Optimized Version */
:root {
    --hacker-green: #00ff00;
    --hacker-dark: #0a0a0a;
    --hacker-darker: #050505;
    --hacker-gray: #1a1a1a;
    --hacker-light: #cccccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--hacker-darker);
    color: var(--hacker-light);
    font-family: 'Courier New', monospace;
    overflow-x: hidden;
    position: relative;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(30, 30, 30, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(20, 20, 20, 0.6) 0%, transparent 50%);
    z-index: -1;
}

.matrix-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: matrixMove 20s linear infinite;
}

@keyframes matrixMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* WhatsApp Floating Button */
.whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
    background: #25D366;
    animation: pulse 2s infinite;
}

.whatsapp img {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.5);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Navigation */
.hacker-nav {
    background: rgba(10, 10, 10, 0.95) !important;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-weight: bold;
    color: var(--hacker-green) !important;
    font-size: 1.5rem;
}

.terminal-prompt {
    color: var(--hacker-green);
    margin-right: 5px;
}

.navbar-nav .nav-link {
    color: var(--hacker-light) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 5px;
}

.navbar-nav .nav-link:hover {
    color: var(--hacker-green) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--hacker-green);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.hacker-input {
    background: rgba(20, 20, 20, 0.8) !important;
    border: 1px solid rgba(0, 255, 0, 0.3) !important;
    color: var(--hacker-light) !important;
    border-radius: 5px !important;
}

.hacker-input:focus {
    border-color: var(--hacker-green) !important;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3) !important;
    background: rgba(20, 20, 20, 0.9) !important;
}

.hacker-btn {
    background: linear-gradient(90deg, var(--hacker-green), #00cc00) !important;
    color: #000 !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
}

.hacker-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4) !important;
}

.hacker-btn-outline {
    background: transparent !important;
    color: var(--hacker-green) !important;
    border: 1px solid var(--hacker-green) !important;
    font-weight: bold !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
}

.hacker-btn-outline:hover {
    background: rgba(0, 255, 0, 0.1) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2) !important;
}

.hacker-btn-small {
    background: linear-gradient(90deg, var(--hacker-green), #00cc00) !important;
    color: #000 !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    padding: 8px 15px !important;
    font-size: 0.9rem !important;
}

.hacker-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4) !important;
}

/* Sections */
.home-section, .toolkit-section, .mobile-apks-section {
    padding: 100px 0;
    position: relative;
}

.home-section {
    background: rgba(10, 10, 10, 0.7);
}

.toolkit-section, .mobile-apks-section {
    background: rgba(15, 15, 15, 0.8);
}

.mobile-apks-section {
    border-top: 1px solid rgba(0, 255, 0, 0.1);
}

.section-header {
    margin-bottom: 60px;
}

.terminal-text {
    color: var(--hacker-green);
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.terminal-line {
    height: 2px;
    width: 100px;
    background: var(--hacker-green);
    margin: 0 auto 20px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.terminal-description {
    color: var(--hacker-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Terminal Cards */
.terminal-card {
    background: linear-gradient(145deg, #1a1a1a, #222222);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 255, 0, 0.1);
    position: relative;
    height: 100%;
}

.terminal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.terminal-card:hover::before {
    transform: translateX(100%);
}

.terminal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.3);
}

/* Tool Cards */
.tool-card {
    text-align: center;
    padding: 0;
}

.tool-img-container {
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.tool-card:hover .tool-img {
    transform: scale(1.05);
}

.tool-content {
    padding: 20px;
}

.tool-content h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tool-content p {
    color: #aaaaaa;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Special Cards */
.whatsapp-card .tool-img-container {
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-card .tool-img-container i {
    font-size: 3rem;
    color: white;
}

.coming-soon-card .tool-img-container {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-card .tool-img-container i {
    font-size: 3rem;
    color: white;
}

/* APK Cards */
.apk-card {
    height: 100%;
}

.apk-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apk-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.apk-card:hover .apk-image img {
    transform: scale(1.05);
}

.premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700, #ff6b00);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.apk-content {
    padding: 25px;
}

.apk-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: center;
}

.apk-description {
    color: #aaaaaa;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.apk-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.apk-features span {
    color: var(--hacker-green);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apk-features i {
    color: var(--hacker-green);
    font-size: 0.8rem;
}

.apk-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.version, .size {
    color: #cccccc;
    font-size: 0.9rem;
}

.warning-note {
    font-size: 0.8rem;
    color: #ff6b6b;
    text-align: center;
    margin-top: 10px;
}

/* Coming Soon APK Card */
.apk-card.coming-soon-card .apk-image {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    display: flex;
    align-items: center;
    justify-content: center;
}

.apk-card.coming-soon-card .apk-image i {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
}

/* Footer */
.hacker-footer {
    background: rgba(10, 10, 10, 0.9);
    padding: 40px 0;
    border-top: 1px solid rgba(0, 255, 0, 0.2);
    margin-top: 50px;
}

.brand-text {
    font-size: 1.5rem;
    color: var(--hacker-green);
    font-weight: bold;
}

.footer-nav .list-inline-item {
    margin: 0 10px;
}

.footer-nav a {
    color: var(--hacker-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--hacker-green);
}

.hacker-footer p {
    color: #aaaaaa;
    margin-top: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-section, .section-header, .terminal-card {
    animation: fadeInUp 0.8s ease forwards;
}

.terminal-card:nth-child(1) { animation-delay: 0.1s; }
.terminal-card:nth-child(2) { animation-delay: 0.2s; }
.terminal-card:nth-child(3) { animation-delay: 0.3s; }
.terminal-card:nth-child(4) { animation-delay: 0.4s; }
.terminal-card:nth-child(5) { animation-delay: 0.5s; }
.terminal-card:nth-child(6) { animation-delay: 0.6s; }

/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-content {
    background: linear-gradient(145deg, #1a1a1a, #222222);
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(0, 255, 0, 0.2);
    box-shadow: 0 15px 35px rgba(0, 255, 0, 0.2);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--hacker-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--hacker-green);
}

.whatsapp-icon {
    text-align: center;
    margin-bottom: 20px;
}

.whatsapp-icon i {
    font-size: 4rem;
    color: #25D366;
}

.popup-title {
    color: var(--hacker-green);
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.popup-subtitle {
    color: var(--hacker-light);
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
}

.features-list {
    list-style: none;
    margin-bottom: 25px;
}

.features-list li {
    color: var(--hacker-light);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 25px;
}

.features-list li:before {
    content: "✓";
    color: var(--hacker-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.development-notice {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.notice-title {
    color: #ff6b6b;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.notice-text {
    color: var(--hacker-light);
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-section, .toolkit-section, .mobile-apks-section {
        padding: 60px 0;
    }
    
    .terminal-text {
        font-size: 1.8rem;
    }
    
    .tool-img-container, .apk-image {
        height: 160px;
    }
    
    .whatsapp {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .footer-nav .list-inline-item {
        display: block;
        margin: 5px 0;
    }
    
    .popup-content {
        padding: 20px;
        margin: 10px;
    }
}