/* Club Penguin Webring Styles */

@font-face {
  font-family: "Burbank Big Condensed";
  src: url("../fonts/BurbankBigCondensed.otf") format("opentype");
}

@font-face {
  font-family: "BurbankSmall";
  src: url("../fonts/BurbankSmall.ttf") format("truetype");
}

/* CSS Reset */
html,
body,
body div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

article,
aside,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}

img,
object,
embed {
  max-width: 100%;
}

ul {
  list-style: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Body Styles */
body {
  font-family: "Arial", "BurbankSmall", sans-serif;
  color: #555;
  margin: 0;
  padding: 0;
  background: #0186b1 url(../images/assets/clubpenguin/body-ocean-bg.jpg) no-repeat scroll 50% 0;
  min-height: 100vh;
  font-size: small;
  min-width: 1022px;
  position: relative;
}

/* Snow Effect */
.snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.snowflake {
  position: absolute;
  top: -20px;
  color: white;
  user-select: none;
  animation: fall linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(100vh);
  }
}

#masthead {
  width: 100%;
  height: 130px;
  text-align: center;
  position: relative;
  z-index: 101;
  background: transparent url(../images/assets/clubpenguin/bg-top-nav.jpg) top
    center repeat-x;
}

#masthead a.logo {
  position: absolute;
  left: -95px;
  top: -7px;
  display: block;
  width: 315px;
  height: 127px;
  background: transparent url(../images/assets/clubpenguin/logo-large.png) top
    left no-repeat;
  z-index: 999;
}

#masthead a:hover {
  color: #fff;
  text-decoration: none;
}

#masthead a, #masthead a:link, #masthead a:visited {
  color: #ececec;
  text-decoration: none;
}

#masthead #nav {
  width: 980px;
  position: relative;
  margin: 0 auto;
  text-align: middle;
  left: 0;
  z-index: 100;
  background: transparent url(../images/assets/clubpenguin/top-bar.jpg) top
    center no-repeat;
  height: 130px;
}

#masthead #nav ul {
  width: 100%;
  height: 35px;
  margin: 0 auto;
  display: block;
  padding: 15px 0 0 0;
  position: absolute;
  left: 0;
  top: 4px;
}

#masthead #nav ul.blogscroll {
  top: 78px;
}

#nav ul li {
  display: inline-block;
}

#masthead #nav ul.cpmenu li a {
  display: inline;
  padding: 10px 8px;
  margin: 0 2px 0;
  float: left;
  position: relative;
  color: #ececec;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  background: transparent;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
}

#masthead #nav ul.cpmenu li a {
  color: #ececec;
  font-size: 17px;
  font-weight: bold;
}

#masthead #nav ul.blogscroll li {
  display: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
}

#masthead #nav ul.blogscroll li a:hover {
  color: #ffbe06;
}
#masthead #nav ul.cpmenu li a:hover,
#masthead #nav ul.cpmenu li.current a {
  color: #fff;
  background: #0067b9;
}

#masthead #nav #play-now {
  display: block;
  width: 158px;
  height: 63px;
  position: absolute;
  right: 0;
  top: 50px;
  text-indent: -9999px;
  line-height: 0;
}

#masthead #nav #play-now:hover {
  background-position: 0 -63px !important;
}

#masthead a.logo:hover {
  background-position: 0 -150px;
}

/* Selection Styles */
::-moz-selection {
  background: #fcd700;
  color: #fff;
  text-shadow: none;
}

::selection {
  background: #fcd700;
  color: #fff;
  text-shadow: none;
}

a:link {
  -webkit-tap-highlight-color: #fcd700;
}

/* Wrapper */
#wrapper {
  min-width: 980px;
  width: 100%;
}

#w980 {
  width: 980px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  -moz-box-shadow: 0 -5px 80px 1px #011f41;
  -webkit-box-shadow: 0 -5px 80px 1px #011f41;
  box-shadow: 0 -5px 80px 1px #011f41;
}

/* Content Wrapper */
#contentWrap {
  margin: 0;
  height: auto;
  width: 900px;
  background: #fff url(../images/assets/clubpenguin/sub_inner_bg.gif) 0 0 no-repeat;
  border-left: 3px solid #013a69;
  border-right: 3px solid #013a69;
  color: #555;
  position: relative;
  top: 0px;
  left: 58px;
}

#centerWrap {
  position: relative;
  width: 1022px;
  margin: 0 auto;
  z-index: 20;
}

/* Blog Container Styles */
.cp-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.padd {
  min-height: 500px;
  padding: 25px;
}

/* Blog Entry Styles */
.blog_entry {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  margin-bottom: 20px;
}

.blog_copy {
  margin: 10px 5px 10px 5px;
  line-height: 1.6;
}

.blog_divider {
  height: 1px;
  font-size: 1px;
  line-height: 1px;
  border-bottom: 2px solid #e3e3e3;
  margin: 10px 0 10px 0;
}

/* Header */
.cp-header {
  text-align: center;
  margin-bottom: 30px;
}

