@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Allgemeine Styles */
html, body {
    height: 100%; /* Ensure html and body take full viewport height */
}

body {
    font-family: 'Roboto', sans-serif; /* Modern font for the entire website */
    background-color: #1a1a1a; /* Dark background color */
    color: #ffffff; /* White text color */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
    background-color: #0d0d0d; /* Darker footer */
    padding: 2rem 0;
    color: #888; /* Softer text for footer */
    text-align: center;
    border-top: 1px solid #1a1a1a;
    font-size: 0.95em;
}

/* Navbar Styles */
.navbar {
    background-color: #222222; /* Darker navbar */
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* Stronger shadow for depth */
    border-bottom: 1px solid #333; /* Subtle border */
}

.navbar-brand {
    font-weight: bold;
    color: #0cc9c9; /* Highlight brand color */
}

.navbar-nav .nav-link {
    color: #e0e0e0; /* Navbar links */
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #00ff88; /* Highlight on hover */
}

/* Card Styles */
.card {
    background-color: #2d2d2d; /* Darker card background */
    box-shadow: 0 6px 12px rgba(0,0,0,0.3); /* Deeper shadow */
    border: 1px solid #3a3a3a; /* Subtle border */
    margin-bottom: 0; /* Removed margin-bottom here as gap handles it */
    border-radius: 12px; /* More rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    animation: fadeInUp 1s ease-out forwards; /* Apply animation */
    opacity: 0; /* Start invisible */
}

.card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 12px 24px rgba(0,0,0,0.5); /* Stronger shadow on hover */
}

.card-header {
    background-color: #3a3a3a; /* Darker header */
    border-bottom: 1px solid #4a4a4a;
    color: #e0e0e0;
}

.card-title {
    color: #00ff88; /* Highlight title color */
}

/* Product Card Styles */
.card-img-top {
    height: 220px; /* Slightly larger image */
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Button Styles */
.btn {
    border-radius: 5px; /* Slightly more rounded */
    padding: 0.6rem 1.2rem; /* More padding */
    font-weight: 500;
    transition: all 0.3s ease; /* Smooth transitions */
}

.btn-primary {
    background-color: #00ff88; /* Vibrant primary color */
    border-color: #00ff88;
    color: #1a1a1a; /* Dark text on vibrant button */
}

.btn-primary:hover {
    background-color: #00a1ff; /* Change color on hover */
    border-color: #00a1ff;
    color: #ffffff;
}

.btn-secondary {
    background-color: #555555;
    border-color: #555555;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #777777;
    border-color: #777777;
}

/* Form Styles */
.form-control {
    border-radius: 5px;
    border: 1px solid #555555;
    background-color: #3a3a3a; /* Darker input background */
    color: #e0e0e0;
    padding: 0.6rem;
}

.form-control:focus {
    border-color: #00ff88;
    box-shadow: 0 0 0 0.2rem rgba(0,255,136,0.25); /* Glow effect */
    background-color: #3a3a3a;
    color: #e0e0e0;
}

/* Table Styles */
.table {
    margin-bottom: 0;
    color: #e0e0e0; /* Table text color */
}

.table th {
    border-top: none;
    background-color: #3a3a3a; /* Darker table header */
    color: #e0e0e0;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #2d2d2d; /* Alternating row background */
}

.table-hover tbody tr:hover {
    background-color: #4a4a4a; /* Hover effect */
}

/* Alert Styles */
.alert {
    border-radius: 5px;
    border: none;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.alert-success {
    background-color: #00ff88;
}

.alert-danger {
    background-color: #ff4d4d;
}

.alert-info {
    background-color: #00a1ff;
}

/* Modal Styles */
.modal-content {
    border-radius: 10px;
    border: none;
    background-color: #2d2d2d; /* Darker modal background */
    color: #e0e0e0;
}

.modal-header {
    background-color: #3a3a3a;
    border-bottom: 1px solid #4a4a4a;
    color: #e0e0e0;
}

.modal-footer {
    border-top: 1px solid #4a4a4a;
}

/* Badge Styles */
.badge {
    padding: 0.6em 0.9em; /* More padding */
    font-weight: 600;
    border-radius: 4px;
}

.badge-primary {
    background-color: #00ff88;
    color: #1a1a1a;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .card-img-top {
        height: 180px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Custom Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Colors */
.text-primary {
    color: #00ff88 !important;
}

.bg-primary {
    background-color: #00ff88 !important;
}

/* Custom Utilities */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
}

.rounded-lg {
    border-radius: 12px !important;
}

/* Custom Components */
.product-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4); /* More pronounced shadow on hover */
}

