/* Golden Clover Game — shared stylesheet */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    color: #333333;
    line-height: 1.6;
}

a { color: #FF5722; text-decoration: none; transition: color 0.3s; }
a:hover { color: #1e73be; }
a:focus, .btn:focus { outline: 2px solid #FF5722; outline-offset: 2px; }

.site-header {
    background-color: #ffffff;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}
.site-branding h1 { font-size: 2em; color: #1e73be; }
.site-branding p { color: #555555; margin-top: 5px; font-size: 1em; }

.main-navigation { margin-top: 10px; }
.main-navigation ul {
    list-style: none; display: flex; justify-content: center;
    gap: 15px; flex-wrap: wrap;
}
.main-navigation ul li a {
    font-size: 1em; padding: 5px 10px; border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}
.main-navigation ul li a:hover { background-color: #FF5722; color: #ffffff; }

.container {
    display: flex; max-width: 1200px; margin: 20px auto;
    padding: 0 20px; gap: 20px;
}
.content-area { flex: 3; }

.site-main article {
    background-color: #ffffff; padding: 20px; margin-bottom: 20px;
    border: 1px solid #ddd; border-radius: 5px; transition: box-shadow 0.3s;
}
.site-main article:hover { box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

.entry-title {
    text-align: center; position: relative; padding-bottom: 10px;
    margin-bottom: 20px; font-size: 2em; color: #1e73be;
}
.entry-title::after {
    content: ''; display: block; width: 60px; height: 3px;
    background-color: #FF5722; margin: 10px auto 0; border-radius: 2px;
}
.entry-summary p { margin-bottom: 15px; color: #555555; }

.btn-container { display: flex; justify-content: center; margin-top: 20px; }
.btn {
    display: inline-block; padding: 15px 30px; background-color: #FF5722;
    color: #ffffff; border: none; border-radius: 5px; cursor: pointer;
    transition: background-color 0.3s, transform 0.3s; text-align: center;
    text-decoration: none; font-size: 1.2em; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn:hover { background-color: #e64a19; transform: scale(1.05); }

.widget-area {
    flex: 1; background-color: #ffffff; padding: 20px;
    border: 1px solid #ddd; border-radius: 5px;
}
.widget { margin-bottom: 20px; }
.widget-title {
    font-size: 1.2em; margin-bottom: 10px; border-bottom: 1px solid #ddd;
    padding-bottom: 5px; color: #1e73be;
}

.game-info-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.game-info-item {
    display: flex; align-items: center; background-color: #f9f9f9;
    padding: 10px; border-radius: 5px; transition: background-color 0.3s, transform 0.3s;
}
.game-info-item:hover { background-color: #e0e0e0; transform: translateY(-2px); }
.game-info-icon { font-size: 1.5em; margin-right: 10px; color: #FF5722; flex-shrink: 0; }
.game-info-text { display: flex; flex-direction: column; }
.game-info-text span { font-size: 0.95em; color: #555555; }
.game-info-text strong { color: #1e73be; }

.related-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.related-list li a {
    display: block; padding: 8px 10px; background-color: #f9f9f9;
    border: 1px solid #ddd; border-radius: 5px; color: #1e73be;
}
.related-list li a:hover { background-color: #FF5722; color: #fff; }

/* Homepage hub: slot cards grid */
.slots-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.slot-card {
    background-color: #ffffff; border: 1px solid #ddd; border-radius: 8px;
    padding: 18px; transition: box-shadow 0.3s, transform 0.3s; text-align: center;
}
.slot-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.12); transform: translateY(-3px); }
.slot-card h3 { color: #1e73be; margin-bottom: 6px; }
.slot-card .slot-meta { font-size: 0.85em; color: #777; margin-bottom: 10px; }
.slot-card a.card-link { display: inline-block; margin-top: 8px; font-weight: bold; }

.site-footer {
    background-color: #ffffff; padding: 20px; border-top: 1px solid #ddd;
    text-align: center; font-size: 0.9em; color: #575760;
}
.age-notice { display: block; margin-top: 10px; font-size: 0.85em; color: #999; }

article section { margin-bottom: 20px; }
article section h3 { font-size: 1.5em; color: #1e73be; margin-bottom: 10px; margin-top: 10px; }
article section h4 { font-size: 1.2em; color: #FF5722; margin-bottom: 5px; }
article section dl dt { font-weight: bold; color: #1e73be; margin-top: 10px; }
article section dl dd { margin-left: 20px; color: #555555; }
article section ul, .entry-summary ul { margin: 10px 0 10px 20px; color: #555555; }

img { max-width: 100%; height: auto; display: block; }

@media (max-width: 768px) {
    .container { flex-direction: column; }
    .main-navigation ul { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; }
    .main-navigation ul li a { flex: 1 0 auto; text-align: center; }
}
