/* Main Stylesheet for CSDevils Website */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    background-image: url('https://csdevils.com/imagini/back.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

/* White overlay for better readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Fixed header */
header {
    padding: 15px 0;
    border-bottom: 2px solid rgba(0, 153, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.98);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #0099ff;
    box-shadow: 0 0 20px rgba(0, 153, 255, 0.2);
    object-fit: cover;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(to right, #0099ff, #0066cc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(0, 153, 255, 0.1);
    letter-spacing: 1.5px;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 2px;
    margin-top: 3px;
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #0099ff;
    background: rgba(0, 153, 255, 0.1);
    transform: translateY(-2px);
}

/* Main content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
    width: 100%;
}

/* Hero Section */
.hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 153, 255, 0.2);
    backdrop-filter: blur(10px);
    border-left: 5px solid #0099ff;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #222;
    text-shadow: 0 0 10px rgba(0, 153, 255, 0.1);
    letter-spacing: 1px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: #0099ff;
    font-weight: bold;
}

/* Buttons container */
.buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Button Styles */
.forum-button, .download-button, .steam-button {
    display: inline-block;
    color: white;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    min-width: 220px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.forum-button {
    background: linear-gradient(135deg, #0099ff 0%, #0066cc 100%);
}

.download-button {
    background: linear-gradient(135deg, #00cc66 0%, #00994d 100%);
}

.steam-button {
    background: linear-gradient(135deg, #171a21 0%, #2a475e 100%);
}

.forum-button:hover, .download-button:hover, .steam-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.forum-button:hover {
    background: linear-gradient(135deg, #33adff 0%, #0080ff 100%);
}

.download-button:hover {
    background: linear-gradient(135deg, #33ff99 0%, #00cc66 100%);
}

.steam-button:hover {
    background: linear-gradient(135deg, #272a31 0%, #3a577e 100%);
}

.forum-button i, .download-button i, .steam-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* CS Server Section */
.server-section {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 153, 255, 0.2);
    backdrop-filter: blur(10px);
    border-left: 5px solid #0099ff;
}

.server-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 25px;
    color: #0099ff;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.server-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}

.server-details {
    flex: 1;
    min-width: 300px;
    text-align: left;
    padding: 25px;
    background: rgba(240, 248, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(0, 153, 255, 0.1);
}

.server-details h3 {
    color: #0099ff;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
}

.server-details p {
    color: #444;
    margin-bottom: 15px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-details i {
    color: #0099ff;
    width: 20px;
}

.server-connect {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 30px;
    background: rgba(240, 248, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(0, 153, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.server-connect h3 {
    color: #0099ff;
    margin-bottom: 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
}

.server-ip {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 2px solid rgba(0, 153, 255, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: #222;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.server-ip span {
    color: #0099ff;
    font-weight: bold;
}

.connect-instructions {
    color: #555;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.steam-connect-btn {
    width: 100%;
    max-width: 300px;
}

.steam-requirements {
    color: #777;
    font-size: 0.85rem;
    margin-top: 15px;
}

/* Download Section */
.download-section {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 204, 102, 0.2);
    backdrop-filter: blur(10px);
    border-left: 5px solid #00cc66;
}

.download-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 25px;
    color: #00cc66;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.download-description {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.7;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 25px;
    width: 100%;
    max-width: 300px;
    border-left: 4px solid #00cc66;
    text-align: left;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature h4 {
    color: #00cc66;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
}

.feature p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature i {
    color: #00cc66;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

#mainDownloadButton {
    margin-top: 30px;
    display: block;
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.download-info {
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
}

/* Game Info Section */
.game-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    width: 100%;
    max-width: 1400px;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    border-top: 4px solid #0099ff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 153, 255, 0.1);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 153, 255, 0.15);
}

.info-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #0099ff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.info-card i {
    color: #0099ff;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.98);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 153, 255, 0.2);
    margin-top: 50px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.copyright a {
    color: #0099ff;
    text-decoration: none;
    transition: color 0.3s;
}

.copyright a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    color: #666;
    font-size: 1.2rem;
    transition: all 0.3s;
    background: rgba(0, 153, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: #0099ff;
    transform: scale(1.1);
    background: rgba(0, 153, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}