.quantity-input {
    width: 80px; /* Slightly wider input */
    text-align: center;
    background-color: #3a3a3a;
    border-color: #555;
    color: #e0e0e0;
}

/* Custom Form Elements */
.custom-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23e0e0e0' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); /* Adjusted SVG color */
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2rem;
    background-color: #3a3a3a;
    border-color: #555;
    color: #e0e0e0;
}

/* Custom Table Styles */
.table-hover tbody tr:hover {
    background-color: rgba(0,255,136,0.1); /* Lighter hover effect */
}

/* Custom Button Variants */
.btn-outline-primary {
    color: #00ff88;
    border-color: #00ff88;
}

.btn-outline-primary:hover {
    color: #1a1a1a;
    background-color: #00ff88;
    border-color: #00ff88;
}

/* Custom Card Variants */
.card-hover {
    transition: all 0.4s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3); /* Stronger shadow */
}

/* Custom Form Validation Styles */
.was-validated .form-control:valid {
    border-color: #00ff88;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%2300ff88' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E"); /* Adjusted SVG color */
}

.was-validated .form-control:invalid {
    border-color: #ff4d4d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23ff4d4d' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linecap='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23ff4d4d' stroke='none'/%3E%3C/svg%3E"); /* Adjusted SVG color */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

header {
    text-align: center;
    margin-bottom: 4rem;
}

h1 {
    font-size: 3.5rem; /* Larger heading */
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #00ff88, #00a1ff); /* Retained gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(0,255,136,0.5); /* Subtle glow effect */
}

.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* More space between buttons */
    margin-bottom: 3rem;
}

.nav-button {
    padding: 1.2rem 2.5rem; /* Larger buttons */
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.4); /* Darker, more transparent background */
    border: 2px solid #00ff88; /* Vibrant border */
    color: #00ff88; /* Vibrant text color */
    border-radius: 10px; /* More rounded */
    box-shadow: 0 2px 5px rgba(0,255,136,0.2); /* Subtle glow */
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-button:hover {
    background: #00ff88; /* Fill on hover */
    color: #1a1a1a; /* Dark text on hover */
    box-shadow: 0 4px 10px rgba(0,255,136,0.4); /* Stronger glow on hover */
    transform: translateY(-3px);
}

.nav-button.active {
    background: #00ff88; /* Active state */
    color: #1a1a1a;
    border-color: #00ff88;
}

.rule-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #4a4a4a; /* Darker tab border */
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    color: #e0e0e0;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-button:hover {
    color: #00ff88;
    border-color: #00ff88;
}

.tab-button.active {
    color: #00ff88;
    border-color: #00ff88;
    font-weight: bold;
}

.rule-content {
    background-color: #2d2d2d; /* Darker content background */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin-top: 2rem;
}

.rule-content.active {
    display: block;
}

.rule-content h2 {
    font-size: 2.2rem;
    color: #00ff88;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #4a4a4a;
    padding-bottom: 0.5rem;
}

