/* Krundi.co - Game Registration Platform Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    border-radius: 5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .main {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-text .sub {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: normal;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: #e9ecef;
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #495057;
}

/* Main Content */
main {
    padding: 3rem 0;
    min-height: 80vh;
}

.hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 4rem;
    border-radius: 0 0 20px 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
}

/* Content Sections */
.content-section {
    background: white;
    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #2d3436;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    border-bottom: 4px solid #74b9ff;
    padding-bottom: 1rem;
    line-height: 1.3;
    text-align: center;
}

.content-section h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3rem;
    color: #2d3436;
    line-height: 1.2;
}

.content-section h3 {
    color: #636e72;
    margin: 2.5rem 0 1.5rem 0;
    font-size: 1.8rem;
    line-height: 1.4;
}

.content-section p {
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.feature-card h3 {
    color: #2d3436;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.3;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.feature-card img {
    width: 100%;
    height: auto;
    max-height: 250px;
    min-height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: block;
}

/* FAQ Styles */
.faq-item {
    background: white;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.faq-question {
    background: #f8f9fa;
    padding: 1.5rem;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: bold;
    color: #2d3436;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    line-height: 1.4;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    background: white;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-answer.active {
    display: block;
}

/* Footer */
footer {
    background: #2d3436;
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.footer-links a:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

/* 404 Page Styles */
.error-page {
    text-align: center;
    padding: 4rem 0;
}

.error-page h1 {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.error-page h2 {
    color: #2d3436;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 35px;
        margin-right: 8px;
    }
    
    .logo-text .main {
        font-size: 1.2rem;
    }
    
    .logo-text .sub {
        font-size: 0.7rem;
    }
    
    .hero {
        padding: 3rem 0;
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .content-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
    }
    
    .feature-card {
        min-height: 350px;
        padding: 2rem;
    }
    
    .feature-card img {
        max-height: 200px;
        min-height: 120px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }
    
    .logo img {
        height: 30px;
        margin-right: 6px;
    }
    
    .logo-text .main {
        font-size: 1rem;
    }
    
    .logo-text .sub {
        font-size: 0.6rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .content-section {
        padding: 1.5rem 1rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .content-section h3 {
        font-size: 1.3rem;
    }
    
    .feature-card {
        min-height: 320px;
        padding: 1.5rem;
    }
    
    .feature-card img {
        max-height: 180px;
        min-height: 100px;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid #74b9ff;
    outline-offset: 2px;
}

/* Schema.org structured data styles */
.structured-data {
    display: none;
}