.cp-logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 15px;
}

.cp-title {
  font-size: 2.5em;
  color: #00529b;
  margin-bottom: 10px;
  font-weight: bold;
}

.cp-subtitle {
  font-size: 1.2em;
  color: #00529b;
  font-style: italic;
}

/* Player Card - Blog Style */
.playercard-container {
  margin-bottom: 30px;
}

.playercard {
  background-color: transparent;
  padding: 20px;
}

.playercard-header {
  margin-bottom: 20px;
}

.playercard-header h2 {
  font-size: 1.8em;
  margin: 0;
  color: #003d5c;
  padding-bottom: 10px;
  border-bottom: 2px solid #e3e3e3;
}

.playercard-content {
  padding: 20px 0;
}

.welcome-text {
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #555;
}

/* Info Boxes Container */
.info-boxes-container {
  display: flex;
  gap: 20px;
  margin: 0px 0;
}

.info-boxes-container .info-box {
  flex: 1;
  margin: 0;
}

.widget-container {
  display: flex;
  gap: 20px;
  margin: 0px 0;
  align-items: flex-start;
}

.widget-container .widget-section,
.widget-container .ring-navigation {
  flex: 1;
}

/* Info Boxes - Blog Style */
.info-box {
  background: url('../images/assets/clubpenguin/bluebg.gif');
  padding: 20px;
  margin: 15px 0;
}

.info-box h3 {
  color: #003d5c;
  margin-bottom: 15px;
  font-size: 1.3em;
  font-weight: bold;
}

.info-box p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.join-list,
.rules-list {
  list-style: none;
  padding-left: 0;
  margin: 10px 0;
}

.join-list li,
.rules-list li {
  padding: 5px 0;
  color: #555;
  line-height: 1.4;
}

/* Widget Section - Blog Style */
.widget-section {
  margin: 20px 0;
  background-color: transparent;
  padding: 20px;
}

.widget-section h3 {
  color: #003d5c;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 1.3em;
}

.widget-code {
  width: 100%;
  padding: 10px;
  background: #2c3e50;
  color: #00ff00;
  border: 2px solid #003d5c;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  resize: vertical;
}

/* Ring Navigation - Blog Style */
.ring-navigation {
  background: #fff;
  padding: 20px;
  margin-top: 20px;
}

.ring-navigation h3 {
  color: #003d5c;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 1.3em;
}

/* Members Section - Blog Style */
.members-section {
  background-color: transparent;
  margin-bottom: 30px;
}

.members-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e3e3e3;
}

.members-header h2 {
  font-size: 2em;
  color: #003d5c;
  margin-bottom: 10px;
  font-weight: bold;
}

.member-count {
  font-size: 1.2em;
  color: #0066a1;
  font-weight: bold;
}

/* Members Grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 30px;
  margin-top: 20px;
  justify-items: center;
}

.member-card {
  font-family: Arial, sans-serif;
  width: 295px;
  height: 428px;
  margin: auto;
  position: relative;
}

.member-card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.member-icon {
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  object-fit: cover;
  z-index: 1;
  background: #00529b;
}

.member-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/assets/clubpenguin/playercard.png') no-repeat center;
  background-size: contain;
  z-index: 2;
  pointer-events: none;
}

.member-info {
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0 20px;
  color: #000;
  z-index: 3;
}

.member-name {
  font-size: 1.4em;
  font-weight: bold;
}

.member-title {
  font-size: 0.95em;
  color: #0066a1;
  margin-bottom: 10px;
}

.member-nav {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  align-items: center;
  z-index: 3;
}

.member-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  text-decoration: none;
  color: transparent;
  width: 189px;
  height: 63px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.member-link:hover {
  opacity: 0.8;
}

.member-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  text-decoration: none;
  color: transparent;
  width: 38px;
  height: 38px;
  background-size: contain;
  background-repeat: no-repeat;
}

.member-visit:hover {
  opacity: 0.8;
}

.membership-badge {
  position: absolute;
  top: 35px;
  left: 16%;
  transform: translateX(-50%);
  width: 62px;
  z-index: 3;
}

.adult-badge {
  position: absolute;
  top: 35px;
  right: 12%;
  transform: translateX(50%);
  z-index: 3;
  image-rendering: pixelated;
}

/* Footer */
.cp-footer {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #003d5c;
  margin-top: 20px;
}

.cp-footer p {
  margin: 5px 0;
  color: #555;
  font-size: 0.9em;
}

/* Modal Styles */
#modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 1000;
}

#modal-window {
  display: none;
  position: absolute;
  z-index: 1001;
}

a#modal-close {
  position: absolute;
  right: -18px;
  top: -18px;
  background: url(../images/assets/clubpenguin/btn_close.png) top left no-repeat;
  width: 44px;
  height: 44px;
  text-indent: -9999px;
  line-height: 0;
}

a#modal-close:hover {
  -moz-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .cp-title {
    font-size: 1.8em;
  }

  .playercard {
    padding: 30px 15px;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }
}






