/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(34, 197, 94, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(34, 197, 94, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #dcfce7;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}



.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Important Notice Styles */
.important-notice {
    background: rgba(245, 158, 11, 0.9);
    border: 2px solid #d97706;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    animation: pulse 2s infinite;
}

.important-notice i {
    font-size: 1.5rem;
    color: #fde68a;
    flex-shrink: 0;
}

.important-notice span {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.5;
}



@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6);
    }
}

.server-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ip-address, .server-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.server-status.offline {
    background: rgba(239, 68, 68, 0.8);
}

.server-status.offline i {
    color: #fca5a5;
}

.server-status.online {
    background: rgba(34, 197, 94, 0.8);
}

.server-status.online i {
    color: #bbf7d0;
}

.server-status.checking {
    background: rgba(245, 158, 11, 0.8);
}

.server-status.checking i {
    color: #fde68a;
}

.server-status.error {
    background: rgba(239, 68, 68, 0.8);
}

.server-status.error i {
    color: #fca5a5;
}

.player-count {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: #16a34a;
    color: white;
}

.btn-primary:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Palm Tree Decorations */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.palm-tree {
    position: absolute;
    width: 100px;
    height: 200px;
    background: linear-gradient(45deg, #22c55e, #16a34a);
    border-radius: 50px 50px 0 0;
}

.palm-tree::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 40px;
    background: #22c55e;
    border-radius: 60px;
}

.palm-tree.left {
    left: 10%;
    top: 20%;
    transform: rotate(-15deg);
}

.palm-tree.right {
    right: 10%;
    top: 30%;
    transform: rotate(15deg);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #16a34a;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 80px 0;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-top: 15px;
    font-weight: 300;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #16a34a;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    border-left: 4px solid #22c55e;
}

.about-highlight i {
    font-size: 1.2rem;
    color: #22c55e;
}

.about-highlight span {
    font-weight: 500;
    color: #374151;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.3);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.image-placeholder span {
    font-size: 1.1rem;
    font-weight: 500;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.15);
    border-color: #bbf7d0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #16a34a;
}

.feature-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Games Section */
.games {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    position: relative;
    overflow: hidden;
}



.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.game-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #bbf7d0;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
}

.game-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.game-icon i {
    font-size: 2rem;
    color: white;
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #16a34a;
}

.game-card p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.game-status {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.game-status.offline {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.game-status.online {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Game Images */
.game-image {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.game-screenshot {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.game-screenshot:hover {
    transform: scale(1.05);
}



/* Status Section */
.status {
    background: white;
}

.status-content {
    max-width: 800px;
    margin: 0 auto;
}

.status-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #bbf7d0;
    margin-bottom: 30px;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.status-header h3 {
    font-size: 1.5rem;
    color: #16a34a;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
}

.status-indicator.offline {
    background: #fef2f2;
    color: #dc2626;
}

.status-indicator.offline i {
    color: #dc2626;
}

.status-indicator.online {
    background: #f0fdf4;
    color: #16a34a;
}

.status-indicator.online i {
    color: #22c55e;
}

.status-indicator.checking {
    background: #fef3c7;
    color: #d97706;
}

.status-indicator.checking i {
    color: #f59e0b;
}

.status-indicator.error {
    background: #fef2f2;
    color: #dc2626;
}

.status-indicator.error i {
    color: #dc2626;
}

.status-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.status-message {
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.status-message i {
    font-size: 1.5rem;
    color: #d97706;
}

.status-message p {
    color: #92400e;
    font-weight: 500;
}

/* Status Widget */
.status-widget-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid #bbf7d0;
    margin-top: 30px;
    text-align: left;
}

.status-widget-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #16a34a;
}

.widget-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.status-widget {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.status-widget:hover {
    transform: scale(1.02);
}

.widget-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    font-style: italic;
}



/* Footer */
.footer {
    background: #16a34a;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.social-link span {
    font-weight: 500;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .nav-container {
        padding: 0 30px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .about-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .server-info {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    
    .server-info-item {
        min-width: 200px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .status-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .status-widget-card {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(34, 197, 94, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 10px 20px;
        display: block;
    }
    
    .hero {
        padding: 120px 0 80px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .server-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .server-info-item {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-header h2 {
        font-size: 2.5rem;
    }
    
    .about-subtitle {
        font-size: 1.1rem;
    }
    
    .about-main {
        gap: 30px;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .about-features {
        gap: 25px;
    }
    
    .feature {
        padding: 25px;
    }
    
    .games {
        padding: 60px 0;
    }
    
    .games h2 {
        font-size: 2.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .game-card {
        padding: 25px;
    }
    
    .game-card h3 {
        font-size: 1.5rem;
    }
    
    .status {
        padding: 60px 0;
    }
    
    .status-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .status-header h2 {
        font-size: 2.5rem;
    }
    
    .status-content {
        gap: 25px;
    }
    
    .status-card {
        padding: 25px;
    }
    
    .status-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .status-widget-card {
        padding: 25px;
    }
    
    .palm-tree {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .server-info-item {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .server-info-item strong {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .about-header h2 {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .games h2 {
        font-size: 2rem;
    }
    
    .game-card {
        padding: 20px;
    }
    
    .game-card h3 {
        font-size: 1.3rem;
    }
    
    .status-header h2 {
        font-size: 2rem;
    }
    
    .status-card {
        padding: 20px;
    }
    
    .status-widget-card {
        padding: 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .server-info-item {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .about-header h2 {
        font-size: 1.8rem;
    }
    
    .about-subtitle {
        font-size: 0.95rem;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
    }
    
    .games h2 {
        font-size: 1.8rem;
    }
    
    .game-card {
        padding: 18px;
    }
    
    .game-card h3 {
        font-size: 1.2rem;
    }
    
    .status-header h2 {
        font-size: 1.8rem;
    }
    
    .status-card {
        padding: 18px;
    }
    
    .status-widget-card {
        padding: 18px;
    }
    
    .footer {
        padding: 35px 0 15px;
    }
}

/* Landscape Orientation für Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .server-info {
        gap: 10px;
    }
    
    .about, .games, .status {
        padding: 40px 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .game-image img,
    .game-screenshot,
    .about-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    .btn,
    .nav-menu a,
    .game-card,
    .status-card {
        min-height: 44px; /* Apple's recommended minimum touch target size */
    }
    
    .btn {
        touch-action: manipulation; /* Prevents double-tap zoom on buttons */
    }
    
    .nav-menu a {
        padding: 15px 20px; /* Larger touch area for navigation */
    }
    
    /* Improve scrolling performance on mobile */
    .hero,
    .about,
    .games,
    .status {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better spacing for mobile */
    .container {
        padding: 0 20px;
    }
    
    /* Optimize images for mobile */
    .game-image img,
    .game-screenshot,
    .about-image img {
        max-height: 200px; /* Prevent images from being too tall on mobile */
        object-fit: cover;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .cta-buttons,
    .palm-tree {
        display: none !important;
    }
    
    .hero,
    .about,
    .games,
    .status,
    .footer {
        padding: 20px 0;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
