/* Reset basic styles for consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General body and background */
body {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
    background: black;
    overflow-x: hidden;
}

/* Background animation */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 255, 0, 0.1),
        rgba(0, 255, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    animation: moveBackground 5s linear infinite;
    z-index: -1;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #111;
    box-shadow: 0 2px 10px #00ff00;
}

.logo {
    font-size: 2rem;
    text-transform: uppercase;
    animation: glitch 1s infinite;
}

/* Navigation menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #00ff00;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

nav a::after {
    content: '';
    display: block;
    height: 2px;
    background: #00ff00;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav a:hover::after {
    transform: scaleX(1);
}

/* VPN Section */
.vpn-section {
    text-align: center;
    padding: 80px 20px;
}

.vpn-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.vpn-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Payment Form */
.payment-form {
    max-width: 500px;
    margin: 0 auto 40px auto;
    background-color: #111;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    text-align: left;
}

.payment-form h3 {
    margin-bottom: 20px;
    color: #00ffcc;
}

.payment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #00ff00;
}

.payment-form input[type="tel"],
.payment-form input[type="number"],
.payment-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #00ff00;
    background-color: black;
    color: #00ff00;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    font-family: 'Courier New', Courier, monospace;
}

.payment-form input:focus,
.payment-form select:focus {
    background-color: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

.payment-form .pay-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mpesa-btn .payment-icon {
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Payment buttons (kept from original) */
.payment-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.pay-btn {
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    width: 250px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mpesa-btn {
    background: #4CAF50;
    color: white;
    border: 2px solid #4CAF50;
}

.mpesa-btn:hover {
    background: #388E3C;
}

.paypal-btn {
    background: #03A9F4;
    color: white;
    border: 2px solid #03A9F4;
}

.paypal-btn:hover {
    background: #0288D1;
}

/* M-Pesa icon adjustments */
.mpesa-btn .payment-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.pay-btn i {
    margin-right: 10px;
}

.pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Payment Details Section */
#payment-details-section {
    margin-top: 30px;
    text-align: center;
}

/* Copy Button Styling */
#copy-btn {
    padding: 10px 20px;
    background: linear-gradient(45deg, #00ff00, #03A9F4);
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease-in-out;
    font-family: 'Courier New', Courier, monospace;
}

#copy-btn:hover {
    background: linear-gradient(45deg, #03A9F4, #00ff00);
    color: white;
    transform: scale(1.1);
}

#copy-btn:active {
    transform: scale(0.95);
}

#copy-btn.copied {
    background: #388E3C;
    color: white;
    animation: pulse 1s ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* M-Pesa Message Section */
#mpesa-message-section {
    text-align: center;
    margin-top: 40px;
}

#mpesa-message-section h3 {
    color: #00ff00;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#mpesa-message {
    width: 80%;
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid #00ff00;
    border-radius: 8px;
    background: black;
    color: #00ff00;
    margin-bottom: 20px;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
    transition: background-color 0.3s, box-shadow 0.3s;
    font-family: 'Courier New', Courier, monospace;
}

#mpesa-message:focus {
    outline: none;
    background-color: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
}

#get-vpn {
    padding: 12px 25px;
    background: #00ff00;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

#get-vpn:hover {
    background: white;
    color: black;
}

/* Download Section */
#download-section {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

#download-section .btn {
    padding: 12px 25px;
    background: #00ff00;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

#download-section .btn:hover {
    background: #388E3C;
}

/* Social Media Section */
.social-media-section {
    margin-top: 50px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    color: #00ff00;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: white;
}

/* Details row */
.detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.detail-row span {
    font-size: 1.2rem;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
}

.copy-btn {
    padding: 8px 16px;
    background: linear-gradient(45deg, #00ff00, #03A9F4);
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
    font-size: 0.9rem;
}

.copy-btn:hover {
    background: linear-gradient(45deg, #03A9F4, #00ff00);
    color: white;
    transform: scale(1.05);
}