/*
Theme Name: Cailiao
Theme URI: https://www.example.com/themes/cailiao
Author: Cailiao Team
Author URI: https://www.example.com
Description: 一个专门为彩票资料网站设计的WordPress主题。
Version: 1.2.1
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cailiao
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* 
此文件主要包含主题信息和版本号，
实际样式内容在css目录的各个模块文件中
*/

/* 确保CSS变量在整个主题中可用 */
:root {
  --primary-color: #3976cb;
  --primary-hover: #2c5c9c;
  --secondary-color: #e74c3c;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --background-light: #f8f9fa;
  --border-color: #e5e5e5;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --danger-color: #e74c3c;
  --info-color: #3498db;
}

/* 重置样式 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* 基本HTML5布局元素显示为块级元素 */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* 基本排版设置 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--background-light);
}

/* 链接样式 */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.nav-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.nav-button {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
}

.nav-button:hover {
  background-color: var(--primary-hover);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .nav-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .nav-button {
    margin: 5px;
    font-size: 14px;
    padding: 6px 12px;
  }
}

/* 辅助类 */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.text-center {
  text-align: center;
} 