body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #181818;
    color: #eee;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background-color: #222;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease-out;
    margin-right: 20px;
}

#copy-ip-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.7rem 0.7rem;
    text-align: center;
    text-decoration: none;
    margin-left: 20px;
    transform: translateX(-50%);
    display: inline-block;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    animation: fadeInRight 1s ease-out;
}

#copy-ip-btn:hover {
    background-color: #45a049;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('bg.png') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 8rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 600px;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content .tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ddd;
}

.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

.hero-image {
    margin-top: 2rem;
    animation: fadeIn 1.5s ease-out;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#about h2,
#features h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #bbb;
}

#about ul {
    list-style: disc;
    margin-left: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background-color: #292929;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #007bff;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    color: #ddd;
}

footer {
    background-color: #222;
    color: #aaa;
    text-align: center;
    padding: 1rem 0;
    position: sticky;
    bottom: 0;
    width: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
}

.copy-notification.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0s;
}

.copy-notification.error {
    background-color: rgba(179, 38, 38, 0.8);
}

a {
    color: #bbb;
}

.server-ip {
    display: inline-block;
    font-family: 'Courier New', Courier, monospace;
    background-color: #1e1e1e;
    color: #00ff99;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 153, 0.5);
    font-size: 1.1rem;
    white-space: nowrap;
    user-select: all;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.server-ip:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 153, 0.7);
    cursor: pointer;
}