.rule-content h3 {
    font-size: 1.8rem;
    color: #00a1ff; /* Secondary highlight color */
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.rule-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.rule-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.rule-content li {
    background-color: #3a3a3a; /* Darker list item background */
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    border-left: 3px solid #00ff88; /* Highlight border */
    transition: all 0.3s ease;
}

.rule-content li:hover {
    background-color: #4a4a4a;
    border-left-color: #00a1ff;
    transform: translateX(5px);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rule-section {
    background-color: #2d2d2d;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #3a3a3a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.rule-section h3 {
    font-size: 1.6rem;
    color: #00ff88;
    margin-bottom: 0.8rem;
}

.rule-section p {
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.rule-section ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 0.8rem;
}

.rule-section li {
    margin-bottom: 0.4rem;
    color: #e0e0e0;
}

.consequences-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.consequences-table th,
.consequences-table td {
    border: 1px solid #4a4a4a; /* Darker table borders */
    padding: 0.8rem;
    text-align: left;
}

.consequences-table th {
    background-color: #3a3a3a;
    color: #00ff88;
}

.consequences-table tr:hover {
    background-color: #4a4a4a;
}

.footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid #333;
}

/* Hero Section Styles */
.hero-section {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1500x500/1a1a1a/ffffff?text=Your+Awesome+RP+Server') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    border-radius: 10px;
    margin-bottom: 60px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 4.5em; /* Larger title */
    color: #00ff88; /* Vibrant title color */
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    animation: fadeInDown 1s ease-out;
}

.hero-section p {
    font-size: 1.5em; /* Larger text */
    color: #e0e0e0;
    max-width: 900px;
    margin: 0 auto 40px auto;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.scroll-down {
    background-color: #00a1ff; /* Different color for scroll button */
    border-color: #00a1ff;
    padding: 15px 30px; /* Larger button */
    font-size: 1.1em;
    animation: zoomIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.scroll-down:hover {
    background-color: #007bff; /* Darker on hover */
    border-color: #007bff;
    transform: translateY(-3px); /* Subtle lift effect */
}

/* Main Content Styles for Startpage */
.main-content-startpage {
    padding: 40px 0;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Wider columns */
    gap: 40px; /* More space between cards */
    margin-bottom: 60px;
}

.rule-card {
    animation-delay: 0.9s; /* Delay for rule card */
}

.shop-card {
    animation-delay: 1.2s; /* Delay for shop card */
}

.rule-card, .shop-card {
    text-align: center;
    padding: 40px;
}

.rule-card h2, .shop-card h2 {
    color: #00ff88;
    margin-bottom: 20px;
    font-size: 2em;
}

.card-buttons .nav-button {
    display: inline-block;
    margin: 10px 8px;
    padding: 12px 25px; /* Larger buttons */
    font-size: 1.05em;
    border-radius: 8px;
}

.about-section {
    background-color: #252525; /* Slightly different dark background */
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 1.5s forwards; /* Apply animation with delay */
    opacity: 0; /* Start invisible */
}

.about-section h2 {
    color: #00ff88;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.about-section p {
    color: #e0e0e0;
    margin-bottom: 25px;
    font-size: 1.15em;
    line-height: 1.8;
}

.discord-button {
    background-color: #7289da; /* Discord brand color */
    border-color: #7289da;
    padding: 15px 30px;
    font-size: 1.1em;
}

.discord-button:hover {
    background-color: #5b6eae; /* Darker Discord color on hover */
    border-color: #5b6eae;
    transform: translateY(-3px); /* Subtle lift effect */
}

/* Keyframe Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3.5em;
    }

    .hero-section p {
        font-size: 1.2em;
    }

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

@media (max-width: 768px) {
    .hero-section {
        padding: 70px 15px;
    }

    .hero-section h1 {
        font-size: 2.8em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .card {
        padding: 30px;
    }

    .rule-card h2, .shop-card h2 {
        font-size: 1.8em;
    }

    .about-section {
        padding: 30px;
    }

    .about-section h2 {
        font-size: 2em;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2em;
    }

    .hero-section p {
        font-size: 0.9em;
    }

    .card-buttons .nav-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .discord-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
} 